Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm following a tutorial to help me install the lighttpd server software on my Mandriva box.

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

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


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