Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Couldn't spawn child process 2 out of every 3 times

Status
Not open for further replies.

jdaniel

Programmer
Joined
Sep 12, 2002
Messages
1
Location
US
I'm getting a very odd error. Every third time that it's run, my script works. The two times in between, it fails.

[Mon Jul 26 15:09:31 2004] [error] [client 192.168.1.160] (OS 2)The system cannot find the file specified. : couldn't create child process: 720002: deploy.cgi, referer: xxxx
[Mon Jul 26 15:09:31 2004] [error] [client 192.168.1.160] (OS 2)The system cannot find the file specified. : couldn't spawn child process: C:/apache/Apache2/cgi-bin/deploy.cgi, referer: xxx
[Mon Jul 26 15:10:30 2004] [error] [client 192.168.1.199] (22)Invalid argument: couldn't create child process: 22: deploy.cgi, referer: xxxx
[Mon Jul 26 15:10:30 2004] [error] [client 192.168.1.199] (22)Invalid argument: couldn't spawn child process: C:/apache/Apache2/cgi-bin/deploy.cgi, referer: xxxx


Here's a sample of what the access log looks like:

192.168.1.160 - [26/Jul/2004:15:08:13 -0400] "GET /cgi-bin/deploy.cgi HTTP/1.1" 500 642
192.168.1.160 - [26/Jul/2004:15:08:18 -0400] "GET /cgi-bin/deploy.cgi HTTP/1.1" 500 642
192.168.1.160 - [26/Jul/2004:15:08:20 -0400] "GET /cgi-bin/deploy.cgi HTTP/1.1" 200 1064
192.168.1.160 - [26/Jul/2004:15:09:00 -0400] "GET /cgi-bin/deploy.cgi HTTP/1.1" 500 642
192.168.1.160 - [26/Jul/2004:15:09:00 -0400] "GET /cgi-bin/deploy.cgi HTTP/1.1" 500 642
192.168.1.160 - [26/Jul/2004:15:09:01 -0400] "GET /cgi-bin/deploy.cgi HTTP/1.1" 200 1064
192.168.1.160 - [26/Jul/2004:15:09:31 -0400] "GET /cgi-bin/deploy.cgi HTTP/1.1" 500 642
192.168.1.160 - [26/Jul/2004:15:09:31 -0400] "GET /cgi-bin/deploy.cgi HTTP/1.1" 500 642
192.168.1.160 - [26/Jul/2004:15:09:32 -0400] "GET /cgi-bin/deploy.cgi HTTP/1.1" 200 1064
192.168.1.199 - [26/Jul/2004:15:10:30 -0400] "GET /cgi-bin/deploy.cgi HTTP/1.1" 500 642
192.168.1.199 - [26/Jul/2004:15:10:42 -0400] "GET /cgi-bin/deploy.cgi HTTP/1.1" 500 642
192.168.1.199 - [26/Jul/2004:15:10:45 -0400] "GET /cgi-bin/deploy.cgi HTTP/1.1" 200 1064

I'm running a standard windows batch file. The command looks like this:

#!c:\test\test.bat

Everyone has the ability to read/execute on that file and directory.

The batch file can contain nothing but rem This is a test, and it continues to run this way.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top