• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

syslog problem ?

M

myothan

Guest
Sirs,

I think my logrotate is running. httpd and syslog are using logrotate. I found httpd log files as expected. But, log files controlled by syslog are serially named but all have zero bytes. I think I have something wrong with syslog. can someone advice me how to and where to check ? I found syslog process is running. Please see my logrotate config below.

Regards,
mt
---------------

[root@webhosts logrotate.d]# more httpd
/var/log/httpd/*log {
missingok
notifempty
sharedscripts
postrotate
/sbin/service httpd reload > /dev/null 2>/dev/null || true
endscript
}
[root@webhosts logrotate.d]# more syslog
/var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron {
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
/bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true
endscript
}

------------------------------------------------------
 
Back
Top