httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <>
Subject [PATCH] More sensible behavior(?) when zero-length pid file is found
Date Thu, 05 Feb 2004 13:01:43 GMT
When, with httpd-2.1, the pid file exists but has a zero size, then
httpd refuses to start.

The attached patch changes this behavior and removes the empty pid file
(but only if it exists AND is empty) and logs a message:

  (17)File exists: Zero-length PID file logs/ ignored.

to the console during startup.

Not a very frequent error indeed....

<>         |     Fujitsu Siemens
Fon: +49-89-636-46021, FAX: +49-89-636-47655 | 81730  Munich,  Germany

View raw message