Projet

Général

Profil

Actions

Anomalie #5798

fermé

[admin.cluster.april.org] logrotate.service is failed

Ajouté par Pierre-Louis Bonicoli il y a plus de 2 ans. Mis à jour il y a plus de 2 ans.

Statut:
Résolu
Priorité:
Normale
Catégorie:
Task
Version cible:
Début:
28/02/2022
Echéance:
% réalisé:

100%

Temps estimé:
Temps passé:
Difficulté:
2 Facile

Description

$ systemctl --failed
  UNIT              LOAD   ACTIVE SUB    DESCRIPTION
● logrotate.service loaded failed failed Rotate log files
$ systemctl status logrotate.service
● logrotate.service - Rotate log files
     Loaded: loaded (/lib/systemd/system/logrotate.service; static)
     Active: failed (Result: exit-code) since Mon 2022-02-28 00:01:21 CET; 1h 26min ago
TriggeredBy: ● logrotate.timer
       Docs: man:logrotate(8)
             man:logrotate.conf(5)
    Process: 122084 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited, status=1/FAILURE)
   Main PID: 122084 (code=exited, status=1/FAILURE)
        CPU: 536ms

Feb 28 00:00:00 admin systemd[1]: Starting Rotate log files...
Feb 28 00:00:03 admin logrotate[122084]: error: iptraf-ng:2 duplicate log entry for /var/log/iptraf/*.log
Feb 28 00:00:03 admin logrotate[122084]: error: found error in file iptraf-ng, skipping
Feb 28 00:01:21 admin systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE
Feb 28 00:01:21 admin systemd[1]: logrotate.service: Failed with result 'exit-code'.
Feb 28 00:01:21 admin systemd[1]: Failed to start Rotate log files.

Actions

Formats disponibles : Atom PDF