免费注册 查看新帖 |

Chinaunix

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

系统crash后core dump file没有保存 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-09-30 23:06 |只看该作者 |倒序浏览
系统在做压力测试的时候发生crash,为了进一步分析产生crash的原因,需要当时的core dump file。\r\n但是发现core dump file并没有保存到/var/crash/hostname的文件夹下。\r\n当时这套系统安装的时候用的flash安装,发现/var/crash目录下的目录名还是原来作flash的主机名,是不是由于保存路径路径不对所以无法产生core dump file。 \r\n以下是告警信息\r\nSep 30 10:31:08 boss_db5 root: [ID 702911 user.error] Running CRSD with TZ = PRC\r\nSep 30 10:45:29 boss_db5 unix: [ID 836849 kern.notice] \r\nSep 30 10:45:29 boss_db5 ^Mpanic[cpu97]/thread=3000d7f2a80: \r\nSep 30 10:45:29 boss_db5 unix: [ID 156897 kern.notice] forced crash dump initiated at user request\r\nSep 30 10:45:29 boss_db5 unix: [ID 100000 kern.notice] \r\nSep 30 10:45:29 boss_db5 genunix: [ID 723222 kern.notice] 000002a105a31960 genunix:kadmin+4a4 (b4, 1, 0, 1261400, 5, 1)\r\nSep 30 10:45:30 boss_db5 genunix: [ID 179002 kern.notice]   %l0-3: 0000000001833000 00000000011ce000 0000000000000004 0000000000000004\r\nSep 30 10:45:30 boss_db5   %l4-7: 0000000000000438 0000000000000010 0000000000000004 0000000000000000\r\nSep 30 10:45:30 boss_db5 genunix: [ID 723222 kern.notice] 000002a105a31a20 genunix:uadmin+11c (60267003cb8, 1, 0, ffffffff7fffd1f0, 0, 0)\r\nSep 30 10:45:30 boss_db5 genunix: [ID 179002 kern.notice]   %l0-3: 0000000000000000 0000000000000000 0000000046680000 0000000000004668\r\nSep 30 10:45:30 boss_db5   %l4-7: 0000000000000001 0000000000000000 0000000000000005 000003000d7f2a80\r\nSep 30 10:45:30 boss_db5 unix: [ID 100000 kern.notice] \r\nSep 30 10:45:30 boss_db5 genunix: [ID 111219 kern.notice] dumping to /dev/md/dsk/d1, offset 7342129152, content: kernel\r\nSep 30 10:50:08 boss_db5 genunix: [ID 409368 kern.notice] ^M100% done: 1702196 pages dumped, compression ratio 5.94, \r\nSep 30 10:50:08 boss_db5 genunix: [ID 851671 kern.notice] dump succeeded\r\nSep 30 10:55:22 boss_db5 genunix: [ID 540533 kern.notice] ^MSunOS Release 5.10 Version Generic_138888-08 64-bit\r\nSep 30 10:55:22 boss_db5 genunix: [ID 943908 kern.notice] Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved.\r\nSep 30 10:55:22 boss_db5 Use is subject to license terms.

论坛徽章:
0
2 [报告]
发表于 2009-10-02 10:55 |只看该作者
跟flash安装没有关系的。\r\n\r\n你手工把系统core dump试试看能不能保存。

论坛徽章:
0
3 [报告]
发表于 2009-10-02 13:07 |只看该作者
感谢楼上两位的回答。\r\n系统crash后重启完毕,用savecore 命令可以dump出数据。\r\n这是否能够说明手工获得的core dump file是有效呢?\r\ndumpadm输出,保存的路径是正确但是不知道为什么没有生效。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP