Chinaunix

标题: 收集explorer卡在sysconfig [打印本页]

作者: 喊佛    时间: 2010-08-06 15:42
标题: 收集explorer卡在sysconfig
SF4800,solaris 9,10年3月份的EIS打的补丁和explorer....

用ps -ef|grep explorer一路跟踪下去,发现卡在last reboot和last -20 reboot了


root@F4800 # ps -ef|grep sysconfig
    root 16242 15912  0 15:14:12 pts/5    0:00 ksh -p /opt/SUNWexplo/tools/sysconfig
    root 13861     1  0 14:25:06 ?        0:00 ksh -p /opt/SUNWexplo/tools/sysconfig
    root 16336 14107  0 15:23:02 pts/5    0:00 grep sysconfig
root@F4800 # ps -ef|grep
root@F4800 # ps -ef|grep explo
    root 16242 15912  0 15:14:12 pts/5    0:00 ksh -p /opt/SUNWexplo/tools/sysconfig
    root 16338 14107  0 15:23:15 pts/5    0:00 grep explo
    root 13861     1  0 14:25:06 ?        0:00 ksh -p /opt/SUNWexplo/tools/sysconfig
    root 15912 14107  0 15:12:38 pts/5    0:00 /bin/ksh -p /opt/SUNWexplo/bin/explorer
root@F4800 # ps -ef|grep 13861
    root 13861     1  0 14:25:06 ?        0:00 ksh -p /opt/SUNWexplo/tools/sysconfig
    root 14061 13861  0 14:39:11 ?        0:10 /usr/bin/last reboot
    root 16340 14107  0 15:23:22 pts/5    0:00 grep 13861
root@F4800 # ps -ef|grep 16242
    root 16242 15912  0 15:14:12 pts/5    0:00 ksh -p /opt/SUNWexplo/tools/sysconfig
    root 16343 14107  0 15:23:30 pts/5    0:00 grep 16242
    root 16322 16242  0 15:14:33 pts/5    0:02 /usr/bin/last -20 reboot
root@F4800 #
root@F4800 # ps -ef|grep 16322
    root 16322 16242  0 15:14:33 pts/5    0:02 /usr/bin/last -20 reboot
    root 16346 14107  0 15:23:39 pts/5    0:00 grep 16322

手动输入last reboot如下输出:

root@F4800 # last reboot
reboot    system boot                   Sat Jul 10 13:20
reboot    system boot                   Sat Jul 10 12:56
reboot    system boot                   Sat Jul 10 12:35
reboot    system boot                   Sat Jul  3 12:27
reboot    system boot                   Sat Feb  6 17:00
reboot    system boot                   Sat Sep 19 11:25
reboot    system boot                   Sun Aug 16 12:42
reboot    system boot                   Sun Aug 16 12:37
^C
interrupted Fri Jun 26 11:15


目前没法重启,不知道重启后会不会正常?有没有什么办法~
作者: filtercai    时间: 2010-08-09 16:20
临时解决办法,把last -20那个命令给kill了吧。


是不是wtmpx或者utmpx文件太大了?
作者: solarisplayer    时间: 2010-08-09 16:43
其实 你可以搜下 相关的帖子:我这借蜘蛛在一个帖子的回答:

再开个console,用ps -ef|grep explorer查看,explorer运行到那个脚本,把相应的进程kill掉explorer就可以继续往下走了。。。但是别kill错了explorer主进程


作者: zhmzhouming    时间: 2010-08-09 17:58
我碰到过一个fmdump hung死的问题,结果是其中一条命令导致,重启fma的服务就OK了

楼主可以先杀掉当前的这个收集的步骤,后续去到/opt/SUNWexplo/tools下,将sysconfig的命令执行一次看执行到那里停住的。
作者: haishui    时间: 2010-08-09 19:25
把 explorer -v的信息发出来看看。
作者: zhmzhouming    时间: 2010-08-09 19:34
把 explorer -v的信息发出来看看。
haishui 发表于 2010-08-09 19:25



    不错,-v很有用。

学习了。
作者: easybegin    时间: 2010-08-09 20:15
学习了
作者: 喊佛    时间: 2010-08-09 21:06
回复 2# filtercai


    恩 已解决,wtmpx太大,清空了就跳过去了
作者: 喊佛    时间: 2010-08-09 21:07
回复 3# solarisplayer


    学习了,一直以为kill掉正在跑的子命令会让explorer退出呢!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2