Mailing List Archive

[Bug 8198] New: - Error message: couldn't create child process: 22502:
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8198>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8198

Error message: couldn't create child process: 22502:

Summary: Error message: couldn't create child process: 22502:
Product: Apache httpd-2.0
Version: 2.0.35
Platform: PC
URL: http://127.0.0.1/cgi-bin/env.pl
OS/Version: Windows NT/2K
Status: NEW
Severity: Minor
Priority: Other
Component: mod_cgi
AssignedTo: bugs@httpd.apache.org
ReportedBy: T.Nix@alcatel.de


Serverfehler!
Die Anfrage kann nicht beantwortet werden, da im Server ein interner Fehler
aufgetreten ist.
Fehlermeldung:
couldn't create child process: 22502: C:/Apache/Apache2/cgi-bin/env.pl
Sofern Sie dies für eine Fehlfunktion des Servers halten, informieren Sie bitte
den webmaster hierüber.
Error 500
sls4v2
04/17/02 12:55:35
Apache/2.0.35 (Win32)

The log says ([Wed Apr 17 12:55:35 2002] [error] [client 149.204.217.137]
(22502)Das System kann die angegebene Datei nicht finden. : couldn't create
child process: 22502: C:/Apache/Apache2/cgi-bin/env.pl
[Wed Apr 17 12:55:35 2002] [error] [client 149.204.217.137] (22502)Das System
kann die angegebene Datei nicht finden. : couldn't spawn child process:
C:/Apache/Apache2/cgi-bin/env.pl)

#!C:/programme/Perl/bin/perl -w
# env.pl
# This script dumps the environment variables in HTML format
use strict;
use warnings;
$|=1;
print "Content-type:text/html\n\n";
foreach my $var (sort keys %ENV) {print $var . "=" . $ENV{$var} . "<br>\n";}

after i change it to (perl.exe)

#!C:/programme/Perl/bin/perl.exe -w
# env.pl
# This script dumps the environment variables in HTML format
use strict;
use warnings;
$|=1;
print "Content-type:text/html\n\n";
foreach my $var (sort keys %ENV) {print $var . "=" . $ENV{$var} . "<br>\n";}

in the Apache 1.3 there works both perl scripts.