- Mitglied seit
- 24 Dez 2008
- Beiträge
- 65
- Punkte für Reaktionen
- 0
- Punkte
- 0
Lighttpd reads e.g. html files fine, but it won't execute .php files. Anytime I try to execute a .php file the following error is given in the log:
--------------
2011-04-24 13:32:19: (log.c.166) server started
2011-04-24 13:32:52: (mod_fastcgi.c.1734) connect failed: Permission denied on unix:/var/run/lighttpd/php-fastcgi.socket-2
2011-04-24 13:32:52: (mod_fastcgi.c.3027) backend died; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 0 load: 1
2011-04-24 13:32:52: (mod_fastcgi.c.1734) connect failed: Permission denied on unix:/var/run/lighttpd/php-fastcgi.socket-1
2011-04-24 13:32:52: (mod_fastcgi.c.3027) backend died; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 1 load: 1
2011-04-24 13:32:52: (mod_fastcgi.c.1734) connect failed: Permission denied on unix:/var/run/lighttpd/php-fastcgi.socket-0
2011-04-24 13:32:52: (mod_fastcgi.c.3027) backend died; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 2 load: 1
2011-04-24 13:32:54: (mod_fastcgi.c.2785) fcgi-server re-enabled: 0 /var/run/lighttpd/php-fastcgi.socket
2011-04-24 13:32:54: (mod_fastcgi.c.2785) fcgi-server re-enabled: 0 /var/run/lighttpd/php-fastcgi.socket
2011-04-24 13:32:54: (mod_fastcgi.c.2785) fcgi-server re-enabled: 0 /var/run/lighttpd/php-fastcgi.socket
--------------
/var/run/lighttpd/php-fastcgi.socket-0 (+1,2) do exist. Just to make sure it wasn't a permission thing I did a "chown -R wwwrun:wwwrun" on /var/run/lighttpd and, because wwwrun runs lighttpd. I also did a chmod -R 777 on /var/run/lighttpd. This made no diference though, as the same errors are given in the log. What's the cause of this?
Also, I'd like to add that when I try to compile lighttpd with the module "enable locks in mod_webdav" it fails to compile and gives this error:
--------------
cp: cannot stat `source/target-mips_uClibc-0.9.29/lighttpd-1.4.28/src/.libs/mod_webdav.so': No such file or directory
/home/x/freetz-trunk-7340/toolchain/build/mips_gcc-4.4.6_uClibc-0.9.29/mips-linux-uclibc/bin/mips-linux-uclibc-strip: 'packages/target-mips_uClibc-0.9.29/lighttpd-1.4.28/root/usr/lib/lighttpd/mod_webdav.so': No such file
make: *** [packages/target-mips_uClibc-0.9.29/lighttpd-1.4.28/root/usr/lib/lighttpd/mod_webdav.so] Error 1
--------------
--------------
2011-04-24 13:32:19: (log.c.166) server started
2011-04-24 13:32:52: (mod_fastcgi.c.1734) connect failed: Permission denied on unix:/var/run/lighttpd/php-fastcgi.socket-2
2011-04-24 13:32:52: (mod_fastcgi.c.3027) backend died; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 0 load: 1
2011-04-24 13:32:52: (mod_fastcgi.c.1734) connect failed: Permission denied on unix:/var/run/lighttpd/php-fastcgi.socket-1
2011-04-24 13:32:52: (mod_fastcgi.c.3027) backend died; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 1 load: 1
2011-04-24 13:32:52: (mod_fastcgi.c.1734) connect failed: Permission denied on unix:/var/run/lighttpd/php-fastcgi.socket-0
2011-04-24 13:32:52: (mod_fastcgi.c.3027) backend died; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 2 load: 1
2011-04-24 13:32:54: (mod_fastcgi.c.2785) fcgi-server re-enabled: 0 /var/run/lighttpd/php-fastcgi.socket
2011-04-24 13:32:54: (mod_fastcgi.c.2785) fcgi-server re-enabled: 0 /var/run/lighttpd/php-fastcgi.socket
2011-04-24 13:32:54: (mod_fastcgi.c.2785) fcgi-server re-enabled: 0 /var/run/lighttpd/php-fastcgi.socket
--------------
/var/run/lighttpd/php-fastcgi.socket-0 (+1,2) do exist. Just to make sure it wasn't a permission thing I did a "chown -R wwwrun:wwwrun" on /var/run/lighttpd and, because wwwrun runs lighttpd. I also did a chmod -R 777 on /var/run/lighttpd. This made no diference though, as the same errors are given in the log. What's the cause of this?
Also, I'd like to add that when I try to compile lighttpd with the module "enable locks in mod_webdav" it fails to compile and gives this error:
--------------
cp: cannot stat `source/target-mips_uClibc-0.9.29/lighttpd-1.4.28/src/.libs/mod_webdav.so': No such file or directory
/home/x/freetz-trunk-7340/toolchain/build/mips_gcc-4.4.6_uClibc-0.9.29/mips-linux-uclibc/bin/mips-linux-uclibc-strip: 'packages/target-mips_uClibc-0.9.29/lighttpd-1.4.28/root/usr/lib/lighttpd/mod_webdav.so': No such file
make: *** [packages/target-mips_uClibc-0.9.29/lighttpd-1.4.28/root/usr/lib/lighttpd/mod_webdav.so] Error 1
--------------