[rt-devel] FastCGI: can't use undefined value as filehandle
reference
Marc Hedlund
marc at precipice.org
Wed Oct 24 14:20:05 EDT 2001
That looks to me like it could be a perl version requirements. Does the
version of FCGI you're using require a more recent perl?
Marc Hedlund
e: marc at precipice dot org
On Wed, 24 Oct 2001, Feargal Reilly wrote:
> Hi,
> I'm playing with fastcgi, but I'm getting an internal server error.
>
> Logs say:
> Can't use an undefined value as filehandle reference at /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/FCGI.pm line 75.
> BEGIN failed--compilation aborted at /usr/libdata/perl/5.00503/CGI/Fast.pm line 22.
> BEGIN failed--compilation aborted at /usr/local/rt2/bin/mason_handler.fcgi line 86.
> [Wed Oct 24 10:58:48 2001] [warn] FastCGI: server "/usr/local/rt2/bin/mason_handler.fcgi" (pid 91013) terminated by calling exit with status '255'
> [Wed Oct 24 10:58:50 2001] [warn] FastCGI: server "/usr/local/rt2/bin/mason_handler.fcgi" restarted (pid 91014)
>
> Apache directives:
> AddHandler fastcgi-script .fcgi
> FastCgiServer /usr/local/rt2/bin/mason_handler.fcgi
>
> ScriptAlias /rttest/ /usr/local/rt2/bin/mason_handler.fcgi/
>
> I'm not running a virtual host.
>
> I think this may actually be a problem with FCGI.pm, as the following script:
> #!/usr/bin/perl
> use CGI::Fast;
>
> gives the following error:
> Can't use an undefined value as filehandle reference at /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/FCGI.pm line 75.
> BEGIN failed--compilation aborted at /usr/libdata/perl/5.00503/CGI/Fast.pm line 22.
> BEGIN failed--compilation aborted at test line 2.
>
> I'm using FCGI-0.64, mod_fastcgi_2.2.10, apache_1.3.22, perl 5.005_03, FreeBSD 4.1-STABLE.
> mod_fastcgi is compiled into apache.
>
> Any ideas if I'm doing something wrong with the config, or do I have a screwed fcgi installation?
>
> Cheers,
> -Feargal.
>
> _______________________________________________
> rt-devel mailing list
> rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel
>
More information about the Rt-devel
mailing list