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'm following a tutorial to help me install the lighttpd server software on my Mandriva box. http://www.cyberciti.biz/tips/installing-and-configuring-lighttpd-webserver-howto.html

I think that I've done everything necessary but I keep getting this error whenever I want to start the server.

[root@localhost lighttpd]# /etc/init.d/lighttpd start
Starting lighttpd: 2009-07-28 13:00:15: (log.c.84) opening errorlog  '/var/log/lighttpd/error.log' failed: Permission denied
2009-07-28 13:00:15: (server.c.893) Opening errorlog failed. Going down.

I don't understand what's causing this problem. I'm running this server as root, there should be no permission problem.

share|improve this question
    
Can you post the output of <pre>ls -l /var/log/lighttpd/error.log</pre> –  thepocketwade Jul 28 '09 at 17:18

1 Answer 1

Does litehttpd change its ID to another user when started like apache? If so you will need to make sure the log folder/file is writable by that user.

share|improve this answer

Your Answer

 
discard

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