[pkg-lighttpd] Bug#705338: lighttpd: Does not start on boot if /var/log/lighttpd doesn't exist.

David M Smith sidicas2 at gmail.com
Sat Apr 13 10:09:42 UTC 2013


Package: lighttpd
Version: 1.4.31-4
Severity: important

Hello,

I'm using tmpfs / ramdisk for my /var/log and every reboot this folder gets
cleaned out.   After coming back up, lightttpd does not start automatically.

Aya:/home/david# /etc/init.d/lighttpd start
[....] Starting web server: lighttpd2013-04-13 18:07:33: (log.c.118) opening
errorlog '/var/log/lighttpd/error.log' failed: No such file or directory
.. ok
Aya:/home/david# mkdir /var/log/lighttpd
Aya:/home/david# /etc/init.d/lighttpd start
[....] Starting web server: lighttpd2013-04-13 18:07:43: (log.c.118) opening
errorlog '/var/log/lighttpd/error.log' failed: Permission denied
.. ok
Aya:/home/david# chown -R www-data /var/log/lighttpd
Aya:/home/david# /etc/init.d/lighttpd start
[ ok ] Starting web server: lighttpd.
Aya:/home/david#



-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing'), (2, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.6-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lighttpd depends on:
ii  libattr1                    1:2.4.46-8
ii  libbz2-1.0                  1.0.6-4
ii  libc6                       2.13-38
ii  libfam0                     2.7.0-17
ii  libldap-2.4-2               2.4.31-1
ii  libpcre3                    1:8.30-5
ii  libssl1.0.0                 1.0.1e-2
ii  libterm-readline-perl-perl  1.0303-1
ii  lsb-base                    4.1+Debian8
ii  mime-support                3.52-1
ii  perl                        5.14.2-20
ii  zlib1g                      1:1.2.7.dfsg-13

Versions of packages lighttpd recommends:
ii  spawn-fcgi  1.6.3-1

Versions of packages lighttpd suggests:
pn  apache2-utils  <none>
ii  openssl        1.0.1e-2
pn  rrdtool        <none>

-- no debconf information



More information about the pkg-lighttpd-maintainers mailing list