View Single Post
  #3  
Old 24th February 2010, 04:28
ethanlifka ethanlifka is offline
Junior Member
 
Join Date: Aug 2008
Posts: 29
Thanks: 0
Thanked 6 Times in 4 Posts
Default

Sorry, I just turned off my server and I was too tired to turn it back on.

Here are the errors:
/var/log/ispconfig/httpd/test.com/error.log
Code:
[Tue Feb 23 10:11:33 2010] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
[Tue Feb 23 10:11:33 2010] [error] [client 200.100.0.104] Premature end of script headers: asdf.php
[Tue Feb 23 10:11:33 2010] [error] [client 200.100.0.104] File does not exist: /var/www/error/500.html
/etc/httpd/logs/error_log
Code:
[Tue Feb 23 10:11:33 2010] [notice] mod_fcgid: call /var/www/clients/client0/web7/web/asdf.php with wrapper /var/www/php-fcgi-scripts/web7/.php-fcgi-starter
suexec failure: could not open log file
fopen: Permission denied
[Tue Feb 23 10:11:36 2010] [notice] mod_fcgid: process /var/www/clients/client0/web7/web/asdf.php(2887) exit(communication error), terminated by calling exit(), return code: 1
which file is it refering to?
/etc/httpd/logs/suexec.log is being written to just fine.
Code:
[2010-02-23 10:11:32]: uid: (5003/web7) gid: (5004/5004) cmd: .php-fcgi-starter
[2010-02-23 10:11:32]: uid: (5003/web7) gid: (5004/5004) cmd: .php-fcgi-starter
[2010-02-23 10:11:33]: uid: (5003/web7) gid: (5004/5004) cmd: .php-fcgi-starter
/var/www/php-fcgi-scripts/web7/.php-fcgi-starter
Code:
#!/bin/sh
PHPRC="/etc/"
export PHPRC
PHP_DOCUMENT_ROOT="/var/www/clients/client0/web7"
export PHP_DOCUMENT_ROOT
# The variable PHP_FCGI_CHILDREN is onyl useful for lighty or nginx as apache
# mod_fcgi will control the number of childs themself and never use the additional processes.
# PHP_FCGI_CHILDREN=8
# export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_MAX_REQUESTS
exec /usr/bin/php-cgi \
 -d open_basedir=/var/www/clients/client0/web7 \
-d upload_tmp_dir=/var/www/clients/client0/web7/tmp \
-d session.save_path=/var/www/clients/client0/web7/tmp \
 $1
Thanks

Last edited by ethanlifka; 24th February 2010 at 04:36. Reason: Update
Reply With Quote