[Eisfair] [e1] Logrotate: Monthly on syslog-ng/messages-log

Hilix hilmar.boehm at web.de
Mo Feb 1 00:36:02 CET 2016


Hallo,

mich verfolgt seit einigen Monaten - immer am 1. - folgende 
Fehlermeldung, die ich als Mail vom meinem E1-Server erhalte:
--------------------------------------------------------------
Von: root at hirodc.hiro.corp
Betreff: cron <root at hirodc> /etc/cron.daily/logrotate
An: root at hirodc

/etc/init.d/syslog-ng: line 269: killproc: command not found
/etc/init.d/syslog-ng: line 201: startproc: command not found
---------------------------------------------------------------

Die Folge ist, dass danach der syslog-ng daemon nicht mehr läuft. Das 
ist nicht so gut...

Ob bitte mal jemand über das syslog-ng conf - File für "logrotate" 
schauen könnte. Vielleicht ist da ein Fehler. Evtl. bei der 
"postrotate"- Anweisung?!

Vielen Dank und Grüße. / Hilmar.


---------------------------------------------------------------
#-------------------------------------------------------
# /etc/logrotate.d/syslog-ng
# syslog file generated by /etc/rc2.d/S41syslog-ng
#
# Do not edit this file, edit /etc/config.d/syslog-ng
# and run '/etc/rc2.d/S41syslog-ng restart'.
# Creation date: Wed Jan 27 01:25:29 CET 2016
#-------------------------------------------------------

/var/log/messages {
     rotate 10
     monthly
     compress
     missingok
     notifempty
     sharedscripts
     postrotate
         /etc/init.d/syslog-ng logrotate
     sleep 3
     endscript
     }
---------------------------------------------------------------



Mehr Informationen über die Mailingliste Eisfair