Jump to content

lighttpd fails on Armbian_5.25_Orangepipc_Debian_jessie_default_3.4.113


abcd567

Recommended Posts

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:~$

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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/

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines