Launchd not starting lighttpd

Sterling Anderson sterling_anderson at mac.com
Wed Jun 20 20:38:06 PDT 2007


On Jun 20, 2007, at 4:26 PM, Chris Pickel wrote:

> On 20 Jun, 2007, at 15:21, Sterling Anderson wrote:
>> I installed LightTPD and it runs fine, but after loading the  
>> LaunchDaemon it refuses to start. If I do a ps in a terminal I can  
>> see daemondo is loaded with with the lighttpd label:
>> ...
>> It won't start the server though. If I run the start command:
>>
>> /opt/local/sbin/lighttpd -f /opt/local/etc/lighttpd/lighttpd.conf
>>
>> it pops right up, no errors, everything is great.
>
> First thing I would do is check the console. Messages from the  
> launchd system usually get sent to system.log. If there's no  
> mention there, then you'll have to refer to someone more  
> knowledgeable about start-stop-daemon; I don't make use of it myself.
>
> You could also confirm that the "Start" command in /opt/local/etc/ 
> LaunchDaemons/org.macports.lighttpd/lighttpd.wrapper is `/opt/local/ 
> sbin/lighttpd -f /opt/local/etc/lighttpd/lighttpd.conf` as you  
> executed to test. I can't imagine it wouldn't, though.
>
>
> Chris

Nothing in the console at all. I am stumped. No error messages at  
all. The wrapper has the correct syntax. Manually loading and  
unloading the launchd file works properly. I just don't get why it's  
not working on boot.

--
Sterling Anderson
http://sterlinganderson.net/
sterling_anderson[at]mac.com






More information about the macports-users mailing list