Page 1 of 1

hi team

PostPosted: 04. June 2009 16:47
by arunajsa
hi i am new to this Perl CGI world.... i jus started doing some example scripts, here i will mention the code,

#!c:\xampp\perl\bin\perl.exe

print "content-type: text/html\n\n";

print "Environment:";
print "<HR>\n";
print "<PRE>\n";

foreach (sort(keys %ENV)) {
print "$_ = $ENV{$_}\n";
}
print "</PRE>";
print "<HR><PRE>\n";
print "PWD = ",`pwd`;
print "</PRE><HR>\n";


after executing the sccript i am getting the error as below
--------------------------------------------------------------------------------
Server error!
The server encountered an internal error and was unable to complete your request.

Error message:
couldn't create child process: 720003: plot.cgi

If you think this is a server error, please contact the webmaster.

Error 500
localhost
6/4/2009 6:32:00 PM
Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.9 mod_perl/2.0.4 Perl/v5.10.0
-----------------------------------------------------------------------------------


Kindly let me know whether i need to change any environment variable settings

Thanks in advance

regards

Aruna

Re: hi team

PostPosted: 04. June 2009 16:50
by Wiedmann
Error 500

What can you read in Apaches' "error.log"?

Re: hi team

PostPosted: 04. June 2009 17:25
by arunajsa
Hi Wiedmann,

Sorry to ask this silly question, where i can get this error.log file... as i am very new to this scripting.....


Thank for ur reply...

regards

Aruna