www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wm Brian McCane <bmcc...@maxbaud.net>
Subject general/2474: httpd failed to start
Date Sat, 20 Jun 1998 01:17:14 GMT

>Number:         2474
>Category:       general
>Synopsis:       httpd failed to start
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Jun 19 18:20:00 PDT 1998
>Originator:     bmccane@maxbaud.net
>Release:        1.3b6
FreeBSD -current cvsup'd 06/16/98
When I tried to start httpd, I would get the following error:
[Wed Jun 17 05:06:14 1998] [emerg] (2)No such file or directory: Parent cannot o
pen lock file:

Then the program terminated.

I traced the problem to a boundary condition when creating the string for the name of the
lock file "/var/run/httpd.lock.18254".  Instead of creating the name, a 0 byte string was
returned.  This was a result of the ap_vformatter going past the end of the current vbuff.
Not sure.  I modified my httpd.conf file to have a "recoverable" bug.  I gave a VirtualHost
2 copies of the same address.  This causes a log message which allocates a block in the pool
then everything is fine.
Check the return value form the expand_lock_fname to verify a valid string has been returned.
 Retry if it failed.
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]

View raw message