This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Apache 1.3.33 on W2003 problems only on system boot


On Wed, 30 Aug 2006, ukr.name.lists wrote:

> Hello List,
>
> I'm running Apache 1.3.33 on W2003 Terminal Server as service starting it
> under sshd_server account. It works as a charm most of the time.
> But not on system boot - it serves static pages but whenever I'm trying to
> run Perl CGI script I'm getting 503 error with following lines in log:
>
> vhost's error_log:
> [Tue Aug 29 09:50:57 2006] [error] [client 192.168.128.100]
> (11)Resource temporarily unavailable: couldn't spawn child process: /tmp/base/cgi-bin/catfix.cgi
>
> main error_log:
> [Tue Aug 29 09:49:46 2006] [notice] Apache/1.3.33 (Cygwin) configured -- resuming normal operations
> [Tue Aug 29 09:49:46 2006] [notice] Accept mutex: pthread (Default: pthread)
>       5 [main] ? (3836) E:\Cygwin\usr\sbin\httpd.exe: *** fatal error - E:\Cygwin\usr\sbin\httpd.exe: *** couldn't allocate heap, Win32 error 0, base 0x660000, top 0x6A0000, reserve_size 258048, allocsize 262144, page_const 4096
>       6 [main] httpd 412 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11
>       5 [main] ? (3888) E:\Cygwin\usr\sbin\httpd.exe: *** fatal error - E:\Cygwin\usr\sbin\httpd.exe: *** couldn't allocate heap, Win32 error 0, base 0x660000, top 0x690000, reserve_size 192512, allocsize 196608, page_const 4096
>       7 [main] httpd 2044 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11
> [Tue Aug 29 09:50:58 2006] [error] (11)Resource temporarily unavailable: fork: Unable to fork new process
>
> But if after system boot I just did stop/start httpd service - everything
> returns to normal and Apache works as expected, including CGI scripts.
>
> Any suggestion on how to solve this are greatly appreciated.

It would have been more evident had you followed the Cygwin problem
reporting guidelines at <http://cygwin.com/problems.html>, but my guess is
that you're missing a dependency on some service (Tcp/ip?).  Try
reinstalling apache as a service with the right dependencies.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]