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.

ruby / cpanel

Discussion in 'General Discussion' started by Zion Ahead, Mar 6, 2008.

  1. Zion Ahead

    Zion Ahead Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    I tried to install my rails application. However it does not work properly (the rails welcome screen's "About your application environment" link gives a "Application error Rails application failed to start properly" message), and the error log shows plenty of FastCGI warnings and fcg incomplete header errors:

    [Thu Mar 6 07:44:20 2008] [warn] FastCGI: (dynamic) server "/home/user/public_html/dir/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
    [Thu Mar 6 07:39:47 2008] [error] [client 91.120.172.159] FastCGI: incomplete headers (0 bytes) received from server "/home/user/public_html/dir/public/dispatch.fcgi"
    [Thu Mar 6 07:39:47 2008] [warn] FastCGI: (dynamic) server "/home/user/public_html/dir/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds
    [Thu Mar 6 07:39:47 2008] [error] [client 91.120.172.159] FastCGI: comm with (dynamic) server "/home/user/public_html/dir/public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec)



    I have cpanel 11 / centos 5 / php w/ suexec


    More details from domlogs

    Code:
    U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12"
    my.ip.address - - [06/Mar/2008:12:50:22 -0600] "GET /user/public/index.html HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12"
    my.ip.address - - [06/Mar/2008:12:50:22 -0600] "GET /user/public/javascripts/prototype.js HTTP/1.1" 304 - "http://ip.address/user/public/index.html" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12"
    my.ip.address - - [06/Mar/2008:12:50:22 -0600] "GET /user/public/javascripts/effects.js HTTP/1.1" 304 - "http://ip.address/user/public/index.html" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12"
    my.ip.address - - [06/Mar/2008:12:50:22 -0600] "GET /user/public/images/rails.png HTTP/1.1" 304 - "http://ip.address/user/public/index.html" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12"
    my.ip.address - - [06/Mar/2008:12:50:59 -0600] "GET /user/public/rails/info/properties HTTP/1.1" 500 81 "http://ip.address/user/public/index.html" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12"
    [Thu Mar 6 12:54:18 2008] [warn] FastCGI: (dynamic) server "/home/user/public_html/dir/public/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds


    Code:
    /usr/local/bin/ruby -v
    ruby 1.8.5 (2006-08-25) [i686-linux]
    
    whereis ruby          
    ruby: /usr/bin/ruby /usr/lib/ruby /usr/local/bin/ruby /usr/local/lib/ruby /usr/local/ruby /usr/man/man1/ruby.1
    
    ./dispatch.fcgi
    ./dispatch.fcgi:21:in `require': no such file to load -- ./../config/environment (LoadError)
            from ./dispatch.fcgi:21
     

    Attached Files:

    • 1.gif
      1.gif
      File size:
      20.1 KB
      Views:
      54
  2. Zion Ahead

    Zion Ahead Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    What on earth does that have to do with my subject?
     
Loading...

Share This Page