cannot spawn child process error for new installation of apache server
David Hawcroft 22 August 2002 16:51:51
I have just recently installed Apache on my win2000 machine which is also running visual studio.net supposedly, though for some reason that web server won't come up. My machine is stand alone. It is not networked to anything. Trying to learn to write cgi scripts I tried to run the printenv.pl and got a message in the error log 'can't spawn child process'. I wrote the suggested hello world perl script, too and got the same message. I've read enough to know that Apache spawns a child process when it runs... so this much it can do....else it wouldn't be running... I'm using 127.0.0.1 to find the server but it's also configured with a server name: www.honey.com which I stuck in from sheer ignorance. I still don't really know if it matters or not. Any help/advice will be much appreciated.
regards, abrogard@yahoo.com
__________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org
If your machine is not networked you probably don't have an ethernet card so you won't have an IP address. So don't bother with a ServerName directtive and apache will just use the loopback localhost IP address which is 127.0.0.1. Then you will be able to hit the server from a browser on the same machine at http://127.0.0.1/.
If you got messages in the logs when you try to hit the server then it must be up - may be you meant the pages didn't work? Do static html pages work? The child process that apache can't spawn is the CGI program itself.. Check your path to perl on the first line of the program is correct and check you have a ScriptAlias directive for the CGI directory.
Rgds,
Owen Boyle
-----Original Message----->From: david hawcroft [mailto:abrogard@yahoo.com]>Sent: Donnerstag, 22. August 2002 15:40>To: users@httpd.apache.org>Subject: cannot spawn child process error for new installation >of apache>server>
I have just recently installed Apache on my win2000 machine which is>also running visual studio.net supposedly, though for some reason>that web server won't come up.>My machine is stand alone. It is not networked to anything.>Trying to learn to write cgi scripts I tried to run the printenv.pl>and got a message in the error log 'can't spawn child process'.>I wrote the suggested hello world perl script, too and got the same>message.>I've read enough to know that Apache spawns a child process when it>runs... so this much it can do....else it wouldn't be running...>I'm using 127.0.0.1 to find the server but it's also configured with>a server name: www.honey.com which I stuck in from sheer ignorance. I>still don't really know if it matters or not.>Any help/advice will be much appreciated.>
regards,>abrogard@yahoo.com>
__________________________________________________>Do You Yahoo!?>HotJobs - Search Thousands of New Jobs>http://www.hotjobs.com>
--------------------------------------------------------------------->The official User-To-User support forum of the Apache HTTP >Server Project.>See <URL:http://httpd.apache.org/userslist.html> for more info.>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org> " from the digest: users-digest-unsubscribe@httpd.apache.org>For additional commands, e-mail: users-help@httpd.apache.org>
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org