HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Updated to 3.5.2 from 3.4.6 errors starting panel (http://www.howtoforge.com/forums/showthread.php?t=61372)

korbynn 10th April 2013 19:37

Updated to 3.5.2 from 3.4.6 errors starting panel
 
Just upgraded to 3.5.2
OS: centos 5.9
php:5.3.23
apache:2.2.23

Just can't get the panel up.
I get a 503 error

error_log:
[Wed Apr 10 09:26:23 2013] [error] (13)Permission denied: mod_fcgid: couldn't bind unix domain socket /etc/httpd/run/mod_fcgid/15487.447
[Wed Apr 10 09:26:23 2013] [warn] (13)Permission denied: mod_fcgid: spawn process /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter error
[Wed Apr 10 09:26:23 2013] [warn] [client 172.218.2.10] mod_fcgid: can't apply process slot for /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter

Any thoughts on the subject.
Thanks
korbynn

korbynn 12th April 2013 04:12

Is there anyone out there that can point me in the right direction?
It appears that I have a permissions problem. What user should own the ispconfig data?

compugraphix 12th April 2013 10:37

look here : http://linuxadmintips4u.blogspot.nl/...-modfcgid.html

looks like a permission error maybe this link can help you.

maybe if you do a vi on /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter
it gives you the location of the file with not enough permission to be run

mine gives:

#!/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


------------------------------------------------
/etc/php5/cgi/
php.ini (0644 root:root)
in the dir there is also a ln -s link to conf.d

/usr/bin/php-cgi (0755 root:root)

Hope this helps

korbynn 15th April 2013 03:06

Found a fix.
Paths needed to be fixed.

in /etc/httpd/conf.d/fcgid.conf

from:

Code:

...
# Use FastCGI to process .fcg .fcgi & .fpl scripts
# Don't do this if mod_fastcgi is present, as it will try to do the same thing
<IfModule !mod_fastcgi.c>
    AddHandler fcgid-script fcg fcgi fpl
</IfModule>

# Sane place to put sockets and shared memory file
SocketPath run/mod_fcgid
SharememPath run/mod_fcgid/fcgid_shm

to:

Code:

...
# Use FastCGI to process .fcg .fcgi & .fpl scripts
# Don't do this if mod_fastcgi is present, as it will try to do the same thing
#<IfModule !mod_fastcgi.c>
    AddHandler fcgid-script fcg fcgi fpl
#</IfModule>

# Sane place to put sockets and shared memory file
SocketPath /var/run/mod_fcgid
SharememPath /var/run/mod_fcgid/fcgid_shm

FcgidIPCDir /var/run/mod_fcgid
FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm


ejg 7th May 2013 02:43

same problem, but no fcgid.conf
 
I have the same problem : error 503 when trying to access the panel.

same errors in the error_log, but I don't have an fcgid.conf file in the conf.d folder.

/var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter does not show any permission errors

websites are working fine, but the panel is not accessible,

any thoughts?

falko 8th May 2013 18:34

Which distribution do you use?

ejg 8th May 2013 18:56

I am running CentOS 5.9 and upgraded to 3.0.5.2


All times are GMT +2. The time now is 10:14.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.