fails on boot when using mysql
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Jabberd |
Triaged
|
Medium
|
MOTU | ||
NULL Project |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am using the package in lucid (2.2.8-2ubuntu4). I have jabberd2 correctly configured to use mysql, and if I load everything myself after the system has booted, jabberd2 works great. However, when jabberd2 tries to load on boot, c2s fails with this message in the log:
[info] loading 'mysql' authreg module
[error] mysql: connection to database failed: Can't connect to local MySQL server through socket '/var/run/
[error] failed to initialize auth module 'mysql'
It then never fully loads jabberd2 (only s2s and router are running on boot), until I manually do it.
From what I can tell, mysql (which now in lucid is loading through upstart) hasn't actually started yet. Once the system has fully loaded, I have verified that the mysql socket does indeed exist in that location. It would seem that either jabberd2 needs to be ported to use upstart, or have something set in its init to check for mysql.
Changed in jabberd2: | |
assignee: | nobody → MOTU (motu) |
Changed in jabberd2: | |
importance: | Undecided → Medium |
status: | New → Triaged |
There's no evidence presented here that this is a bug in the Upstart upstream code