Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to install the lighttpd startup script. I followed these steps, but when I start it I get

root@debian:~# /etc/init.d/lighttpd start
.: 53: Can't open /etc/rc.status

Seems rc.status does not exist and the startup script needs it. What am I supposed to do to create rc.status?

share|improve this question
    
No, you should not create rc.status on Debian. What's the contents of the init script that you installed? Or better, what's wrong with Debian's lighttpd package? –  Shane Madden Jan 29 '12 at 22:51
    
I already have it compiled and working from source. Just now I would like to get the init.d working. I am following the "Init Script" section of the link above. The rc.lighttpd that comes with the 1.4.30 download has this inside. pastebin.com/hWr2q0WK –  Will Jan 29 '12 at 23:04
3  
Yeah, that's a SuSE init script, not sure why they include that as a "generic" one when it's clearly not. Here's Debian's; you'll need to adjust path locations to when you've installed things. Or, seriously, just apt-get install lighttpd. –  Shane Madden Jan 29 '12 at 23:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.