Récupérer les packages de syslog-ng :
Installation des packages :
# rpm -i eventlog-0.2.5-6.el5.kb.i386.rpm
# rpm -i –force –nosignature syslog-ng-2.0.3-1.el5.kb.i386.rpm
Mettre syslog-ng par défaut :
# chkconfig syslog off
# chkconfig syslog-ng on
Pour tester :
#service syslog stop
#service syslog-ng start
vérifiez que les logs apparaissent dans /var/log/messages :
#tail /var/log/messages
Dec 1 15:39:35 localhost kernel: Kernel logging (proc) stopped.
Dec 1 15:39:35 localhost kernel: Kernel log daemon terminating.
Dec 1 15:39:36 localhost exiting on signal 15
Dec 1 15:39:44 localhost syslog-ng[14006]: syslog-ng starting up; version=’2.0.3′