The lighttpd fails when installed on following two distros:
(1) Armbian_5.25_Orangepipc_Debian_jessie_default_3.4.113
(2) Armbian_5.25_Orangepipc_Ubuntu_xenial_default_3.4.113_desktop
How to solve this problem?
The code below gives the details.
Welcome to ARMBIAN 5.25 stable Debian GNU/Linux 8 (jessie) 3.4.113-sun8i
pi@orangepipc:~$ uname -a
Linux orangepipc 3.4.113-sun8i #10 SMP PREEMPT Thu Feb 23 19:55:00 CET 2017 armv7l GNU/Linux
pi@orangepipc:~$ sudo apt-get update
pi@orangepipc:~$ sudo apt-get install lighttpd
pi@orangepipc:~$ sudo systemctl restart lighttpd
pi@orangepipc:~$ sudo systemctl status lighttpd -l
● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/ lib / systemd / system / lighttpd.service; enabled)
Active: failed (Result: exit-code) since Mon 2017-05-01 15:42:43 CEST; 40s ago
Process: 917 ExecStart=/usr/sbin/lighttpd -D -f / etc / lighttpd / lighttpd.conf (code=exited, status=255)
Process: 909 ExecStartPre= / usr / sbin / lighttpd -t -f / etc / lighttpd / lighttpd.conf (code=exited, status=0 / SUCCESS)
Main PID: 917 (code=exited, status=255)
May 01 15:42:42 orangepipc lighttpd[909]: Syntax OK
May 01 15:42:43 orangepipc systemd[1]: Started Lighttpd Daemon.
May 01 15:42:43 orangepipc lighttpd[917]: 2017-05-01 15:42:43: (log.c.118) opening errorlog ' / var / log / lighttpd / error.log' failed: No such file or directory
May 01 15:42:43 orangepipc systemd[1]: lighttpd.service: main process exited, code=exited, status=255 / n / a
May 01 15:42:43 orangepipc systemd[1]: Unit lighttpd.service entered failed state.
pi@orangepipc:~$