Current time: 11-16-2024, 02:39 PM Hello There, Guest! (LoginRegister)


Post Reply 
fastcgi incomplete headers issues
Author Message
blunt Offline
Junior Member
*

Posts: 40
Joined: Jan 2008
Reputation: 0
Post: #81
RE: fastcgi incomplete headers issues
when I change that permission it stops working...

ispcp:/var/www/fcgi# chown vu2000:vu2000 master
ispcp:/var/www/fcgi# sudo -u vu2000 /var/www/fcgi/master/php5-fcgi-starter /var/www/ispcp/gui/index.php
sudo: unable to execute /var/www/fcgi/master/php5-fcgi-starter: Permission denied
01-15-2008 11:54 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #82
RE: fastcgi incomplete headers issues
Sorry, this is toooo weird - I don't know anymore...

suexec *wants* the folder and file to be owned the given user:group - but then your system does not allow the same user to execute scripts (which is allowed if the folder is owned by root).

Take a new real pc and start from scratch...
01-16-2008 12:05 AM
Visit this user's website Find all posts by this user Quote this message in a reply
blunt Offline
Junior Member
*

Posts: 40
Joined: Jan 2008
Reputation: 0
Post: #83
RE: fastcgi incomplete headers issues
I think I'll try reinstalling everything from scratch...

the only thing is that the virtual environment is the only option...what I can do is change the distribution...

thank you for all your effort.
01-16-2008 12:07 AM
Find all posts by this user Quote this message in a reply
blunt Offline
Junior Member
*

Posts: 40
Joined: Jan 2008
Reputation: 0
Post: #84
RE: fastcgi incomplete headers issues
Well reinstalled a fresh debian vps, but it remais the same...here are the logs...

ispcp:/var/www/ispcp/engine/setup# cat /var/log/apache2/error.log
[Tue Jan 15 15:01:33 2008] [notice] Apache/2.2.3 (Debian) configured -- resuming normal operations
[Tue Jan 15 15:12:32 2008] [notice] caught SIGTERM, shutting down
[Tue Jan 15 15:12:37 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Jan 15 15:12:37 2008] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Jan 15 15:12:37 2008] [notice] FastCGI: process manager initialized (pid 5987)
suexec failure: could not open log file
fopen: Permission denied
[Tue Jan 15 15:12:37 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 5988)
[Tue Jan 15 15:12:37 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (pid 5988) terminated by calling exit with status '1'
[Tue Jan 15 15:12:37 2008] [notice] Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 configured -- resuming normal operations
[Tue Jan 15 15:12:42 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) restarted (pid 9452)
suexec failure: could not open log file
fopen: Permission denied
[Tue Jan 15 15:12:42 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (pid 9452) terminated by calling exit with status '1'
[Tue Jan 15 15:12:47 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) restarted (pid 14077)
suexec failure: could not open log file
fopen: Permission denied
[Tue Jan 15 15:12:47 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (pid 14077) terminated by calling exit with status '1'
[Tue Jan 15 15:12:52 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) restarted (pid 19679)
suexec failure: could not open log file
fopen: Permission denied
[Tue Jan 15 15:12:52 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (pid 19679) terminated by calling exit with status '1'
[Tue Jan 15 15:12:52 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
[Tue Jan 15 15:17:52 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
ispcp:/var/www/ispcp/engine/setup# cat /var/log/apache2/suexec.log
[2008-01-15 15:12:37]: uid: (vu2000/vu2000) gid: (vu2000/vu2000) cmd: php5-fcgi-starter
[2008-01-15 15:12:42]: uid: (vu2000/vu2000) gid: (vu2000/vu2000) cmd: php5-fcgi-starter
[2008-01-15 15:12:47]: uid: (vu2000/vu2000) gid: (vu2000/vu2000) cmd: php5-fcgi-starter
[2008-01-15 15:12:52]: uid: (vu2000/vu2000) gid: (vu2000/vu2000) cmd: php5-fcgi-starter
ispcp:/var/www/ispcp/engine/setup# cat /var/log/apache2/users/admin.ispcp.hostingspirit.org-access.log
192.168.1.234 - - [15/Jan/2008:15:18:53 +0000] "GET / HTTP/1.1" 500 1148
192.168.1.234 - - [15/Jan/2008:15:19:23 +0000] "GET /errors/inc/errordocs.js HTTP/1.1" 200 260
192.168.1.234 - - [15/Jan/2008:15:19:23 +0000] "GET /errors/inc/errordocs.css HTTP/1.1" 200 1039
192.168.1.234 - - [15/Jan/2008:15:19:23 +0000] "GET /errors/inc/error_top.jpg HTTP/1.1" 200 6244
192.168.1.234 - - [15/Jan/2008:15:19:23 +0000] "GET /errors/inc/valid_xhtml.jpg HTTP/1.1" 200 1783
192.168.1.234 - - [15/Jan/2008:15:19:23 +0000] "GET /errors/inc/valid_css.jpg HTTP/1.1" 200 1754
192.168.1.234 - - [15/Jan/2008:15:19:23 +0000] "GET /favicon.ico HTTP/1.1" 200 1886
ispcp:/var/www/ispcp/engine/setup# cat /var/log/apache2/users/admin.ispcp.hostingspirit.org-error.log
[Tue Jan 15 15:19:23 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 15:19:23 2008] [error] [client 192.168.1.234] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/master/php5-fcgi-starter"
01-16-2008 01:20 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #85
RE: fastcgi incomplete headers issues
what sort of virtual environment do you use? maybe BeNe could help..?
01-16-2008 01:32 AM
Visit this user's website Find all posts by this user Quote this message in a reply
blunt Offline
Junior Member
*

Posts: 40
Joined: Jan 2008
Reputation: 0
Post: #86
RE: fastcgi incomplete headers issues
I use openvz, and the vps is a debian 4.0 minimal installation...

It's hard to solve the problems when it seems that no one from the development team visits the forums in order to check for problems and solutions...At least I suppose you're not part of the development team...

but you've been by far the most helping member Smile
thank you
01-16-2008 01:45 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #87
RE: fastcgi incomplete headers issues
Can you please post the output of:

Code:
cat /proc/user_beancounters

Greez BeNe
01-16-2008 01:51 AM
Visit this user's website Find all posts by this user Quote this message in a reply
blunt Offline
Junior Member
*

Posts: 40
Joined: Jan 2008
Reputation: 0
Post: #88
RE: fastcgi incomplete headers issues
there are no errors if that's what you're looking for.

but the output is:
ispcp:~# cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
200: kmemsize 3039278 4120012 5000000 6000000 0
lockedpages 0 8 32 32 0
privvmpages 156247 162122 196608 196608 0
shmpages 701 717 8192 8192 0
dummy 0 0 0 0 0
numproc 101 131 200 200 0
physpages 11591 15833 0 2147483647 0
vmguarpages 0 0 65536 65536 0
oomguarpages 11591 15833 65536 2147483647 0
numtcpsock 20 22 100 100 0
numflock 9 13 100 110 0
numpty 1 2 16 16 0
numsiginfo 0 9 256 256 0
tcpsndbuf 2232 104904 319488 524288 0
tcprcvbuf 0 374976 1000000 1000000 0
othersockbuf 176656 178560 1000000 1000000 0
dgramrcvbuf 0 8376 132096 132096 0
numothersock 128 131 240 240 0
dcachesize 0 0 1048576 1097728 0
numfile 2017 2483 4000 4000 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 34 34 128 128 0
01-16-2008 01:53 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #89
RE: fastcgi incomplete headers issues
You're welcome
at the moment the dev team is not very big if you count the activity - they have some troubles releasing the next RC. If you count everyone who's writing patches then I'm also part of it.
And there is a possibility to give reputation points to the forum members... :-))))

/J
01-16-2008 01:58 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #90
RE: fastcgi incomplete headers issues
Yes your Counters looks ok!
There is no "failcnt" so there should be enough resources.

Greez BeNe
01-16-2008 02:03 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)