Mailinglist Archive: opensuse (946 mails)

< Previous Next >
Re: [opensuse] logrotate
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Thu, 14 Sep 2017 15:49:09 +0200
  • Message-id: <ope1cl$a6h$3@saturn.local.net>
gumb wrote:

On 14/09/17 14:37, Per Jessen wrote:
gumb wrote:

systemctl enable logrotate.timer
Failed to execute operation: No such file or directory

systemctl status logrotate.service
● logrotate.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)

I notice /var/log/journal/{string}/ has nearly 1GB of logs in it,
going back as far as installation time.

Do you have logrotate installed? (it doesn't look like it).

From a 13.2 system:

# systemctl status logrotate.service
logrotate.service - Rotate log files
Loaded: loaded (/usr/lib/systemd/system/logrotate.service;
static) Active: inactive (dead)
Docs: man:logrotate(8)
man:logrotate.conf(5)




Yes it appears to be installed.

logrotate --version
logrotate 3.8.7

My mistake, I thought logrotate was already a systemd service, but just
still being called with cron.



--
Per Jessen, Zürich (14.1°C)
http://www.dns24.ch/ - your free DNS host, made in Switzerland.


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
References