1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

syslog problem ?

Discussion in 'Plesk for Linux - 8.x and Older' started by myothan, Feb 9, 2009.

  1. myothan

    myothan Guest

    0
     
    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
    }

    ------------------------------------------------------
     
Loading...