View Single Post
  #1  
Old 1st March 2013, 15:25
Snowman Snowman is offline
Senior Member
 
Join Date: Apr 2007
Posts: 120
Thanks: 38
Thanked 3 Times in 3 Posts
Default ispconfig upgrade to 3.0.5.1 [broken ispconfig interface]

Hi folks,
i've recently checked howtoforge forums and realized that there is a problem with ispconfig upgrade to 3.0.5.4. Everythink works as intended, but ispconfig interface on 8080 port has a problem with FCGI.

[Fri Mar 01 14:49:39 2013] [warn] [client 217.5.72.98] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Fri Mar 01 14:49:39 2013] [error] [client 217.5.72.98] Premature end of script headers: index.php

I found solution on forums to change the /etc/apache2/sites-enabled/000-ispconfig.vhost and uncomment <IfModule mod_php5.c> section and comment <IfModule mod_fcgid.c> section,

unfortunately it don't work for me (files are owned by ispconfig:ispconfig user and group)

[Fri Mar 01 14:52:32 2013] [error] [client 217.5.72.98] PHP Warning: require_once(/usr/local/ispconfig/interface/lib/config.inc.php): failed to open stream: Permission denied in /usr/local/ispconfig/interface/web/index.php on line 31
[Fri Mar 01 14:52:33 2013] [error] [client 217.5.72.98] PHP Fatal error: require_once(): Failed opening required '../lib/config.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/local/ispconfig/interface/web/index.php on line 31
[Fri Mar 01 14:52:34 2013] [error] [client 217.5.72.98] PHP Warning: require_once(/usr/local/ispconfig/interface/lib/config.inc.php): failed to open stream: Permission denied in /usr/local/ispconfig/interface/web/index.php on line 31
[Fri Mar 01 14:52:34 2013] [error] [client 217.5.72.98] PHP Fatal error: require_once(): Failed opening required '../lib/config.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/local/ispconfig/interface/web/index.php on line 31
[Fri Mar 01 14:52:35 2013] [error] [client 217.5.72.98] PHP Warning: require_once(/usr/local/ispconfig/interface/lib/config.inc.php): failed to open stream: Permission denied in /usr/local/ispconfig/interface/web/index.php on line 31
[Fri Mar 01 14:52:35 2013] [error] [client 217.5.72.98] PHP Fatal error: require_once(): Failed opening required '../lib/config.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/local/ispconfig/interface/web/index.php on line 31

When I am using FCGI, /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter contains : (/usr/bin/php-cgi is symlink to /etc/alternatives/php-cgi)
#!/bin/sh
PHPRC=/etc/php5/cgi/
export PHPRC
export PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_CHILDREN=1
exec /usr/bin/php-cgi -d magic_quotes_gpc=off -d session.save_path=/usr/local/ispconfig/server/temp

I will be happy to hear ideas and helpful solutions .

Thanks,
Martin
Reply With Quote
Sponsored Links