I've set up a jabberd2 server pretty much the default way, afaik. I connects to mysql for storings its... things. All is cool, everything works... Until the server needs a reboot.
In the logs, I get things like this:
Code:
Fri Mar 8 10:01:21 2013 [info] loading 'mysql' authreg module
Fri Mar 8 10:01:21 2013 [error] mysql: connection to database failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Fri Mar 8 10:01:21 2013 [error] failed to initialize auth module 'mysql'
When I retry starting jabberd2, it works beautifully. This leads me to believe that everything is in fact working perfectly fine, except that jabberd2 is trying to start itself before mysql has started.
So mysqld needs to be running and fully operational before jabberd2 can start.
Is there a way to add this kind of dependency?
Bookmarks