fastcgi incomplete headers issues
|
Author |
Message |
blunt
Junior Member

Posts: 40
Joined: Jan 2008
Reputation: 0
|
RE: fastcgi incomplete headers issues
I missed some of the topics written...I just saw the last.
here is the output of the previous post joximu:
ispcp:~# su -s /bin/bash - vu2000
vu2000@ispcp:~$ /var/www/fcgi/master/php5-fcgi-starter
-su: /var/www/fcgi/master/php5-fcgi-starter: /bin/sh: bad interpreter: Permission denied
and from ls:
ispcp:~# ls -la /bin/sh
lrwxrwxrwx 1 root root 4 Jan 8 10:13 /bin/sh -> bash
(This post was last modified: 01-15-2008 09:40 PM by blunt.)
|
|
01-15-2008 09:34 PM |
|
blunt
Junior Member

Posts: 40
Joined: Jan 2008
Reputation: 0
|
RE: fastcgi incomplete headers issues
by the way zpin, this is a vps made with openvz. There is no content int /etc/fstab, just /etc/mtab. I think I mentioned this earlier...here is the output of /etc/mtab:
/dev/simfs / reiserfs rw,usrquota,grpquota 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
proc /proc proc rw,nosuid,nodev,noexec 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
|
|
01-15-2008 09:37 PM |
|
blunt
Junior Member

Posts: 40
Joined: Jan 2008
Reputation: 0
|
RE: fastcgi incomplete headers issues
you tell me...weird as it can be...
here is the output:
ispcp:~# su -s /bin/bash - vu2000
vu2000@ispcp:~$ /bin/bash
vu2000@ispcp:~$ /bin/sh
sh-3.1$
|
|
01-15-2008 09:49 PM |
|
blunt
Junior Member

Posts: 40
Joined: Jan 2008
Reputation: 0
|
RE: fastcgi incomplete headers issues
zpin, I may be wrong, but it doesn't seem to be a problem with exec/noexec permissions on the partitions, because as root I can execute he file:
ispcp:~# /var/www/fcgi/master/test.sh
Hello!
ispcp:~#
|
|
01-15-2008 09:51 PM |
|
blunt
Junior Member

Posts: 40
Joined: Jan 2008
Reputation: 0
|
RE: fastcgi incomplete headers issues
joximu:
executing file test.sh from vu2000:
ispcp:~# su -s /bin/bash - vu2000
vu2000@ispcp:~$ /var/www/fcgi/master/test.sh
-su: /var/www/fcgi/master/test.sh: /bin/sh: bad interpreter: Permission denied
contents of php5-fcgi-starter:
ispcp:~# cat /var/www/fcgi/master/php5-fcgi-starter
#!/bin/sh
umask 022
PHPRC="/var/www/fcgi/master/php5/"
export PHPRC
PHP_FCGI_CHILDREN=2
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=500
export PHP_FCGI_MAX_REQUESTS
exec /usr/bin/php5-cgi
|
|
01-15-2008 09:53 PM |
|
User(s) browsing this thread: 1 Guest(s)