Forums
Home / Forums
Quote from f.cuseo on November 17, 2023, 7:55 amHello.
In /etc/logrotate.d there is a syslog config file for /var/log/syslog, and a rsyslog config file that contains /var/log/syslog too.
This cause logrotate to fail:
root@petasan-05:/etc/logrotate.d# systemctl | grep rotate
● logrotate.service loaded failed failed Rotate log filesIf you try to start the service, you can see the error in journal file with journalctl -xe
So I have deleted syslog (not rsyslog) config file, and started again the service:
systemctl start logrotate.serviceI am running the last release of petasan.
Hello.
In /etc/logrotate.d there is a syslog config file for /var/log/syslog, and a rsyslog config file that contains /var/log/syslog too.
This cause logrotate to fail:
root@petasan-05:/etc/logrotate.d# systemctl | grep rotate
● logrotate.service loaded failed failed Rotate log files
If you try to start the service, you can see the error in journal file with journalctl -xe
So I have deleted syslog (not rsyslog) config file, and started again the service:
systemctl start logrotate.service
I am running the last release of petasan.