From owner-freebsd-questions@FreeBSD.ORG Sat Nov 19 14:52:05 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A51F16A43E for ; Sat, 19 Nov 2005 14:52:05 +0000 (GMT) (envelope-from pergesu@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13F8F43D46 for ; Sat, 19 Nov 2005 14:52:00 +0000 (GMT) (envelope-from pergesu@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so406765nzo for ; Sat, 19 Nov 2005 06:52:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VHSiUOdBeGyXJGkH5bHBMtIDeW90QcSif9gCmfM+gUfXbEzsZPxCIPzK85Sqrbl3xkLmBX5umk0TW8+qCuXF3XrTplX6ye7hIFj4ZW0pH7DSyPjJ6QLM3Yt4lD/0zUkfl4UfM1YTgcUZPW3Dv8V5Wm6R4Ps/HZjlM4kX6Bdr29k= Received: by 10.36.50.1 with SMTP id x1mr993932nzx; Sat, 19 Nov 2005 06:52:00 -0800 (PST) Received: by 10.36.47.1 with HTTP; Sat, 19 Nov 2005 06:52:00 -0800 (PST) Message-ID: <810a540e0511190652j1f5c99f9y7b0ac99670327b86@mail.gmail.com> Date: Sat, 19 Nov 2005 07:52:00 -0700 From: Pat Maddox To: FreeBSD Questions In-Reply-To: <44ek5cwv4k.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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> Subject: Re: 6.0, lighttpd not starting up on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2005 14:52:05 -0000 On 19 Nov 2005 09:49:15 -0500, Lowell Gilbert wrote: > Pat Maddox writes: > > > On 19 Nov 2005 08:59:32 -0500, Lowell Gilbert > > wrote: > > > Pat Maddox writes: > > > > > > > On 19 Nov 2005 08:39:19 -0500, Lowell Gilbert > > > > wrote: > > > > > Pat Maddox 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.