Community Forums
Connect with us on LinkedIn
Closed Thread
Results 1 to 2 of 2
  1. #1
    Secret Agent
    Guest

    Default fast cgi / cgi problem..bit urgent

    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. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Replies: 5
    Last Post: 05-19-2011, 07:16 AM
  2. cgi-sys/defaultwebpage.cgi problem! Help!
    By howie7teen in forum New User Questions
    Replies: 1
    Last Post: 02-17-2011, 06:10 PM
  3. Suphp to Fast cgi how to?
    By ASTRAPI in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 11-30-2009, 05:00 PM
  4. Replies: 0
    Last Post: 02-14-2005, 09:49 PM
  5. new day, new problem: no .cgi runs (outside cgi-bin)
    By kosmo in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-03-2002, 07:52 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube