← Back to team overview

registry team mailing list archive

[Bug 574575] [NEW] fails on boot when using mysql

 

You have been subscribed to a public bug:

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/mysqld/mysqld.sock' (2)
[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.

** Affects: jabberd2
     Importance: Undecided
     Assignee: MOTU (motu)
         Status: New

** Affects: null
     Importance: Undecided
         Status: Invalid


** Tags: jabberd2 mysql upstart
-- 
fails on boot when using mysql
https://bugs.edge.launchpad.net/bugs/574575
You received this bug notification because you are a member of Registry Administrators, which is the registrant for NULL Project.