Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Nov 2005 07:52:00 -0700
From:      Pat Maddox <pergesu@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: 6.0, lighttpd not starting up on boot
Message-ID:  <810a540e0511190652j1f5c99f9y7b0ac99670327b86@mail.gmail.com>
In-Reply-To: <44ek5cwv4k.fsf@be-well.ilk.org>
References:  <810a540e0511180107g35b21bd2nd67074734789376d@mail.gmail.com> <44zmo0ycxk.fsf@be-well.ilk.org> <810a540e0511190544m3988d1cq923539c8c85aa108@mail.gmail.com> <44r79cwxff.fsf@be-well.ilk.org> <810a540e0511190612t6dba8193k5bc48962324092c@mail.gmail.com> <44ek5cwv4k.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 19 Nov 2005 09:49:15 -0500, Lowell Gilbert
<freebsd-questions-local@be-well.ilk.org> wrote:
> Pat Maddox <pergesu@gmail.com> writes:
>
> > On 19 Nov 2005 08:59:32 -0500, Lowell Gilbert
> > <freebsd-questions-local@be-well.ilk.org> wrote:
> > > Pat Maddox <pergesu@gmail.com> writes:
> > >
> > > > On 19 Nov 2005 08:39:19 -0500, Lowell Gilbert
> > > > <freebsd-questions-local@be-well.ilk.org> wrote:
> > > > > Pat Maddox <pergesu@gmail.com> writes:
> > > > >
> > > > > > I've got a 6.0 system with lighttpd installed.  I have a
> > > > > > lighttpd_enable=3D"YES" line in /etc/rc.conf, but lighttpd does=
n't start
> > > > > > up when the machine boots.  I have another machine with the sam=
e
> > > > > > config (though apparently not exactly the same), and lighttpd s=
tarts
> > > > > > 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 i=
f
> > > > > 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.]
>

I'm really not sure what you mean by a clean environment.  I can use
the rc script to start it, but that's after the machine boots up.=20
lighttpd doesn't want to start during bootup.  I can also start it
fine by calling the lighttpd binary.



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