免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1412 | 回复: 0
打印 上一主题 下一主题

监控邮件出现vts报错信息的问题小结 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-23 16:11 |只看该作者 |倒序浏览
故障现象:
有两台sun系统的/var/adm/messages中都出现与sunvts相关的错误信息。
主机h3ccomm-or
20060301020000: Mar  1 01:38:51 h3ccomm-or inetd[451]: [ID 858011 daemon.warning] /opt/SUNWvts/bin/sunvts: Hangup
20060301020000: Mar  1 01:45:21 h3ccomm-or inetd[451]: [ID 858011 daemon.warning] /opt/SUNWvts/bin/sunvts: Hangup
主机h3crnd03-lc
Feb 28 23:48:08 h3crnd03-lc vtsk[19576]: [ID 530472 user.error] Kerberos mechanism library initialization error: No profile file open.
Feb 28 23:48:38 h3crnd03-lc vtsk[19581]: [ID 530472 user.error] Kerberos mechanism library initialization error: No profile file open.
故障分析/解决:
远程登陆后,发现/usr/sbin/inetd -s进程开启了/opt/SUNWvts/bin/sunvts -g,而且sunvts的PID是不断变化的。
$ ps -ef | grep sunvts
   root  4646  451  0   Feb 28 ?        0:00 /opt/SUNWvts/bin/sunvts -g
osadmin  5414  5410 0   10:31:24 pts/2 0:00 grep sunvts
$ ps -ef | grep 451
    root   451     1  0   Aug 28 ?        0:03 /usr/sbin/inetd -s
    root  1563   451  0   Nov 29 ?        0:00 in.telnetd
  daemon  2246   451  0   Feb 28 ?        0:00 rpc.cmsd
    root  2241   451  0   Feb 28 ?        0:00 rpc.rstatd
    root  2349   451  0   Feb 28 ?        0:00 dr_daemon
osadmin 27894 27884  0 15:44:31 pts/2    0:00 grep 451
    root 27881   451  0 15:44:06 ?        0:00 in.telnetd
    root  2333   451  0   Feb 28 ?        0:00 rpc.ttdbserverd
    root  2239   451  0   Feb 28 ?        0:00 sadmind
    root  4646  451  0   Feb 28 ?        0:00 /opt/SUNWvts/bin/sunvts -g
在/etc/inetd.conf中也包含相关的vts条目
$ more /etc/inetd.conf | grep vts
100153/1     dgram   rpc/udp wait root /opt/SUNWvts/bin/sunvts /opt/SUNWvts/bin/sunvts -g
因为sunvts的PID是不断变化的,因此无法直接使用kill将其杀掉。应该按如下步骤处理:
1. 查看/opt/SUNWvts/bin/.sunvts_sec_gss文件,如果RPC_SEC_GSS被设置为ON,则将其该为OFF。
2. 使用pkill-HUP inetd 指令重启 inetd 进程。
长久的方法是修改/etc/inetd.conf文件,将包含sunvts的条目屏蔽掉。


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/372/showart_103820.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP