重启了syslogd没有啊!作者: JuGar 时间: 2003-05-29 18:06 标题: messages中不停地出告警记录,如何将它屏蔽掉? 重启了呀~!作者: gztommyt 时间: 2003-05-29 21:59 标题: messages中不停地出告警记录,如何将它屏蔽掉? first backup ur /var/adm/messages file to other disk slice.
then modify the /etc/syslog.conf ,the file contents like the following:
# if a non-loghost machine chooses to have authentication messages
# sent to the loghost machine, un-comment out the following line:
#auth.notice ifdef(`LOGHOST', /var/log/authlog, @loghost)
#
# non-loghost machines will use the following lines to cause "user"
# log messages to be logged locally.
#
ifdef(`LOGHOST', ,
user.err /dev/console
user.err /var/adm/messages
user.alert `root, operator'
user.emerg *
)
then type the following command in "#" prompt
/etc/init.d/syslog stop
/etc/init.d/syslog start