Snort - Demarc - MySQL - ERROR
Hello....
I run a RedHad 7.2. I try to configure snort on it. With the demarc.org tool. But when I try to start it. This is what I got....???
Any idea??? It's look like my problem is in the database??
Please HELP!!!!! My sensor need to work before the end of the week. =o(
I'm totally confused. I'm a newbie with Snort and MySQL.
Thank you!
__________________________________________________
[root@localhost bin]# ./demarcd -I
THIS WILL ATTEMPT TO INSTALL A NEW SNORT SENSOR
Continue ? [Yn] Y
Database Username snort should use [snort]: root
Database Password snort should use: myDBpassword
Database Host snort should connect to (please use IP address, even 127.0.0.1 for localhost) [127.0.0.1]: 127.0.0.1
Database name snort should use [snort]: snort
Name of this sensor (should contain no spaces): snort
About to start snort so that it registers with the database, press Ctrl-C to exit...
Issuing: /usr/local/bin/snort -q -c /usr/local/demarc/conf/snort.conf
database: mysql_error: Table 'snort.sensor' doesn't exist
database: mysql_error: Table 'snort.sensor' doesn't exist
SQL=INSERT INTO sensor (hostname, interface, detail, encoding) VALUES ('snort','eth0','1','0')
database: mysql_error: Table 'snort.sensor' doesn't exist
database: Problem obtaining SENSOR ID (sid) from mysql->snort->sensor
When this plugin starts, a SELECT query is run to find the sensor id for the
currently running sensor. If the sensor id is not found, the plugin will run
an INSERT query to insert the proper data and generate a new sensor id. Then a
SELECT query is run to get the newly allocated sensor id. If that fails then
this error message is generated.
Some possible causes for this error are:
* the user does not have proper INSERT or SELECT privileges
* the sensor table does not exist
If you are _absolutly_ certain that you have the proper privileges set and
that your database structure is built properly please let me know if you
continue to get this error. You can contact me at (jed@pickel.net).
Fatal Error, Quitting..
snort: no process killed
Checking to see if it registered correctly...
/usr/bin/perl: error while loading shared libraries: /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBD/mysql/mysql.so: undefined symbol: mysql_init
______________________________________________
You Need more details???
|