Package: lighttpd
Version: 1.4.13-4

When Lighttpd is used in combination with PHP trough fast-CGI (probably also others?) the logrotate raises the following defunct proces:

12087 ?        S      0:00 /USR/SBIN/CRON
12088 ? Ss 0:00 /bin/sh -c test -x /usr/sbin/anacron || run-parts --r
12089 ?        S      0:00 run-parts --report /etc/cron.daily
12108 ?        Zs     0:00 [logrotate] <defunct>


After a lot of trial and error it seems that the addition of 2>&1 to both lines in the /etc/logrotate.d/lighttpd solves this problem:

        postrotate
           if [ -f /var/run/lighttpd.pid ]; then \
             if [ -x /usr/sbin/invoke-rc.d ]; then \
                invoke-rc.d lighttpd force-reload > /dev/null 2>&1; \
             else \
                /etc/init.d/lighttpd force-reload > /dev/null 2>&1; \
             fi; \
           fi;


Henk van de kamer


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to