Sign in to follow this  
MacBreaker

Problems since Versions 5.25 and 5.26 with /var/log/

Recommended Posts

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... :wacko:

 

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)

Share this post


Link to post
Share on other sites

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 ...

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

I though that I did something wrong :huh: 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!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this