Got a 500 promlem


#1

here is what my apache error_log sayes about the problem.:

  • quote --------------------------------------------------

Undefined subroutine CGI::Vars
[Thu Apr 5 15:16:33 2001] [error] [client 192.168.0.174] Premature end of
script headers: /home/rt/rt/bin/cgi/webrt.cgi

  • quote --------------------------------------------------

the cgi have “-r-sr-xr-x” rights, guess that should do the trick.

I guess you need to know more, but I don’t know what to tell.
please feel free to ask.

-un-> ulrik nielsen


#2

Undefined subroutine CGI::Vars
[Thu Apr 5 15:16:33 2001] [error] [client 192.168.0.174] Premature end of
script headers: /home/rt/rt/bin/cgi/webrt.cgi

It looks like your perl is missing CGI::Vars for some reason. I believe
(but could easily be very wrong) that that is part of the CGI bundle. Try
re-installing CGI using cpan.


#3

Undefined subroutine CGI::Vars
[Thu Apr 5 15:16:33 2001] [error] [client 192.168.0.174] Premature end
of

script headers: /home/rt/rt/bin/cgi/webrt.cgi

It looks like your perl is missing CGI::Vars for some reason.
I believe
(but could easily be very wrong) that that is part of the CGI
bundle. Try
re-installing CGI using cpan.

sorry for beeing a pain in the ass.
i’m not realy a linux administrator so…

How do I reinstall CGI ??
When I installed rt i ran:
perl /tmp/rt/bin/testdeps.pl -warn
and
perl /tmp/rt/bin/testdeps.pl -fix
thought that would solve my probs…

-un-> ulrik nielsen


#4

Thanks Jesse, but that did not solve the problem
…still getting the same error… :o(

-un-> ulrik nielsen


#5

Jumping in… try:

perl -MCPAN -e’install CGI::Vars’On Thu, 5 Apr 2001, Ulrik Nielsen wrote:

Thanks Jesse, but that did not solve the problem
…still getting the same error… :o(

-un-> ulrik nielsen

perl -MCPAN -e’install CGI’

On Thu, Apr 05, 2001 at 04:21:09PM +0200, Ulrik Nielsen wrote:

On Thu, 5 Apr 2001, Ulrik Nielsen wrote:

Undefined subroutine CGI::Vars