MacBreaker Posted March 6, 2017 Posted March 6, 2017 Hi, I have problems with the versions "Armbian 5.25 Orangepizero Debian jessie default" and 5.26. When i install Nginx, the directory "nginx" is created in /var/log/. After a "reboot" the directory is then "disappeared", not possible to start Nginx. I can create the folder with error.log and access.log and restart Nginx. After this, it runs. After a reboot again, nginx is missig again... Any hints? The same happens with 5.25 and 5.26 on OrangePiOne, so far tested... I thing i'm not the only one with this problem. (I testet with "root" permissions only)
Igor Posted March 6, 2017 Posted March 6, 2017 Yes, I can confirm ramlog service is not working properly ... rsyncing on shutdown is not successful, while on demand works. Some services like Apache or Nginx won't start if log (directories) are missing. We need to figure out why is this so. On brief look everything looks normal ...
MacBreaker Posted March 6, 2017 Author Posted March 6, 2017 Hello Igor, thanks for reply. I testet with a plain installation with 5.24, install nginx and then apt-get dist-upgrade to 5.26 and it works. This solution work for me...
Igor Posted March 6, 2017 Posted March 6, 2017 OK. This is better and more simple solution: systemctl stop log2ram.service systemctl disable log2ram.service
gnasch Posted March 6, 2017 Posted March 6, 2017 how about systemctl stop log2ram.service install apache, run first time creating directory, systemctl start log2ram.service
MacBreaker Posted March 7, 2017 Author Posted March 7, 2017 Quote systemctl stop log2ram.service install apache, run first time creating directory, systemctl start log2ram.service Thanks gnasch, I will give it a try if it works for me.
par-n-go Posted March 14, 2017 Posted March 14, 2017 I though that I did something wrong I fixed it with a script that created all the folders and restarted all the services, but now it's working without this. Thank you!!
Recommended Posts