Actions
Anomalie #3985
ferméPlus de syslog sur le parc
Début:
03/11/2019
Echéance:
% réalisé:
0%
Temps estimé:
Difficulté:
2 Facile
Description
$ ./do.sh wc -l /var/log/syslog ===== bastion ===== 0 /var/log/syslog Connection to vip.april.org closed. ===== admin ===== 0 /var/log/syslog Connection to admin.cluster.april.org closed. ===== dns ===== 0 /var/log/syslog Connection to dns.cluster.april.org closed. ===== mail ===== 0 /var/log/syslog Connection to mail.cluster.april.org closed. ===== sympa ===== 0 /var/log/syslog Connection to sympa.cluster.april.org closed. ===== adl ===== 0 /var/log/syslog Connection to adl.cluster.april.org closed. ===== lamp ===== 0 /var/log/syslog Connection to lamp.cluster.april.org closed. ===== agir ===== 0 /var/log/syslog Connection to agir.cluster.april.org closed. ===== bots ===== 0 /var/log/syslog Connection to bots.cluster.april.org closed. ===== dtc ===== 0 /var/log/syslog Connection to dtc.cluster.april.org closed. ===== drupal6 ===== 4173 /var/log/syslog Connection to drupal6.cluster.april.org closed. ===== drupal-test ===== 0 /var/log/syslog Connection to drupal-test.cluster.april.org closed. ===== republique-numerique ===== 0 /var/log/syslog Connection to republique-numerique.cluster.april.org closed. ===== mumble ===== 0 /var/log/syslog Connection to mumble.cluster.april.org closed. ===== candidatsbe ===== 0 /var/log/syslog Connection to candidatsbe.cluster.april.org closed. ===== candidatsfr ===== 0 /var/log/syslog Connection to candidatsfr.cluster.april.org closed. ===== pad ===== 0 /var/log/syslog Connection to pad.cluster.april.org closed. ===== scm ===== 0 /var/log/syslog Connection to scm.cluster.april.org closed. ===== pouet ===== 0 /var/log/syslog Connection to pouet.cluster.april.org closed. ===== webchat ===== 0 /var/log/syslog Connection to webchat.cluster.april.org closed. ===== photos ===== 877 /var/log/syslog Connection to photos.cluster.april.org closed. ===== cms-dev ===== 0 /var/log/syslog Connection to cms-dev.cluster.april.org closed. ===== virola.april.org ===== 12171 /var/log/syslog Connection to virola.april.org closed. ===== calamus.april.org ===== 116 /var/log/syslog Connection to calamus.april.org closed. ===== galanga.april.org ===== 40729 /var/log/syslog Connection to galanga.april.org closed.
Actions
#1
Mis à jour par François Poulain il y a environ 5 ans
La cause :
(April) root@lamp:~# git diff /srv/common/etc/logrotate.d/rsyslog /etc/logrotate.d/rsyslog.dpkg-new diff --git a/srv/common/etc/logrotate.d/rsyslog b/etc/logrotate.d/rsyslog.dpkg-new index c8bd03e..a69d4e5 100644 --- a/srv/common/etc/logrotate.d/rsyslog +++ b/etc/logrotate.d/rsyslog.dpkg-new @@ -1,13 +1,13 @@ postrotate - invoke-rc.d rsyslog rotate > /dev/null + /usr/lib/rsyslog/rsyslog-rotate endscript }
La solution: prendre la conf upstream.
(April) root@lamp:~# invoke-rc.d rsyslog rotate [FAIL] Closing open files: rsyslogd failed! (April) root@lamp:~# /usr/lib/rsyslog/rsyslog-rotate (April) root@lamp:~# ... (April) root@lamp:~# wc -l /var/log/syslog 6 /var/log/syslog
Actions
#2
Mis à jour par François Poulain il y a environ 5 ans
- Statut changé de Nouveau à Résolu
A priori ça sera résolu cette nuit.
Actions