6.0, lighttpd not starting up on boot
Lowell Gilbert
freebsd-questions-local at be-well.ilk.org
Sat Nov 19 14:49:25 GMT 2005
Pat Maddox <pergesu at gmail.com> writes:
> On 19 Nov 2005 08:59:32 -0500, Lowell Gilbert
> <freebsd-questions-local at be-well.ilk.org> wrote:
> > Pat Maddox <pergesu at gmail.com> writes:
> >
> > > On 19 Nov 2005 08:39:19 -0500, Lowell Gilbert
> > > <freebsd-questions-local at be-well.ilk.org> wrote:
> > > > Pat Maddox <pergesu at gmail.com> writes:
> > > >
> > > > > I've got a 6.0 system with lighttpd installed. I have a
> > > > > lighttpd_enable="YES" line in /etc/rc.conf, but lighttpd doesn't start
> > > > > up when the machine boots. I have another machine with the same
> > > > > config (though apparently not exactly the same), and lighttpd starts
> > > > > up with it. There's nothing in the lighttpd error log, and if I use
> > > > > the rc script to start it up it starts fine. How do I find out why
> > > > > it's not starting on boot, and how do I make it start on boot?
> > > >
> > > > Is it executable?
> > > >
> > > > Try putting an echo or touch command early in the script to see if
> > > > it's getting run at boot at all.
> > > >
> > > It's definitely executable..it's getting run when I run
> > > /etc/rc.d/localpkgs, so it really just makes no sense.
> >
> > Well, try my suggestion anyway.
>
> Alright, I put a touch in the rc script, and it touched the file.
Okay, good. Seriously puzzling, but eliminates a lot of things.
Does it start if you call the script with a completely clean
environment? [*Something* is different between calling it from the
command line and having the rc scripts do it.]
More information about the freebsd-questions
mailing list