Jump to content

Olimex lime2 Legacy 3.4.113 desktop Xenial fresh install lighttpd problem


Aqua-Passion

Recommended Posts

Hello , I have a fresh install of armbian Legacy 3.4.113 desktop Xenial on olimex lime2

I try since many hours to install  lighttpd but I have a problem

On a new fresh install I do

apt-get update && apt-get upgrade

after a restart i install lighttpd

apt-get install lighttpd

after this , without restart if I test lighttpd it's ok

 

but after a restart lighttpd won't start

 

A strange thing is after install I have "/var/log/lighttpd/error.log" but after the restart it disappears and lighttpd don't re-create it

 

if i do

 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf

I have

(log.c.118) opening errorlog '/var/log/lighttpd/error.log' failed: No such file or directory

 

 

I do not understand why this folder is erased on reboot

can you help me please ?

 

Link to comment
Share on other sites

I do not understand why this folder is erased on reboot

 

We are using ram logging to gain performance and save SD media and which might have some issues ... Temporally workaround is to create this file along with directory.

Link to comment
Share on other sites

We are using ram logging to gain performance and save SD media and which might have some issues ... Temporally workaround is to create this file along with directory.

ok

thank you for your help

I will try like this

On my first try I have used system on hdd , in this case logs are written on the ram too?

There is an option planned in the future to write the logs on HDD ?

 

Best regards , Stephane

Link to comment
Share on other sites

There is an option planned in the future to write the logs on HDD ?

 

We need to find out what the problem might be ... Just disable ramlog service and you are back to normal / slower logging. 

Link to comment
Share on other sites

sorry I just have another little question

I have try

/etc/init.d/ramlog disable

/etc/init.d/ramlog: No such file or directory
 

service ramlog disable 

ramlog: unrecognized service

service --status-all
 [ - ]  alsa-utils
 [ - ]  ap6212-bluetooth
 [ - ]  apparmor
 [ - ]  armhwinfo
 [ + ]  avahi-daemon
 [ + ]  bluetooth
 [ - ]  bootmisc.sh
 [ - ]  brcm40183-patch
 [ - ]  checkfs.sh
 [ - ]  checkroot-bootclean.sh
 [ - ]  checkroot.sh
 [ + ]  console-setup
 [ + ]  cpufrequtils
 [ + ]  cron
 [ + ]  dbus
 [ - ]  etc-setserial
 [ + ]  fake-hwclock
 [ - ]  firstrun
 [ + ]  haveged
 [ + ]  hddtemp
 [ - ]  hostapd
 [ - ]  hostname.sh
 [ - ]  hwclock.sh
 [ - ]  keyboard-setup.dpkg-bak
 [ - ]  killprocs
 [ + ]  kmod
 [ + ]  lighttpd
 [ + ]  lirc
 [ + ]  loadcpufreq
 [ - ]  mountall-bootclean.sh
 [ - ]  mountall.sh
 [ - ]  mountdevsubfs.sh
 [ - ]  mountkernfs.sh
 [ - ]  mountnfs-bootclean.sh
 [ - ]  mountnfs.sh
 [ + ]  mysql
 [ + ]  network-manager
 [ + ]  networking
 [ + ]  nodm
 [ + ]  ntp
 [ - ]  ondemand
 [ + ]  php7.0-fpm
 [ + ]  procps
 [ + ]  rc.local
 [ ? ]  rc.usbsrvd
 [ - ]  resize2fs
 [ + ]  resolvconf
 [ - ]  rsync
 [ + ]  rsyslog
 [ - ]  screen-cleanup
 [ - ]  sendsigs
 [ - ]  setserial
 [ + ]  ssh
 [ + ]  sysfsutils
 [ + ]  sysstat
 [ + ]  udev
 [ - ]  umountfs
 [ - ]  umountnfs.sh
 [ - ]  umountroot
 [ - ]  unattended-upgrades
 [ + ]  urandom
 [ - ]  x11-common

 

 

What is the right way to disable it ?

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