Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

fast cgi / cgi problem..bit urgent

Discussion in 'General Discussion' started by Secret Agent, Jun 16, 2005.

Thread Status:
Not open for further replies.
  1. Secret Agent

    Secret Agent Guest

    Earlier today I did a "sudo gem install fcgi" because I new fcgi ruby gem was supposedly released that fixed some things like a bad memory leak. Upon apache restart, fcgi would not work. This came up with some errors "No definition for fcgi_finish" and many like it, although it reported success.

    the log files say:

    [Thu Jun 16 14:59:02 2005] [error] [client xx.169.85.248] FastCGI: comm with (dynamic) server "/home/polarity/public/dispatch.fcgi" aborted:
    (first read) idle timeout (30 sec)
    [Thu Jun 16 14:59:02 2005] [error] [client xx.169.85.248] FastCGI:
    incomplete headers (0 bytes) received from server "/home/polarity/public/dispatch.fcgi"

    My original FastCGI install steps (done 2 months ago, worked the entire time)

    # wget http://www.fastcgi.com/dist/mod_fastcgi-2.4.2.tar.gz

    # tar xvzf mod_fastcgi-2.4.2.tar.gz

    # cd mod_fastcgi-2.4.2

    # /usr/local/apache/bin/apxs -o mod_fastcgi.so -c *.c

    # /usr/local/apache/bin/apxs -i -a -n fastcgi mod_fastcgi.so

    This should create an entry in httpd.conf that looks like this:

    LoadModule fastcgi_module <some_path>/mod_fastcgi.so

    Note that if there's a ClearModuleList directive after new entry,
    you'll have to either move the LoadModule after the ClearModuleList
    or add (have a look at how the other modules are handled):

    AddModule mod_fastcgi.c

    3. Edit the httpd configuration file(s) to enable your FastCGI
    application(s). See docs/mod_fastcgi.html for details.

    If you want to wrap the mod_fastcgi directives, use:

    <IfModule mod_fastcgi.c>
    .
    .
    </IfModule>

    4. Stop and start the server.

    # /etc/init.d/httpd stop
    # /etc/init.d/httpd startssl


    Any help is appreciated!
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    fast_cgi isn't part of the cPanel build. You should ask on a server admin forum or hire someone who understand server administration. Please stop abusing the generosity of the people on these forums.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice