From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 18:28:46 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 8C6FB16A417 for ; Tue, 4 Dec 2007 18:28:46 +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 10ED113C478 for ; Tue, 4 Dec 2007 18:28:45 +0000 (UTC) (envelope-from freebsd-questions@slightlystrange.org) Received: by catflap.slightlystrange.org (Postfix, from userid 106) id CE5C06108; Tue, 4 Dec 2007 18:28:44 +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 7E2CD60E2 for ; Tue, 4 Dec 2007 18:28:44 +0000 (GMT) Received: (from danielby@localhost) by torus.slightlystrange.org (8.14.2/8.13.4/Submit) id lB4IShiN046730 for freebsd-questions@freebsd.org; Tue, 4 Dec 2007 18:28:43 GMT (envelope-from freebsd-questions@slightlystrange.org) Date: Tue, 4 Dec 2007 18:28:42 +0000 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20071204182842.GA27991@torus.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <200712032204.17941.lists-fbsd@shadypond.com> <20071204151132.GA1438@torus.slightlystrange.org> <200712041806.02766.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: <200712041806.02766.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 18:28:46 -0000 --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 04, 2007 at 06:06:00PM +0000, Pollywog wrote: > On Tuesday 04 December 2007 15:11:32 Daniel Bye wrote: >=20 > > > > 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 > What exactly does this do? It worked. >=20 > I first tried adding 'sleep 2' to the script as suggested in another repl= y. I=20 > thought that would work, but it did not. >=20 > thanks to all who replied. Check out the manual for rcorder(8), and look at the CAPITALISED files in /etc/rc.d.=20 Essentially, LOGIN is a dummy service - it is used to control startup=20 of services that should start late in the boot process. The jabberd control script told rcorder(8) that it should run *before* the LOGIN service, but the MySQL control script tells rcorder(8) that it wants to run *after* the LOGIN service. So although you had REQUIRE: mysql in jabberd's script, it was still getting run before MySQL. I guess. ;-) You can determine what order things get run by doing # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* Anyway, glad it worked. You might want to get in touch with the jabberd maintainer and see if he is willing to make the change permanent. Dan --=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) iD8DBQFHVZxaixf5fBYiFmoRAjicAKCPVpKxjmaYeu44SoJwM4R9A8w6KQCdHnm+ x85C9o3BGl0UzaSaX5zuCao= =8w+X -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx--