Snort mailing list archives

Can't connect to db after upgrade


From: James Lay <jlay () slave-tothe-box net>
Date: Sat, 29 Dec 2007 13:19:43 -0700

Hey all!

After doing an upgrade to snort from 2.4 to 2.8, I now get:

Dec 29 13:10:56 gateway snort[16646]: FATAL ERROR: database: mysql_error:
Can't connect to MySQL server on '172.16.1.2' (110)

I can connect manually with:

[13:16:30 me@gateway:~$] mysql -u snort -p -D snort
Enter password: 
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 42 to server version: 5.0.21

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show tables;
+------------------+
| Tables_in_snort  |
+------------------+
| acid_ag          |
| acid_ag_alert    |
| acid_event       |
| acid_ip_cache    |
| base_roles       |
| base_users       |
| data             |
| detail           |
| encoding         |
| event            |
| icmphdr          |
| iphdr            |
| opt              |
| reference        |
| reference_system |
| schema           |
| sensor           |
| sig_class        |
| sig_reference    |
| signature        |
| tcphdr           |
| udphdr           |
+------------------+
22 rows in set (0.00 sec)

I am running chrooted.  Anything I can do to diagnose what the issue may be?
Thank you.

James
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

Current thread: