Updated to 3.5.2 from 3.4.6 errors starting panel

Discussion in 'Installation/Configuration' started by korbynn, Apr 10, 2013.

  1. korbynn

    korbynn Member

    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
     
  2. korbynn

    korbynn Member

    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?
     
  3. compugraphix

    compugraphix Member HowtoForge Supporter

    look here : http://linuxadmintips4u.blogspot.nl/2013/01/cpanel-permission-denied-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
     
  4. korbynn

    korbynn Member

    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
    
     
  5. ejg

    ejg New Member

    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?
     
  6. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Which distribution do you use?
     
  7. ejg

    ejg New Member

    I am running CentOS 5.9 and upgraded to 3.0.5.2
     
  8. Ubbe F. Havoc

    Ubbe F. Havoc New Member

    I fixed this issue on Debian 7 Wheezy by:
    Code:
    chmod -R 777 /var/lib/apache2/fcgid
     

Share This Page