Re: supervise not running

concatenate <[email protected]>
Newsgroups gmane.network.djbdns
Message-ID <[email protected]>
On Sat, Sep 13, 2008 at 8:05 AM, Daryl Tester
<[email protected]> wrote:
> Larry Weldon wrote:
>
>>>>> Run "svscan /service" from the command line as root to see if any
>>>>> errors are being directly reported.
>
>>>> OK. That works but it doesn't show anything which was not already
>>>> detailed in my first post.
>

I don't think anyone has pointed this out yet, apologies if I missed it...

Don't forget that init reads the inittab top to bottom. If your rc
script (not the stuff in /etc/rc?.d but /etc/init.d/rc or whatever
your system uses to actually run those scripts) doesn't complete, then
init will never get to your svscanboot entry. See if rc.local or
something like that never completes. The process list will show the
existence of /etc/init.d/rc (or equivalent) if this is happening to
you.

You could always put the svcanboot inittab entry near the top as a
test, but don't leave it that way. There's a good chance your services
started by daemontools won't work properly, since things like DNS,
routes, even local filesystems might not be there since all the init
scripts haven't run yet. svscanboot will start though, and you'll know
if you're having this problem.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.