You are not logged in.
I'm having troubles starting lighttpd after kernel upgrade. Doing:
$ /etc/rc.d/lighttpd start
2008-10-20 19:44:30: (log.c.84) opening errorlog '/var/log/lighttpd/error.log' failed: Permission denied
2008-10-20 19:44:30: (server.c.888) Opening errorlog failed. Going down.
$ ls /var/log/lighttpd
total 84K
drwxr-xr-x 2 root root 4.0K 2008-10-20 19:39 ./
drwxr-xr-x 8 root root 4.0K 2008-10-20 00:02 ../
-rw-r--r-- 1 nobody nobody 0 2008-10-20 00:02 access.log
-rw-r--r-- 1 nobody nobody 0 2008-10-12 00:02 access.log.1
-rw-r--r-- 1 nobody nobody 0 2008-10-06 00:02 access.log.2
-rw-r--r-- 1 nobody nobody 0 2008-09-28 00:02 access.log.3
-rw-r--r-- 1 nobody nobody 72K 2008-10-19 04:16 access.log.4
-rw-r--r-- 1 nobody nobody 0 2008-10-20 00:02 access-ssl.log
-rw-r--r-- 1 nobody nobody 0 2008-10-12 00:02 access-ssl.log.1
-rw-r--r-- 1 nobody nobody 0 2008-10-06 00:02 access-ssl.log.2
-rw-r--r-- 1 nobody nobody 0 2008-09-28 00:02 access-ssl.log.3
-rw-r--r-- 1 nobody nobody 0 2008-09-22 00:02 access-ssl.log.4
-rw-r--r-- 1 nobody nobody 0 2008-10-20 19:39 error.log
-rw-r--r-- 1 nobody nobody 0 2008-10-20 00:02 error-ssl.log
-rw-r--r-- 1 nobody nobody 0 2008-10-12 00:02 error-ssl.log.1
-rw-r--r-- 1 nobody nobody 0 2008-10-06 00:02 error-ssl.log.2
-rw-r--r-- 1 nobody nobody 0 2008-09-28 00:02 error-ssl.log.3
-rw-r--r-- 1 nobody nobody 0 2008-09-22 00:02 error-ssl.log.4
I have no idead on how to solve this problem or how to start, I tried to do a bit of googling, but I came out empty. Any ideas?
Edit: Changed topic to a slightly less bad one.
Last edited by patogen (2008-10-20 17:52:00)
We met up with the aliens and guess what? They have no word for fluffy!
Offline
are you not root?
Offline
Yes, I'm root (via sudo, and I'm in /etc/sudoers). The same applies if I use su to go to my root account and try to start lighttpd.
We met up with the aliens and guess what? They have no word for fluffy!
Offline
see /etc/lighttpd/lighttpd.conf if the daemon is run with user "http"...if so then try "chown -R http:http /var/log/lighttpd/"
Offline
see /etc/lighttpd/lighttpd.conf if the daemon is run with user "http"...if so then try "chown -R http:http /var/log/lighttpd/"
Thank you, this solved the problem. I wonder why permission were changed or what caused this on new kernel. But it is solved now anyway, so that is nice!
We met up with the aliens and guess what? They have no word for fluffy!
Offline