require 'fcgi' fails

Alexander Küken <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Hi,

when I try to run a fcgi script under my apache server, i get an 500  
error. The error log contains the following:

[Sun Apr 23 04:15:36 2006] [notice] FastCGI: process manager  
initialized (pid 22803)
       2 [Sun Apr 23 04:15:36 2006] [warn] FastCGI: server "/Users/ 
alexander/opt/apache/fcgi-bin/perftest.fcgi" started (pid 22804)
       3 [Sun Apr 23 04:15:36 2006] [notice] Apache/2.0.55 (Unix)  
mod_fastcgi/2.4.2 mod_ruby/1.2.5 Ruby/1.8.4(2005-12-24) configured --  
resuming normal ope        rations
       4 /Users/alexander/opt/apache/fcgi-bin/perftest.fcgi:4:in  
`require': No such file to load -- fcgi (LoadError)
       5         from /Users/alexander/opt/apache/fcgi-bin/ 
perftest.fcgi:4
       6 [Sun Apr 23 04:15:37 2006] [warn] FastCGI: server "/Users/ 
alexander/opt/apache/fcgi-bin/perftest.fcgi" (pid 22804) terminated  
by calling exit with         status '1'
       7 [Sun Apr 23 04:15:41 2006] [warn] FastCGI: server "/Users/ 
alexander/opt/apache/fcgi-bin/perftest.fcgi" restarted (pid 22810)

When I try to run the script under lighttpd on the same machine,  
there is no LoadError and the Script works fine. The same, when I run  
the script in the command line.

Any ideas?

With best regards

Alexander Küken
  
   
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.