免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: sccdyuebo
打印 上一主题 下一主题

restart syslogd 会造成server重起吗? [复制链接]

论坛徽章:
0
11 [报告]
发表于 2007-09-12 11:38 |只看该作者
原帖由 sccdyuebo 于 2007-9-12 11:01 发表

syslog没有被加到VCS的资源组里,怎么会造成OS的crash呢?能详细说明下吗?谢谢!


这个问题,一般真的不太好说,具体的原因.在检查一下你的2个机器的syslog的设置关系,估计会有帮助.

论坛徽章:
0
12 [报告]
发表于 2007-09-12 12:11 |只看该作者
cat /etc/syslog.conf
#ident  "@(#)syslog.conf        1.5     98/12/14 SMI"   /* SunOS 5.0 */
#
# Copyright (c) 1991-1998 by Sun Microsystems, Inc.
# All rights reserved.
#
# syslog configuration file.
#
# This file is processed by m4 so be careful to quote (`') names
# that match m4 reserved words.  Also, within ifdef's, arguments
# containing commas must be quoted.
#
*.err;kern.notice;auth.notice                   /dev/sysmsg
*.err;kern.debug;daemon.notice;mail.crit        /var/adm/messages

*.alert;kern.err;daemon.err                     operator
*.alert                                         root

*.emerg                                         *

# 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)

mail.debug                      ifdef(`LOGHOST', /var/log/syslog, @loghost)

#
# non-loghost machines will use the following lines to cause "user"
# log messages to be logged locally.
#
ifdef(`LOGHOST', ,
user.err                                        /dev/sysmsg
user.err                                        /var/adm/messages
user.alert                                      `root, operator'
user.emerg                                      *
)

这两台机器的syslog都是这样的

论坛徽章:
0
13 [报告]
发表于 2007-09-12 13:54 |只看该作者
原帖由 sccdyuebo 于 2007-9-12 12:11 发表
cat /etc/syslog.conf
#ident  "@(#)syslog.conf        1.5     98/12/14 SMI"   /* SunOS 5.0 */
#
# Copyright (c) 1991-1998 by Sun Microsystems, Inc.
# All rights reserved.
#
# syslog configur ...


估计再重新启动,应该不会DOWN机了.

论坛徽章:
0
14 [报告]
发表于 2007-09-12 18:26 |只看该作者
又重新try了N次,都没有在crash了。
但就是不知道当时为什么会突然crash的。想找到root cause.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP