![]() |
fastcgi incomplete headers issues - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: fastcgi incomplete headers issues (/thread-1741.html) |
RE: fastcgi incomplete headers issues - joximu - 01-15-2008 10:32 PM ok, ls -la /var/www/ upd: and maybe "lsattr /var/www/" ? RE: fastcgi incomplete headers issues - blunt - 01-15-2008 10:35 PM vu2000@ispcp:~$ ls -la /var/www/ total 32 drwxr-xr-x 8 root root 4096 Jan 15 12:31 . drwxr-xr-x 14 root root 4096 Jan 15 12:30 .. drwxr-xr-x 2 root root 4096 Jan 8 10:19 apache2-default drwxr-xr-x 2 root root 4096 Jan 8 10:20 awstats drwxr-xr-x 3 vu2000 vu2000 4096 Jan 15 12:31 fcgi drwxr-xr-x 7 root root 4096 Jan 8 10:21 ispcp drwxr-xr-x 2 root root 4096 Jan 8 10:20 scoreboards drwxr-xr-x 2 vu2000 www-data 4096 Jan 8 10:20 virtual vu2000@ispcp:~$ lsattr /var/www/ ------------------ /var/www/apache2-default ------------------ /var/www/ispcp ------------------ /var/www/fcgi ------------------ /var/www/awstats ------------------ /var/www/virtual ------------------ /var/www/scoreboards RE: fastcgi incomplete headers issues - joximu - 01-15-2008 10:39 PM hm, looks good, allthough it's not the same as here: ls -la /var/www/ drwxr-xr-x 13 root root 4096 2008-01-15 01:04 . drwxr-xr-x 16 root root 4096 2007-12-28 22:09 .. drwxr-xr-x 2 root root 4096 2008-01-10 00:12 apache2-default drwxr-xr-x 2 root root 4096 2007-09-01 14:08 awstats drwxr-xr-x 8 root root 4096 2007-12-15 21:56 fcgi drwxr-xr-x 7 root root 4096 2008-01-15 01:10 ispcp drwxr-xr-x 2 root root 4096 2007-12-15 21:56 scoreboards drwxr-xr-x 7 vu2000 www-data 4096 2007-12-15 21:56 virtual but I cannot figure out, why especially user vu2000 cannot execute anything in /var/www/fcgi - it's the user which is owner of the folder... (in your system). do you have some sort of security software running (app-armor, or the other one, SE-Linux?) /J RE: fastcgi incomplete headers issues - blunt - 01-15-2008 10:47 PM I installed a debian minimal system, then installed ispcp. nothing else... RE: fastcgi incomplete headers issues - blunt - 01-15-2008 11:02 PM well I changed the permissions on the folder and I no longer get permission denied... if I do this: ispcp:~# sudo -u vu2000 /var/www/fcgi/master/php5-fcgi-starter /var/www/ispcp/gui/index.php I get no error but no outup either...but I think this is a start...any ideas on what I should check for? RE: fastcgi incomplete headers issues - joximu - 01-15-2008 11:09 PM I also get nothing with this... do you still get the incomplete Header messages? /J RE: fastcgi incomplete headers issues - blunt - 01-15-2008 11:22 PM Apache error log: [Tue Jan 15 13:21:46 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (pid 5879) terminated by calling exit with status '120' the previous error was with status 1 Apache suexec log: [2008-01-15 13:21:46]: uid: (vu2000/vu2000) gid: (vu2000/vu2000) cmd: php5-fcgi-starter [2008-01-15 13:21:46]: target uid/gid (2000/2000) mismatch with directory (0/0) or program (2000/2000) Apache/users/myuser log: [Tue Jan 15 13:22:42 2008] [error] [client 192.168.1.234] FastCGI: comm with server "/var/www/fcgi/master/php5-fcgi-starter" aborted: idle timeout (30 sec) [Tue Jan 15 13:22:42 2008] [error] [client 192.168.1.234] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/master/php5-fcgi-starter" RE: fastcgi incomplete headers issues - joximu - 01-15-2008 11:43 PM Please check the permissions again - only the fcgi folder is root:root, the folders underneath not: Code: ls -la /var/www/fcgi/ and Code: ls -la /var/www/fcgi/master/ /J RE: fastcgi incomplete headers issues - blunt - 01-15-2008 11:45 PM ispcp:~# ls -la /var/www/fcgi/master/ total 44 drwxr-xr-x 4 root root 4096 Jan 15 11:52 . drwxr-xr-x 3 root root 4096 Jan 15 12:31 .. -rw------- 1 vu2000 vu2000 597 Jan 15 12:57 .bash_history -rw-r--r-- 1 vu2000 vu2000 220 Jan 8 10:21 .bash_logout -rw-r--r-- 1 vu2000 vu2000 414 Jan 8 10:21 .bash_profile -rw-r--r-- 1 vu2000 vu2000 2227 Jan 8 10:21 .bashrc drwxr-xr-x 2 root root 4096 Jan 8 13:36 php4 -rwxr-xr-x 1 vu2000 vu2000 195 Jan 8 13:36 php4-fcgi-starter drwxr-xr-x 2 root root 4096 Jan 8 13:36 php5 -rwxr-xr-x 1 vu2000 vu2000 195 Jan 8 13:36 php5-fcgi-starter -rwxr-xr-x 1 vu2000 vu2000 27 Jan 15 12:02 test.sh RE: fastcgi incomplete headers issues - joximu - 01-15-2008 11:51 PM ls -la /var/www/fcgi/master/ drwxr-xr-x 4 vu2000 vu2000 4096 2008-01-15 12:21 . the master folder itself is owned by vu2000:vu2000 ! That's important |