首页 > Linux操作系统 > Linux操作系统 > linux 不产生日志了
今天发现一个服务器不产生日志文件了,这些日志文件都是0字节,如下所示:
-rw------- 1 root root 0 8?? 30 09:56 messages
-rw------- 1 root root 0 8?? 19 04:02 messages.1
-rw------- 1 root root 0 8?? 12 04:02 messages.2
-rw------- 1 root root 0 8?? 5 04:02 messages.3
-rw------- 1 root root 0 7?? 29 04:02 messages.4
用 /etc/init.d/syslog restart一样.
[root@tonykorn97 log]# cat /etc/issue
Red Hat Enterprise Linux AS release 4 (Nahant Update 1)
Kernel
on an m
[root@tonykorn97 log]# uname -a
Linux tonykorn97 2.6.9-11.ELsmp #1 SMP Fri May 20 18:25:30 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux
[root@tonykorn97 log]#
大家知道还有其它的什么原因吗?
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/312079/viewspace-245747/ ,如需转载,请注明出处,否则将追究法律责任。