LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   perl problems with radhat 9.0 (https://www.linuxquestions.org/questions/linux-newbie-8/perl-problems-with-radhat-9-0-a-205839/)

jmg1894 07-16-2004 09:46 AM

perl problems with radhat 9.0
 
I am trying to access a web page that is stored on a linux server and after I see the main page if I click on any of the links I get an error 500
Server error!
> The server encountered an internal error and was unable to complete
your
> request.
> Error message:
> Premature end of script headers: monitor.cgi

I checked and that file monitor.cgi is there. If I run the following command I this error message.

[root@jonesivr Voicetronix]# perl -MModule::Name
Can't locate Module/Name.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-li
nux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-
thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/pe
rl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /
usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/
perl5/5.8.0 .).
BEGIN failed--compilation aborted.

Can anyone help me with this problem.
Thanks

SheldonPlankton 07-16-2004 12:12 PM

You need to install the Module::Name module. I assume you are using Module::Name just as a example because I don't think there is such a module.

What exactly are you trying to do? You clicked on a link and gotta 500 error so why run
perl -MModule::Name as root on the command-line on your locale system??? What good is that going to do you?

Why not login to you web server and execute monitor.cgi to see what's wrong?


All times are GMT -5. The time now is 08:02 PM.