abcd567 Posted May 3, 2017 Posted May 3, 2017 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:~$
Igor Posted May 3, 2017 Posted May 3, 2017 Its a bug in ramlog ... which is fixed in dev version. Disable it and install again or move to nightly build and install again.Wrote on mobile
Igor Posted May 3, 2017 Posted May 3, 2017 Or disable ramlog and recreate logs manually and start web server again.Wrote on mobile
abcd567 Posted May 3, 2017 Author Posted May 3, 2017 7 minutes ago, Igor said: Its a bug in ramlog ... which is fixed in dev version. Disable it and install again or move to nightly build and install again. Wrote on mobile Thank you for prompt reply.
abcd567 Posted May 3, 2017 Author Posted May 3, 2017 8 hours ago, Igor said: Or disable ramlog and recreate logs manually and start web server again. Wrote on mobile This is a noob question, but I have to ask: How to disable ramlog? In which file & folder the logs/ramlog is located?
Igor Posted May 3, 2017 Posted May 3, 2017 10 hours ago, abcd567 said: Thank you for prompt reply. edit /etc/default/log2ram disable reboot For standard question try to use machines - you will get an answer faster, you will learn something on the way and you will save our time.https://askubuntu.com/questions https://www.google.com https://forum.armbian.com/index.php?/search/
Recommended Posts