[Melbourne-pm] perl error message

John Thornton jdthornton at ozemail.com.au
Thu Aug 21 03:22:41 PDT 2008


Right...I looked and this is the error log in Apache:

[Thu Aug 21 07:13:09 2008] [notice] Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9
OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6 configured -- resuming normal
operations
[Thu Aug 21 07:13:09 2008] [notice] Server built: Jun 14 2008 19:02:12
[Thu Aug 21 07:13:09 2008] [notice] Parent: Created child process 168
[Thu Aug 21 07:13:10 2008] [notice] Child 168: Child process is running
[Thu Aug 21 07:13:10 2008] [notice] Child 168: Acquired the start mutex.
[Thu Aug 21 07:13:10 2008] [notice] Child 168: Starting 250 worker threads.
[Thu Aug 21 07:13:10 2008] [notice] Child 168: Starting thread to listen on
port 443.
[Thu Aug 21 07:13:10 2008] [notice] Child 168: Starting thread to listen on
port 80.
[Thu Aug 21 07:17:00 2008] [error] [client 127.0.0.1] PHP Warning:  Variable
passed to each() is not an array or object in
C:\\xampp\\htdocs\\xampp\\head.php on line 27, referer:
http://localhost/xampp/
[Thu Aug 21 07:29:49 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello.cgi
[Thu Aug 21 07:30:54 2008] [error] [client 127.0.0.1] PHP Warning:  Variable
passed to each() is not an array or object in
C:\\xampp\\htdocs\\xampp\\head.php on line 27, referer:
http://localhost/xampp/
[Thu Aug 21 07:36:43 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello.cgi
[Thu Aug 21 11:52:34 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello.cgi
[Thu Aug 21 11:53:16 2008] [error] [client 127.0.0.1] File does not exist:
C:/xampp/htdocs/Desktop
[Thu Aug 21 11:53:46 2008] [error] [client 127.0.0.1] File does not exist:
C:/xampp/htdocs/Desktop
[Thu Aug 21 12:11:08 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello.cgi
[Thu Aug 21 13:05:48 2008] [notice] Parent: Received shutdown signal --
Shutting down the server.
[Thu Aug 21 13:05:48 2008] [notice] Child 168: Exit event signaled. Child
process is ending.
[Thu Aug 21 13:05:49 2008] [notice] Child 168: Released the start mutex
[Thu Aug 21 13:05:50 2008] [notice] Child 168: All worker threads have
exited.
[Thu Aug 21 13:05:50 2008] [notice] Child 168: Child process is exiting
[Thu Aug 21 13:05:50 2008] [notice] Parent: Child process exited
successfully.
[Thu Aug 21 13:05:53 2008] [notice] Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9
OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6 configured -- resuming normal
operations
[Thu Aug 21 13:05:53 2008] [notice] Server built: Jun 14 2008 19:02:12
[Thu Aug 21 13:05:53 2008] [notice] Parent: Created child process 5812
[Thu Aug 21 13:05:54 2008] [notice] Child 5812: Child process is running
[Thu Aug 21 13:05:54 2008] [notice] Child 5812: Acquired the start mutex.
[Thu Aug 21 13:05:54 2008] [notice] Child 5812: Starting 250 worker threads.
[Thu Aug 21 13:05:54 2008] [notice] Child 5812: Starting thread to listen on
port 443.
[Thu Aug 21 13:05:54 2008] [notice] Child 5812: Starting thread to listen on
port 80.
[Thu Aug 21 13:18:47 2008] [error] [client 127.0.0.1] PHP Warning:  Variable
passed to each() is not an array or object in
C:\\xampp\\htdocs\\xampp\\head.php on line 27, referer:
http://localhost/xampp/
[Thu Aug 21 13:18:54 2008] [error] [client 127.0.0.1] PHP Warning:  Variable
passed to each() is not an array or object in
C:\\xampp\\htdocs\\xampp\\head.php on line 27, referer:
http://localhost/xampp/
[Thu Aug 21 13:19:14 2008] [error] [client 127.0.0.1] PHP Warning:  Variable
passed to each() is not an array or object in
C:\\xampp\\htdocs\\xampp\\head.php on line 27, referer:
http://localhost/xampp/
[Thu Aug 21 13:23:52 2008] [error] [client 127.0.0.1] PHP Notice:  Undefined
index:  text in C:\\xampp\\htdocs\\xampp\\ming.php on line 18, referer:
http://localhost/xampp/navi.php
[Thu Aug 21 13:23:53 2008] [error] [client 127.0.0.1] PHP Fatal error:
Class 'SWFFont' not found in C:\\xampp\\htdocs\\xampp\\mingswf.php on line
19, referer: http://localhost/xampp/ming.php
[Thu Aug 21 15:16:55 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello.cgi
[Thu Aug 21 15:22:04 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello.cgi
[Thu Aug 21 15:22:32 2008] [error] [client 127.0.0.1]
C:/xampp/cgi-bin/hello.pl is not executable; ensure interpreted scripts have
"#!" first line
[Thu Aug 21 15:22:32 2008] [error] [client 127.0.0.1] (9)Bad file
descriptor: don't know how to spawn child process: C:/xampp/cgi-bin/hello.pl
[Thu Aug 21 15:23:16 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello.cgi
[Thu Aug 21 15:23:28 2008] [error] [client 127.0.0.1]
C:/xampp/cgi-bin/hello.pl is not executable; ensure interpreted scripts have
"#!" first line
[Thu Aug 21 15:23:28 2008] [error] [client 127.0.0.1] (9)Bad file
descriptor: don't know how to spawn child process: C:/xampp/cgi-bin/hello.pl
[Thu Aug 21 15:48:30 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello.cgi
[Thu Aug 21 15:48:49 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/tiger.cgi
[Thu Aug 21 15:53:18 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello.cgi
[Thu Aug 21 15:53:44 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/tiger.cgi
[Thu Aug 21 15:54:26 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/tiger.pl
[Thu Aug 21 15:54:44 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/tiger.cgi
[Thu Aug 21 15:55:36 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello.cgi
[Thu Aug 21 15:57:01 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello.cgi
[Thu Aug 21 16:18:52 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello.cgi
[Thu Aug 21 17:30:07 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello.cgi
[Thu Aug 21 17:30:28 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello4.cgi
[Thu Aug 21 17:30:59 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello4.cgi
[Thu Aug 21 17:31:08 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello.cgi
[Thu Aug 21 17:31:17 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello4.cgi
[Thu Aug 21 17:33:42 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello.cgi
[Thu Aug 21 17:42:21 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello4.cgi
[Thu Aug 21 17:44:37 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello4.cgi
[Thu Aug 21 19:18:04 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello.cgi
[Thu Aug 21 19:18:31 2008] [error] [client 127.0.0.1] (OS 3)The system
cannot find the path specified.  : couldn't create child process: 720003:
new43.CGI
[Thu Aug 21 19:18:31 2008] [error] [client 127.0.0.1] (OS 3)The system
cannot find the path specified.  : couldn't spawn child process:
C:/xampp/cgi-bin/new43.CGI
[Thu Aug 21 19:21:47 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello.cgi
[Thu Aug 21 19:22:04 2008] [error] [client 127.0.0.1] (OS 3)The system
cannot find the path specified.  : couldn't create child process: 720003:
new433.cgi
[Thu Aug 21 19:22:04 2008] [error] [client 127.0.0.1] (OS 3)The system
cannot find the path specified.  : couldn't spawn child process:
C:/xampp/cgi-bin/new433.cgi
[Thu Aug 21 19:54:28 2008] [error] [client 127.0.0.1] (OS 3)The system
cannot find the path specified.  : couldn't create child process: 720003:
new433.cgi
[Thu Aug 21 19:54:28 2008] [error] [client 127.0.0.1] (OS 3)The system
cannot find the path specified.  : couldn't spawn child process:
C:/xampp/cgi-bin/new433.cgi
[Thu Aug 21 19:55:04 2008] [error] [client 127.0.0.1] script not found or
unable to stat: C:/xampp/cgi-bin/hello.cgi
[Thu Aug 21 19:55:22 2008] [error] [client 127.0.0.1] (OS 3)The system
cannot find the path specified.  : couldn't create child process: 720003:
new433.cgi
[Thu Aug 21 19:55:22 2008] [error] [client 127.0.0.1] (OS 3)The system
cannot find the path specified.  : couldn't spawn child process:
C:/xampp/cgi-bin/new433.cgi

The very last entry would have been my last and best attempt. 

But how does that info help me?

John 

____________________________________________________________________________
____________________________________________________________________________
_-



-----Original Message-----
From: wayland at gwalcmai.nelson.org.au [mailto:wayland at gwalcmai.nelson.org.au]
On Behalf Of Timothy S. Nelson
Sent: Thursday, 21 August 2008 7:33 PM
To: John Thornton
Cc: melbourne-pm at pm.org
Subject: Re: [Melbourne-pm] perl error message

On Tue, 19 Aug 2008, John Thornton wrote:

>
>       When I try to put the perl script hello world! into the browser I
get
> this:
>
>      Not Found
>
> The requested URL /cgi-bin/hello.cgi was not found on this server.
>
>  [the top of the creen has the 404 NotFound - Mozilla message]

 	The next step is to find your Apache error log, and look at what it 
says.  Apache doesn't send all the information about the error message to
the 
web browser (for security reasons), so it writes extra information into the 
error log.  The error log could be anywhere, depending on your Apache 
configuration (I'm a Linux guy, so I don't know where is is on Windows).

 	This will tell you where Apache is looking for the file.  Then, when

you know that, move the file to where Apache wants it to be.

 	HTH,


---------------------------------------------------------------------
| Name: Tim Nelson                 | Because the Creator is,        |
| E-mail: wayland at wayland.id.au    | I am                           |
---------------------------------------------------------------------

----BEGIN GEEK CODE BLOCK----
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
-----END GEEK CODE BLOCK-----


More information about the Melbourne-pm mailing list