Perl with Wamp 5
Posted by: JAKEhp55 (72.94.183.---)
Date: April 03, 2007 06:14PM

I am trying to run some CGI scripts that require Perl. When I try to execute them it says: "Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log."
The log says :
"Apr 03 12:17:20 2007] [error] [client 127.0.0.1] (OS 21)The device is not ready. : couldn't create child process: 720021: <processnamehere>"
Any help would be great.



Post Edited (04-03-07 18:21)

-JAKEhp55

Options: ReplyQuote
Re: Perl with Wamp 5
Posted by: yfastud (72.236.169.---)
Date: April 03, 2007 06:24PM


Options: ReplyQuote
Re: Perl with Wamp 5
Posted by: JAKEhp55 (72.94.183.---)
Date: April 03, 2007 06:39PM

Didnt quite work: I dont know where/how to get Perl installed as a WAMP module or whatever.



-JAKEhp55

Options: ReplyQuote
Re: Perl with Wamp 5
Posted by: yfastud (72.236.169.---)
Date: April 03, 2007 06:50PM


Options: ReplyQuote
Re: Perl with Wamp 5
Posted by: JAKEhp55 (72.94.183.---)
Date: April 03, 2007 07:04PM

OK. It works with the printenv.pl test file, but doesnt work with my CGI/Perl scripts. I have the header, #!c:/wamp/Perl/bin/perl.exe put in it, same one as is in the printenv.pl file. Also, the Perl module doesnt show up. I am not sure if it should. When I go to the CGI file it usually shows it's source code, however, now it shoes this : (The HTML is actually displayed in the browser, but isnt at all diffrernt in the source) <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
webmaster@localhost and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>



-JAKEhp55

Options: ReplyQuote
Re: Perl with Wamp 5
Posted by: yfastud (72.236.169.---)
Date: April 03, 2007 07:26PM


Options: ReplyQuote
Re: Perl with Wamp 5
Posted by: JAKEhp55 (72.94.183.---)
Date: April 03, 2007 11:18PM

Didnt work- did that, reset server, same error message.



-JAKEhp55

Options: ReplyQuote
Re: Perl with Wamp 5
Posted by: yfastud (---.cable.mindspring.com)
Date: April 04, 2007 12:11AM

Post here the address that you access your perl files, I mean how did you access your file?cgi/perl files must be in wamp/apache2/cgi-bin and run through browser as instructed in my old post

Have fun,

[www.jlbn.com] (testing WAMPS on Vista)
[test.jlbn.com] (testing codes on Vista)

Win Vista Business
Apache 2.2.4
MySQL 5.2.3 F-A
PHP 5.2.1
SSL 0.9.8D

phpMyAdmin 2.10.0.2



Post Edited (04-04-07 14:11)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Perl with Wamp 5
Posted by: CyberSpatium (71.237.217.---)
Date: April 04, 2007 01:40PM

cgi files have to go into the cgi-bin

then
localhost/cgi-bin/somefile.pl





CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!


Please visit my latest website Clarify Loans:
ClarifyLoans.com

Options: ReplyQuote
Re: Perl with Wamp 5
Posted by: JAKEhp55 (72.94.183.---)
Date: April 04, 2007 03:24PM

That is the way it is. I access them from either /cgiexec (an Alias) or through the full path /cgi-bin/scripts/productnamehere/install.cgi (which uses Perl). (The software is made by me and is called productnamehere because I havent named it yet)



-JAKEhp55

Options: ReplyQuote
Re: Perl with Wamp 5
Posted by: yfastud (72.236.169.---)
Date: April 04, 2007 04:03PM


Options: ReplyQuote
Re: Perl with Wamp 5
Posted by: CyberSpatium (71.237.217.---)
Date: April 05, 2007 11:14AM

JAKEhp55 wrote:

> That is the way it is. I access them from either /cgiexec (an
> Alias) or through the full path
> /cgi-bin/scripts/productnamehere/install.cgi (which uses Perl).
> (The software is made by me and is called productnamehere
> because I havent named it yet)
>

actually the full path will be:
/cgi-bin/productnamehere/install.cgi


CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!


Please visit my latest website Clarify Loans:
ClarifyLoans.com

Options: ReplyQuote


Sorry, only registered users may post in this forum.