我正在按照教程来帮助我在我的Mandriva盒子上安装lighttpd服务器软件。 http://www.cyberciti.biz/tips/installing-and-configuring-lighttpd-webserver-howto.html
我认为我已经做了所有必要的事情,但是当我想要启动服务器时,我总是收到这个错误。
[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.
我不明白是什么导致这个问题。 我以root身份运行这个服务器,应该没有权限问题。
litehttpd是否像apache一样启动时将ID改为另一个用户? 如果是这样,您将需要确保日志文件夹/文件是由该用户可写的。