You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by "Dr.Mathias Wilhelm" <ma...@datacomm.ch> on 2001/05/11 14:12:17 UTC
os-windows/7700: cannot spawn child process
>Number: 7700
>Category: os-windows
>Synopsis: cannot spawn child process
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: support
>Submitter-Id: apache
>Arrival-Date: Fri May 11 05:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: mathias.wilhelm@datacomm.ch
>Release: 1.3.19
>Organization:
apache
>Environment:
Windows2000-SR1
Apache 1.3.19 for windows - binary distribution
>Description:
I instaled the apache server software under c:\appl\Apache
Server works, but starting the CGI script c:\appl\Apache\cgi-bin\printenv.pl using
http://<server>/cgi-bin/printenv.pl gives the internal server error with entry
couldn't spawn child process: c:/appl/apache/cgi-bin/printenv.pl
I am using the default httpd.conf file
I have enabled OPTION +ExecCGI for the directory
I have enabled AddHandler cgi-script .cgi
I am using NTFS, file permissions are checked and OK
I have checked the bug-db and none of the articles helped
Perl is installed, script runs in command mode
Shouldn't the out-of-the-box script run?
Any help appreciated - the best solution, switch to linux, is not available. The
linux httpd.conf file does not change the situation (linux on second partition)
Ciao, Mathias
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]
Re: os-windows/7700: cannot spawn child process
Posted by "William A. Rowe, Jr." <ad...@rowe-clan.net>.
> I instaled the apache server software under c:\appl\Apache
> Server works, but starting the CGI script c:\appl\Apache\cgi-bin\printenv.pl using
> http://<server>/cgi-bin/printenv.pl gives the internal server error with entry
> couldn't spawn child process: c:/appl/apache/cgi-bin/printenv.pl
> I am using the default httpd.conf file
> I have enabled OPTION +ExecCGI for the directory
> I have enabled AddHandler cgi-script .cgi
> I am using NTFS, file permissions are checked and OK
> I have checked the bug-db and none of the articles helped
> Perl is installed, script runs in command mode
> Shouldn't the out-of-the-box script run?
Does correcting the shebang line (first line of the perl script) to point to your
real perl, e.g.
#!c:/perl/bin/perl.exe
or simply
#!perl
solve your problem?