Tikejhya: Ashish Nepal

Knowledgebase

Category: SNORT

database: mysql_error: Table ‘snort.sensor’ doesn’t exist

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

Solution:

mysql snort < /usr/local/src/barnyard2-1.9/schemas/create_mysql

Read More

Snort install: no destination specified make: *** [install] Error 1

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

snort
install: no destination specified make: *** [install] Error 1

check Makefile There should be MAN_PREFIX not specified change it to

MAN_PREFIX = /usr/share/doc/

snort: error while loading shared libraries: libdnet.1

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

snort: error while loading shared libraries: libdnet.1: cannot open shared object file: No such file or directory

In some linux installations, you may have /usr/lib/iX86-linux and snort is trying to find on this path the content of /usr/local/lib. If you want to know where is snort trying to get the libraries, use $strace snort and verify the path.

In my case works
$ LD_LIBRARY_PATH=/usr/local/lib
$ export LD_LIBRARY_PATH

ln -s works in some condition.

lets say you have library @ /usr/local/lib but its searching for /usr/lib

ln -s /usr/log/lib/libdnet* /usr/lib/

ERROR! Libpcre header not found.

ERROR! Libpcre header not found.
Get it from http://www.pcre.org

Solution:

yum install pcre-devel

ERROR! zlib header not found, go get it from
http://www.zlib.net

Solution:
yum install zlib-deve

configure: error: Your operating system’s lex is insufficient to compile

Error

configure: error: Your operating system’s lex is insufficient to compile
libpcap. flex is a lex replacement that has many advantages, including
being able to compile libpcap. For more information, see

Solution

yum install flex
yum install bison

configure: error: C++ preprocessor “/lib/cpp” fails sanity check

Error:

configure: error: C++ preprocessor “/lib/cpp” fails sanity check

Solution:

yum install gcc-c++

SNORT (ERROR: unable to find mysqlclient library (libmysqlclient.*)

**********************************************
ERROR: unable to find mysqlclient library (libmysqlclient.*)
checked in the following places
/usr
/usr/lib
/usr/mysql
/usr/mysql/lib
/usr/lib/mysql
/usr/local
/usr/local/lib
/usr/local/mysql
/usr/local/mysql/lib
/usr/local/lib/mysql
**********************************************
Solution

[root@my barnyard2-1.9]# ./configure –with-mysql-libraries=/usr/lib64/mysql/

NOTE: my libraries are @ given location.

If,. error says

**********************************************
ERROR: unable to find mysql headers (mysql.h)
checked in the following places

Check for mysql.h if nothing appears may be you dont have mysql-devel isntalled.

make: *** [install-recursive] Error 1

make[2]: *** [install-pkglibLTLIBRARIES] Error 1
make[2]: Leaving directory `/usr/local/src/daq-0.6.1/os-daq-modules’
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/local/src/daq-0.6.1/os-daq-modules’
make: *** [install-recursive] Error 1

Could be you are already as root user but never trust :p come back as root use and do it should be fine.

Invalid configuration `x86_64-pc-linux-gnu’: machine `x86_64-pc’ not recognized

Problem:

## ./configure
checking host system type… Invalid configuration `x86_64-pc-linux-gnuoldld’: machine `x86_64-pc’ not recognized
configure: warning: apparently your OS is not officially supported yet
configure: warning: this may not work
you’ll have to edit the makefile by hand

Solution:
edit file config.sub, add “x86_64-*” here:

# Decode aliases for certain CPU-COMPANY combinations.
case $basic_machine in

# Recognize the basic CPU types with company name.
vax-* | tahoe-* | i[3456]86-* | x86_64-* | i860-* | m68k-* | m68000-* | m88k-*

Powered by WordPress & Theme by Anders Norén