Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

msyslogd cannot start

Status
Not open for further replies.

zhenning

Technical User
Sep 22, 2005
50
CA
msyslogd on Linux server stopped itself. I tried to start it. It says OK but when I see its status, it says stopped.

[dxu@scylla logrotate.d]$ sudo /sbin/service msyslog start
Starting msyslogd: [ OK ]
[dxu@scylla logrotate.d]$ sudo /sbin/service msyslog status
msyslogd is stopped

What could be the problem?

Please help!!Thanks a lot!!

Zhenning
 
Some more info:

The log files were configured to keep 14 files and then rotate at /etc/logrotate.d/syslog_cisco_fwsm:

/var/log/cisco_fwsm.log {
size=200M
rotate 14
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
endscript
}

I changed it to "rotate 70" then it stops to rotate every hour. why? The log file went beyond 200M still not rotate, then the msyslogd stoped.

Any ideas?

Thanks a lot!!
 
I figured it myself. The msyslog stopped because the log file is over 200M. I deleted the log file and restart the msyslod and it is running ok now.

So now the question is why after changed the rotate to 70, it did not zip and rotate after the file went over 200M?

Also it was zipped and rotate every hour automatically. I don't know where is that configured.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top