1832882 Members
2832 Online
110048 Solutions
New Discussion

syslog.log

 
SOLVED
Go to solution
Michael_33
Regular Advisor

syslog.log

after i did #>syslog.log, it became size 0 for 2 days, ie, the warning and error messages didnt write to this file any more, how to fix it?

#ls -l syslog.log

-rw-r--r-- 1 root sys 0 May 17 10:48 syslog.log
2 REPLIES 2
Patrick Wallek
Honored Contributor
Solution

Re: syslog.log

Stop and restart syslog.

# /sbin/init.d/syslogd stop

# /sbin/init.d/syslogd start
Nguyen Anh Tien
Honored Contributor

Re: syslog.log

restart syslogd deamon by issuing these command
# /sbin/init.d/syslogd stop
# /sbin/init.d/syslogd start
then syslog.log will work fine.
tienna
HP is simple