Snort.org home  
Got Source? About Snort About Sourcefire Snort FAQ
Sourcefire Network Security - the creators of Snort

Snort Forums Archive

Archive Home » Linux » barnyard failes connecting to mysql on boot

Please note that the categories listed below represent an archived version of our forums pages. To view the current version and be able to post and reply to threads, please register and login here to go to the full forums pages.

[ Notice: Full Version of This Topic ]

barnyard failes connecting to mysql on boot


Posted by alon on October 31, 2006 22:52:23

hi i have setup a snort 2.6 + barnyard + central mysql on ubuntu 6.06
im using a startup script for snort and barnyard.
when barnyard is activated during boot it always fails saying it can't connect to mysql database (113) ... but after boot i have no problem starting it manually ...
any ideas ??

Posted by duh on November 01, 2006 12:05:06

Is barnyard starting before mysql does?
My guess is mysql isnt all the way loaded, or is later in line after barnyard.

Posted by alon on November 03, 2006 10:49:39

im running mySQL on a different server that gets alerts from several sensors ...
i saw that in an old thread someone put a sleep before barnyard starts ... but thats not a soultion ....


thanks ...