I need help.
Every time I restart apache log directory gets deleted. So after each reboot, I've to mkdir /var/log/apache2
any ideas how to solve this issue?
I've a hunch it's permissions problem, but hey... you know more than me :)
I need help.
Every time I restart apache log directory gets deleted. So after each reboot, I've to mkdir /var/log/apache2
any ideas how to solve this issue?
I've a hunch it's permissions problem, but hey... you know more than me :)
It sounds like you've mounted /var/log as tmpfs. Check your /etc/fstab file for a line like:
tmpfs /var/log ... Another possibility is that you're using "disk cleanup" software or have a cronjob that purges the directory on boot.