/var/log/messages not updating in CentOS
Posted: 2018/03/01 06:58:14
Hi, I've a busy CentOS 5.9 server which is hosting an IoT application server and Oracle database. The /var/log/messages is not logging any normal messages except some logs from Nagios nrpe plugin (This server being monitored by Nagios core).
nrpe[6565]: Error: Request packet type/version was invalid!
nrpe[6565]: Client request was invalid, bailing out...
when i restart any service (eg: crond, cups, sendmail, etc..), it is NOT captured in /var/log/messages.
But when i use logger command, it is captured,
# logger -i "hello"
/var/log/messages >> Mar 1 01:26:35 server01 root[7638]: hello
Here are my rsyslog settings,
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none /var/log/messages
# lsof /var/log/messages
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
rsyslogd 30429 root 3w REG 253,0 193500 5304282 /var/log/messages
Any idea what is gone wrong here?
nrpe[6565]: Error: Request packet type/version was invalid!
nrpe[6565]: Client request was invalid, bailing out...
when i restart any service (eg: crond, cups, sendmail, etc..), it is NOT captured in /var/log/messages.
But when i use logger command, it is captured,
# logger -i "hello"
/var/log/messages >> Mar 1 01:26:35 server01 root[7638]: hello
Here are my rsyslog settings,
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none /var/log/messages
# lsof /var/log/messages
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
rsyslogd 30429 root 3w REG 253,0 193500 5304282 /var/log/messages
Any idea what is gone wrong here?