Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 2008 13:24:21 +0200
From:      "Valentin Bud" <valentin.bud@gmail.com>
To:        bsd <bsd@todoo.biz>
Cc:        Liste FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Delay startup of services in rc.conf || elswhere
Message-ID:  <139b44430811180324u57b8c9d8k99e9cc275949bbf6@mail.gmail.com>
In-Reply-To: <1E519418-C8C4-4DD5-BFDC-F95158DA097E@todoo.biz>
References:  <1E519418-C8C4-4DD5-BFDC-F95158DA097E@todoo.biz>

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

 I once had a problem just like yours. I introduced at the end
of the mysql startup script from /usr/local/etc/rc.d a "sleep 10" command
and that did the trick.

all the best,
v

On Tue, Nov 18, 2008 at 1:05 PM, bsd <bsd@todoo.biz> wrote:
> Hello,
>
>
> I have a server configured to start 10 services at startup (in /etc/rc.co=
nf)
>
> Unfortunately, the startup of MySQL seems to be returning "ok" before It
> actually has started completely the program=85 the next program rely on M=
ySQL
> and does not start well because the database is not "fully" started.
>
> I would like to introduce something like a "sleep 10" timer in the servic=
e
> startup process=85
>
>
> How can I do that?
>
>
> =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=
=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF
> Gregober ---> PGP ID --> 0x1BA3C2FD
> bsd @at@ todoo.biz
> =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=
=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF
>
> P "Please consider your environmental responsibility before printing this
> e-mail"
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"
>



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