Pat Maddox <[EMAIL PROTECTED]> writes:

> On 19 Nov 2005 09:49:15 -0500, Lowell Gilbert
> <[EMAIL PROTECTED]> wrote:
> > Pat Maddox <[EMAIL PROTECTED]> writes:
> >
> > > On 19 Nov 2005 08:59:32 -0500, Lowell Gilbert
> > > <[EMAIL PROTECTED]> wrote:
> > > > Pat Maddox <[EMAIL PROTECTED]> writes:
> > > >
> > > > > On 19 Nov 2005 08:39:19 -0500, Lowell Gilbert
> > > > > <[EMAIL PROTECTED]> wrote:
> > > > > > Pat Maddox <[EMAIL PROTECTED]> 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.]
> >
> 
> 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. 
> lighttpd doesn't want to start during bootup.  I can also start it
> fine by calling the lighttpd binary.

env(1) is the easy way to do it.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to