logrotate with lighttpd graceful shutdown and restart failed.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lighttpd (Debian) |
Fix Released
|
Unknown
|
|||
lighttpd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Dapper |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lighttpd
Sometimes don't but sometimes lighttpd graceful shutdown at 6:25am and never wake up until you do /etc/init.
This bug will make web server admin crazy bcoz you will never know if lighttpd will be still running tomorrow!
LOG: /var/log/
2006-12-05 06:25:33: (server.c.1216) [note] graceful shutdown started
2006-12-05 06:31:25: (server.c.1126) NOTE: a request for /AdView/
s. If this a problem increase server.
2006-12-05 06:31:25: (log.c.135) server stopped
2006-12-05 09:47:07: (log.c.75) server started
To fix the bug, edit /etc/logrotate.
replace the following lines:
if [ -f /var/run/
if [ -x /usr/sbin/
else \
fi; \
fi;
by:
if [ -f /var/run/
fi;
The solution's by darix in #lighttpd on Freenode.
Changed in lighttpd: | |
status: | Unknown → Fix Released |
Changed in lighttpd (Ubuntu Dapper): | |
status: | Fix Committed → Fix Released |
BTW, this bug's on both Debian and Ubuntu.