[pkg-lighttpd] Bug#625461: lighttpd: restart of lighty during logrotate fails

Daniel Roschka danielroschka at phoenitydawn.de
Tue May 3 16:11:07 UTC 2011

Package: lighttpd
Version: 1.4.28-2
Severity: important

During the daily logrotate run lighttpd is stopped and restarted. The restart fails regulary (every few weeks) since a while now.
Logrotate throws the following error:

2011-05-03 06:25:23: (network.c.358) can't bind to port: 443 Address already in use 
invoke-rc.d: initscript lighttpd, action "force-reload" failed.
error: error running shared postrotate script for '/var/log/lighttpd/users/*.log '
run-parts: /etc/cron.daily/logrotate exited with return

And the following lines appear in lighttpds error log:

2011-05-03 06:25:23: (server.c.1396) [note] graceful shutdown started
2011-05-03 06:25:23: (server.c.1512) server stopped by UID = 0 PID = 2711

Looks similar to me like the once fixed bug #380080.

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lighttpd depends on:
ii  libattr1                1:2.4.44-2       Extended attribute shared library
ii  libbz2-1.0              1.0.5-6          high-quality block-sorting file co
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libfam0                 2.7.0-17         Client library to control the FAM 
ii  libldap-2.4-2           2.4.23-7         OpenLDAP libraries
ii  libpcre3                8.02-1.1         Perl 5 Compatible Regular Expressi
ii  libssl0.9.8             0.9.8o-4squeeze1 SSL shared libraries
ii  libterm-readline-perl-p 1.0303-1         Perl implementation of Readline li
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii  mime-support            3.48-1           MIME files 'mime.types' & 'mailcap
ii  zlib1g                  1: compression library - runtime

Versions of packages lighttpd recommends:
ii  spawn-fcgi                    1.6.3-1    A fastcgi process spawner

Versions of packages lighttpd suggests:
ii  apache2-utils          2.2.16-6+squeeze1 utility programs for webservers
ii  openssl                0.9.8o-4squeeze1  Secure Socket Layer (SSL) binary a
ii  rrdtool                1.4.3-1           time-series data storage and displ

-- Configuration Files:
/etc/lighttpd/conf-available/10-ssl.conf changed [not included]
/etc/lighttpd/lighttpd.conf changed [not included]

-- no debconf information

More information about the pkg-lighttpd-maintainers mailing list