durch einen Zufall haben ich mir die php-error.log angesehen und alle 7 Tage (ist ein Sonntag) um ca. 06:25 Uhr immer diese Meldungen gesehen:
Code: Select all
[14-Nov-2021 06:24:55 Europe/Berlin] PHP Warning: file_put_contents(/etc/awstats/awstats.XXXXXXX.conf): failed to open stream: Read-only file system in /home/keyhelp/www/keyhelp/cronjob/jobs/statistic.php on line 504
[14-Nov-2021 06:25:03 Europe/Berlin] PHP Warning: file_put_contents(/etc/awstats/awstats.XXXXXXX.conf): failed to open stream: Read-only file system in /home/keyhelp/www/keyhelp/cronjob/jobs/statistic.php on line 504
[14-Nov-2021 06:25:09 Europe/Berlin] PHP Warning: file_put_contents(/etc/awstats/awstats.XXXXXXX.conf): failed to open stream: Read-only file system in /home/keyhelp/www/keyhelp/cronjob/jobs/statistic.php on line 504
[14-Nov-2021 06:25:18 Europe/Berlin] PHP Warning: file_put_contents(/etc/awstats/awstats.XXXXXXX.conf): failed to open stream: Read-only file system in /home/keyhelp/www/keyhelp/cronjob/jobs/statistic.php on line 504
[14-Nov-2021 06:25:33 Europe/Berlin] PHP Warning: file_put_contents(/etc/awstats/awstats.XXXXXXX.conf): failed to open stream: Read-only file system in /home/keyhelp/www/keyhelp/cronjob/jobs/statistic.php on line 504
[21-Nov-2021 06:24:55 Europe/Berlin] PHP Warning: file_put_contents(/etc/awstats/awstats.XXXXXXX.conf): failed to open stream: Read-only file system in /home/keyhelp/www/keyhelp/cronjob/jobs/statistic.php on line 504
[21-Nov-2021 06:25:02 Europe/Berlin] PHP Warning: file_put_contents(/etc/awstats/awstats.XXXXXXX.conf): failed to open stream: Read-only file system in /home/keyhelp/www/keyhelp/cronjob/jobs/statistic.php on line 504
[21-Nov-2021 06:25:10 Europe/Berlin] PHP Warning: file_put_contents(/etc/awstats/awstats.XXXXXXX.conf): failed to open stream: Read-only file system in /home/keyhelp/www/keyhelp/cronjob/jobs/statistic.php on line 504
[21-Nov-2021 06:25:27 Europe/Berlin] PHP Warning: file_put_contents(/etc/awstats/awstats.XXXXXXX.conf): failed to open stream: Read-only file system in /home/keyhelp/www/keyhelp/cronjob/jobs/statistic.php on line 504
Alle Server haben Debian 10 mit der aktuellsten KeyHelp Version. Ich war erst einmal erschrocken wegen "Read-only file system". Dachte es wäre was schlimmeres.. Der Server läuft sauber und auch das Monitoring hat nicht angeschlagen.
Die VMs sind alle bei NetCup. Dort habe ich schon ein Ticket eröffnet, weil ich dachte das die irgendwas um die Uhrzeit sichern und das auf die VM durchschlägt.
Dort wurde mir nur mitgeteilt das ich die Dateirechte prüfen soll.
Habe ich natürlich gemacht. Hier ein Beispiel:
Code: Select all
ls -la /etc/awstats/awstats.XXXXXXX.conf
-rw-r--r-- 1 root root 852 Nov 25 00:00 /etc/awstats/awstats.XXXXXXX.conf
Kennt jemand dieses Phänomen? Ich bin gerade etwas ratlos.
Die Dateien kann ich alle ohne Probeme öffnen.
Gruß
Sascha
Edit:
ich habe das Problem auch bei Servern die nicht bei NetCup sind. Nicht das jemand denkt das es da ein Problem gibt,