Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2007 15:11:32 +0000
From:      Daniel Bye <freebsd-questions@slightlystrange.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: jabberd will not start on reboot, only starts manually
Message-ID:  <20071204151132.GA1438@torus.slightlystrange.org>
In-Reply-To: <200712032204.17941.lists-fbsd@shadypond.com>
References:  <200712032204.17941.lists-fbsd@shadypond.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--dDRMvlgZJXvWKvBx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Dec 03, 2007 at 10:04:16PM +0000, Pollywog wrote:
> I am running FreeBSD 6.2 with Jabberd installed from ports:
> jabberd-2.1.18
>=20
>=20
> When I reboot the machine, jabberd will not start, but it will start if I=
=20
> manually restart it with /usr/local/etc/rc.d/jabberd restart
>=20
> /var/log/messages shows:
>=20
> jabberd/c2s[989]: mysql: connection to database failed: Can't connect to =
local=20
> MySQL server through socket '/tmp/mysql.sock' (2)
> jabberd/c2s[989]: failed to initialize auth module 'mysql'
>=20
> I added 'mysql' to the REQUIRED line in the startup script for jabberd bu=
t=20
> this did not solve the problem.  It still appears as though jabberd attem=
pts=20
> to connect to mysql before mysql is ready for the connection.
>=20
> Can anyone assist with this problem?

Try removing the # BEFORE: LOGIN line from the jabberd control script.
I haven't tested it, but from a cursory glance at the respective control
scripts, it feels like a sane first guess...

--=20
Daniel Bye
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \

--dDRMvlgZJXvWKvBx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHVW4jixf5fBYiFmoRAhq1AKDaXl83AyYlhSeMf+RE3XM7Z5e9PwCfcuTT
OrQ0ZglLgeKBCG7oM6N8P1g=
=mmLh
-----END PGP SIGNATURE-----

--dDRMvlgZJXvWKvBx--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071204151132.GA1438>