You are not logged in.

#1 2025-11-17 04:03:01

Archie1
Member
Registered: 2025-11-17
Posts: 1

Issue with Logrotate.service at boot

Whenever I boot up the following error message is there in the Journal.

logrotate[715]: warning: logrotate.status:1 unknown option 'logrotate' -- ignoring line
logrotate[715]: error: logrotate.status:2 missing '{' after log files definition
logrotate[715]: error: found error in file logrotate.status, skipping
systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: logrotate.service: Failed with result 'exit-code'.

The logrotate.status file has been created by running the command
sudo /usr/sbin/logrotate -v /etc/logrotate.conf.

The contents of the logrotate.status file, that is created by running the command given above is ,

logrotate state -- version 2
"/var/log/samba/log.smbd" 2025-11-14-22:0:0
"/var/log/wtmp" 2025-11-14-22:0:0
"/var/log/samba/*.log" 2025-11-14-22:0:0
"/var/log/btmp" 2025-11-14-22:0:0
"/var/log/samba/log.nmbd" 2025-11-14-22:0:0 

How can this issue be resolved so that the logrotate status starts?

This is my first post in Arch community. And I know basics of Arch but would not call myself an intermediate level of Arch user.

Offline

Board footer

Powered by FluxBB