Project

General

Profile

Anomalie #4524

tmpl samba.logrotate à revoir ?

Added by Fabrice Barconnière over 8 years ago. Updated about 8 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
02/11/2013
Due date:
02/15/2013
% Done:

100%

Spent time:
Distribution:
EOLE 2.3

Description

lors du logrotate des log samba, des erreurs se produisent :

error: error running non-shared postrotate script for /var/log/samba/10.121.11.1.log of '/var/log/samba/*.log /var/log/samba/log.nmbd /var/log/samba/log.smbd '
error: error running non-shared postrotate script for /var/log/samba/10.121.11.5.log of '/var/log/samba/*.log /var/log/samba/log.nmbd /var/log/samba/log.smbd '
error: error running non-shared postrotate script for /var/log/samba/10.121.12.5.log of '/var/log/samba/*.log /var/log/samba/log.nmbd /var/log/samba/log.smbd '
error: error running non-shared postrotate script for /var/log/samba/127.0.0.1.log of '/var/log/samba/*.log /var/log/samba/log.nmbd /var/log/samba/log.smbd '
error: error running non-shared postrotate script for /var/log/samba/172.16.0.40.log of '/var/log/samba/*.log /var/log/samba/log.nmbd /var/log/samba/log.smbd '
error: error running non-shared postrotate script for /var/log/samba/192.168.0.12.log of '/var/log/samba/*.log /var/log/samba/log.nmbd /var/log/samba/log.smbd '
error: error running non-shared postrotate script for /var/log/samba/192.168.230.169.log of '/var/log/samba/*.log /var/log/samba/log.nmbd /var/log/samba/log.smbd '
error: error running non-shared postrotate script for /var/log/samba/connexions.log of '/var/log/samba/*.log /var/log/samba/log.nmbd /var/log/samba/log.smbd '
error: error running non-shared postrotate script for /var/log/samba/nmbd.log of '/var/log/samba/*.log /var/log/samba/log.nmbd /var/log/samba/log.smbd '
error: error running non-shared postrotate script for /var/log/samba/pf-amon.log of '/var/log/samba/*.log /var/log/samba/log.nmbd /var/log/samba/log.smbd '
error: error running non-shared postrotate script for /var/log/samba/scribe.log of '/var/log/samba/*.log /var/log/samba/log.nmbd /var/log/samba/log.smbd '
error: error running non-shared postrotate script for /var/log/samba/smbd.log of '/var/log/samba/*.log /var/log/samba/log.nmbd /var/log/samba/log.smbd '
error: error running non-shared postrotate script for /var/log/samba/test.log of '/var/log/samba/*.log /var/log/samba/log.nmbd /var/log/samba/log.smbd '
error: error running non-shared postrotate script for /var/log/samba/xp-peda1.log of '/var/log/samba/*.log /var/log/samba/log.nmbd /var/log/samba/log.smbd '
error: error running non-shared postrotate script for /var/log/samba/log.nmbd of '/var/log/samba/*.log /var/log/samba/log.nmbd /var/log/samba/log.smbd '
error: error running non-shared postrotate script for /var/log/samba/log.smbd of '/var/log/samba/*.log /var/log/samba/log.nmbd /var/log/samba/log.smbd 


Related issues

Related to Distribution EOLE - Tâche #22124: erreur logrotate sur module seth 2.6.2b6 Fermé 09/26/2017

Associated revisions

Revision 428527e5 (diff)
Added by Benjamin Bohard about 8 years ago

Le service samba est relancé après la rotation de chacun des journaux.

  • fichier/common/tmpl/samba.logrotate : ajout de l'option sharedscripts
    pour ne relancer le service samba qu'une fois après que tous ses journaux
    aient été traités.

Ref #4524

Revision 1655ce82 (diff)
Added by Benjamin Bohard about 8 years ago

Rechargement des bons services avec Upstart.

Ref #4524

Revision d52d8d63 (diff)
Added by moyooo over 7 years ago

can't delete action and criterion in Business rules see #4524

History

#1 Updated by Daniel Dehennin about 8 years ago

Je pense que le problème et de ne pas avoir utilisé sharedscripts dans la configuration logrotate pour que samba ne soit reloadé qu’une seule fois à la fin du rotate de tous les fichiers de log.

#2 Updated by Joël Cuissinat about 8 years ago

  • Due date set to 02/15/2013
  • Status changed from Nouveau to A étudier
  • Start date changed from 11/29/2012 to 02/11/2013

#3 Updated by Benjamin Bohard about 8 years ago

  • Status changed from A étudier to Accepté

#4 Updated by Benjamin Bohard about 8 years ago

  • Status changed from Accepté to Résolu
  • % Done changed from 0 to 100

#5 Updated by Joël Cuissinat about 8 years ago

  • Assigned To set to Benjamin Bohard

#6 Updated by Fabrice Barconnière about 8 years ago

  • Status changed from Résolu to Réouvert

Le script de postrotate ne convient pas. 'samba n'existe pas.
À remplacer par :

reload --quiet smbd > /dev/null
reload --quiet nmbd > /dev/null

#7 Updated by Benjamin Bohard about 8 years ago

  • Status changed from Réouvert to Résolu

#8 Updated by Bruno Boiget about 8 years ago

  • Status changed from Résolu to Fermé

ok en candidate (plus de message d'erreur au logrotate)

#9 Updated by Emmanuel GARETTE over 3 years ago

  • Related to Tâche #22124: erreur logrotate sur module seth 2.6.2b6 added

Also available in: Atom PDF