Date: Tue, 4 Dec 2007 18:28:42 +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: <20071204182842.GA27991@torus.slightlystrange.org> In-Reply-To: <200712041806.02766.lists-fbsd@shadypond.com> References: <200712032204.17941.lists-fbsd@shadypond.com> <20071204151132.GA1438@torus.slightlystrange.org> <200712041806.02766.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 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071204182842.GA27991>