anupamk
October 24th, 2009, 06:21 PM
I am running ubuntu server 9.04 as a vmware instance. When I try to start snort process, it is unable to start properly. Command : /etc/init.d/snort status states that it says failed.
error message in daemon.log under /var/log folder displays following error message :
snort[8443]: database: must enter database name in the configuration file.
Fatal Error.
++++++++++++++
I have already carried out following steps to fix the problem:
a) reinstall Snort-MySQL with all affected packages several times.
b) recreated a root mysql user and tried to use that instead of root user. I was able to connect using that user via phpmyadmin or mysql directly and grant / persmissions also looked correct.
c) change the order from:
output database: log, mysql, user=snort password=
dbname=snort_log host=localhost
to read
output database: log, mysql, dbname=snort_log
user=snort password= host=localhost
but that also did not help. In some forum is stated that it fixed the problem in his case.
I have spend more than 7-8 hours to fix the issue but have not been able to make any progress..
I would really appreciate any help on this front.
Thnks
Rgds
Anupam
error message in daemon.log under /var/log folder displays following error message :
snort[8443]: database: must enter database name in the configuration file.
Fatal Error.
++++++++++++++
I have already carried out following steps to fix the problem:
a) reinstall Snort-MySQL with all affected packages several times.
b) recreated a root mysql user and tried to use that instead of root user. I was able to connect using that user via phpmyadmin or mysql directly and grant / persmissions also looked correct.
c) change the order from:
output database: log, mysql, user=snort password=
dbname=snort_log host=localhost
to read
output database: log, mysql, dbname=snort_log
user=snort password= host=localhost
but that also did not help. In some forum is stated that it fixed the problem in his case.
I have spend more than 7-8 hours to fix the issue but have not been able to make any progress..
I would really appreciate any help on this front.
Thnks
Rgds
Anupam