Project

General

Profile

Actions

Anomalie #3985

closed

Plus de syslog sur le parc

Added by François Poulain about 5 years ago. Updated almost 5 years ago.

Status:
Fermé
Priority:
Normale
Category:
-
Target version:
Start date:
11/03/2019
Due date:
% Done:

0%

Estimated time:
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

Updated by François Poulain about 5 years ago

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

Updated by François Poulain about 5 years ago

  • Status changed from Nouveau to Résolu

A priori ça sera résolu cette nuit.

Actions #3

Updated by Christian P. Momon about 5 years ago

  • Assignee set to François Poulain
Actions #4

Updated by Quentin Gibeaux almost 5 years ago

  • Status changed from Résolu to Fermé
Actions

Also available in: Atom PDF