The correct log location is /var/log/ispconfig/httpd/{mainURL}/ and not /var/www/{mainURL}/log/, so what you did is just damaging your system instead of fixing something. The path /var/www/{mainURL}/log/ is a bind mount in /etc/fstab pointing to /var/log/ispconfig/httpd/{mainURL}/. If the bind mount is not working then your linux system did not run all mounts from fstab or you removed the config that ispconfig added there. If your system did not applied the mounts after a reboot, run just: mount -a
Yet the logrotate according docs is only working on the /var/www/{mainURL}/log/ directories since ispconfig does its own logrotate. So either way its killing? Just had a long read about your remarks in forum in regards to log rotates
If you think that you know ISPConfig better than its lead developer, the leave your modification as it is but don't complain later when your system is broken.
Thats not the point at all - sorry if ya got the impression. I went through a heap of replies on that by you over the last 6 years. Back to logs: Those links are fixed - yet why are the fstab settings lost since May :/ And how are those set?
No problems on any of my server and the client systems that I maintain. Are the mount points listed in /etc/fstab?
Check that the fatal is not immutable. Is this a visit so that some other software might have removed the lines?
Just checked on a CentOS 7 perfect server, the fstab file is not a symlink here: [root@server2 ~]# ls -la /etc/fstab -rw-r--r--. 1 root root 819 Oct 28 22:03 /etc/fstab So I guess you must have installed some additional packages which replaces fstab with a symlink and causes this error on your server.
So far I could track it down to the installation time of ispconfig3, which was 11th of January 2015. Thats when the symbolic link was set. System itself was a raw CentOS7 - install from official releases. selinux? Didnt find anything there. (selinux is actually disabled) lvm? I doubt it ... didnt find anything either software Raid 1? ... Hard link fstab.md to fstab? Or plain copy fstab.md to fstab? Actually hardlink should fix it for ispconfig.
Actually I don't know what might cause this as I haven't had the issue yet. Both options should work. But you might want to try to google what fstab.md is and which software creates it and the symlink to better understand the implications of both options.
No real find on fstab.md in Google or Bing, except some apparently have it too, yet no explanation on the hows and whys.