Project

General

Profile

Tâche #29922

Scénario #30148: Traitement express MEN (22-24)

Le service logrotate ne se lance pas sur Sphynx 2.8.0

Added by Fabrice Barconnière about 1 year ago. Updated 12 months ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
06/05/2020
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

root@sphynx:~# systemctl status logrotate.service                      
● logrotate.service - Rotate log files
     Loaded: loaded (/lib/systemd/system/logrotate.service; static; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2020-04-16 09:29:56 CEST; 25min ago
TriggeredBy: ● logrotate.timer                                                                                                                                                                
       Docs: man:logrotate(8)                                                                  
             man:logrotate.conf(5)
   Main PID: 1445 (code=exited, status=1/FAILURE)                

avril 16 09:29:56 sphynx systemd[1]: Starting Rotate log files...
avril 16 09:29:56 sphynx logrotate[1445]: error: stat of /var/log/schedule.log failed: Aucun fichier ou dossier de ce type
avril 16 09:29:56 sphynx systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE
avril 16 09:29:56 sphynx systemd[1]: logrotate.service: Failed with result 'exit-code'.
avril 16 09:29:56 sphynx systemd[1]: Failed to start Rotate log files.

Related issues

Related to Distribution EOLE - Scénario #30993: Logrotate en erreur après instance (2.8.0-beta1) Terminé (Sprint) 04/10/2020 11/27/2020

History

#1 Updated by Fabrice Barconnière about 1 year ago

  • Description updated (diff)

#2 Updated by Joël Cuissinat about 1 year ago

C'est fonctionnel sur mon Eolebase, affaire à suivre quand le module Sphynx se (ré)instanciera...

https://dev-eole.ac-dijon.fr/jenkins/job/2.8.0/job/test-instance-acasphynx-2.8.0-amd64/

#3 Updated by Joël Cuissinat about 1 year ago

  • Story points deleted (1.0)

Problème non reproduit sur aca.sphynx-2.8.0a1-instance-default du jour :

root@sphynx:~# systemctl status logrotate.service 
● logrotate.service - Rotate log files
     Loaded: loaded (/lib/systemd/system/logrotate.service; static; vendor preset: enabled)
     Active: inactive (dead) since Fri 2020-06-05 17:37:47 CEST; 3min 48s ago
TriggeredBy: ● logrotate.timer
       Docs: man:logrotate(8)
             man:logrotate.conf(5)
    Process: 1020 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited, status=0/SUCCESS)
   Main PID: 1020 (code=exited, status=0/SUCCESS)

juin 05 17:37:44 sphynx systemd[1]: Starting Rotate log files...
juin 05 17:37:47 sphynx systemd[1]: logrotate.service: Succeeded.
juin 05 17:37:47 sphynx systemd[1]: Finished Rotate log files.

#4 Updated by Joël Cuissinat about 1 year ago

  • Subject changed from Le service logrotate ne se lance pas to Le service logrotate ne se lance pas sur Sphynx 2.8.0
  • Assigned To set to Joël Cuissinat
  • Parent task set to #30148

#5 Updated by Joël Cuissinat about 1 year ago

  • Status changed from Nouveau to Résolu
  • Start date set to 06/05/2020
  • % Done changed from 0 to 100

#6 Updated by Fabrice Barconnière 12 months ago

OK, le fichier /etc/logrotate.d/schedule est fourni par creole mais il n'y a pas de log /var/log/schedule
Étrangement, maintenant, ça ne plante plus

#7 Updated by Fabrice Barconnière 12 months ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

#8 Updated by Joël Cuissinat 7 months ago

  • Related to Scénario #30993: Logrotate en erreur après instance (2.8.0-beta1) added

Also available in: Atom PDF