From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 15:11:36 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 718C216A418 for ; Tue, 4 Dec 2007 15:11:36 +0000 (UTC) (envelope-from freebsd-questions@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc5-cmbg1-0-0-cust497.cmbg.cable.ntl.com [86.6.1.242]) by mx1.freebsd.org (Postfix) with ESMTP id 2820813C46B for ; Tue, 4 Dec 2007 15:11:36 +0000 (UTC) (envelope-from freebsd-questions@slightlystrange.org) Received: by catflap.slightlystrange.org (Postfix, from userid 106) id 1CDFF6108; Tue, 4 Dec 2007 15:11:35 +0000 (GMT) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by catflap.slightlystrange.org (Postfix) with ESMTP id 93FA860E2 for ; Tue, 4 Dec 2007 15:11:34 +0000 (GMT) Received: (from danielby@localhost) by torus.slightlystrange.org (8.14.2/8.13.4/Submit) id lB4FBWS4027986 for freebsd-questions@freebsd.org; Tue, 4 Dec 2007 15:11:32 GMT (envelope-from freebsd-questions@slightlystrange.org) Date: Tue, 4 Dec 2007 15:11:32 +0000 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20071204151132.GA1438@torus.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <200712032204.17941.lists-fbsd@shadypond.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx" Content-Disposition: inline In-Reply-To: <200712032204.17941.lists-fbsd@shadypond.com> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A Subject: Re: jabberd will not start on reboot, only starts manually X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2007 15:11:36 -0000 --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--