The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fairly consistent mod_fastcgi.so error that prevents Apache from starting

Discussion in 'EasyApache' started by etcio, Mar 31, 2014.

  1. etcio

    etcio Member

    Joined:
    Mar 7, 2013
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Code:
    httpd: Syntax error on line 39 of /usr/local/apache/conf/httpd.conf: Syntax error on line 1 of /usr/local/apache/conf/php.conf: Cannot load modules/mod_fastcgi.so into server: /usr/local/apache/modules/mod_fastcgi.so: cannot open shared object file: No such file or directory
    For some reason, something is happening with my installation fairly regularly which prevents Apache from starting up. Using EasyApache to build using my own profile works, and everything loads fine, but within 2-3 days, I start having problems again, and an attempt at a restart produces that error. I just use EasyApache to rebuild it and it works fine, but I'm not sure what's causing the issue in the first place.

    Any ideas? Thanks in advance!
     
  2. es2alna

    es2alna Well-Known Member

    Joined:
    Mar 30, 2014
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Did you compiled mod_fastcgi manually into Apache?

    Do you use mod_fastcgi or you use different handler? You can know this by executing this command:
    Code:
    /usr/local/cpanel/bin/rebuild_phpconf --current | grep PHP5 | awk {' print $3 '}
     
  3. etcio

    etcio Member

    Joined:
    Mar 7, 2013
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I get the response "fcgi" when I run that command.

    And no, I did not compile it manually. I always use EasyApache to do it.
     
  4. es2alna

    es2alna Well-Known Member

    Joined:
    Mar 30, 2014
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    What is the first line of this file?
    Code:
    /usr/local/apache/conf/php.conf
    Can you confirm the existence of mod_fastcgi.so file in here?
    Code:
    mod_fastcgi.so/usr/local/apache/modules/
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The error message you provided shows:

    However, the actual file name should be:

    Code:
    /usr/local/apache/modules/mod_fcgid.so
    Notice the difference in module names. Are you sure that you have not installed any custom Apache modules, or used any third-party applications that would modify the Apache configuration? If not, please open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page