免费注册 查看新帖 |

Chinaunix

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

在/tmp目录下执行命令报了很奇怪的错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-02 19:58 |只看该作者 |倒序浏览
有哪位大侠知道下面的问题:\r\n在/tmp 路径下执行任何命令都报下面的错误, 其他路径下没有问题\r\nexec(): 0509-036 Cannot load program dump because of the following errors:\r\n        0509-130 Symbol resolution failed for ./libc.a(shr.o) because:\r\n        0509-136   Symbol msgsnd (number 120) is not exported from\r\n                   dependent module /unix.\r\n        0509-136   Symbol msgrcv (number 121) is not exported from\r\n                   dependent module /unix.\r\n        0509-136   Symbol msgxrcv (number 122) is not exported from\r\n                   dependent module /unix.\r\n        0509-136   Symbol msleep (number 123) is not exported from\r\n                   dependent module /unix.\r\n        0509-136   Symbol poll (number 132) is not exported from\r\n                   dependent module /unix.\r\n        0509-136   Symbol select (number 151) is not exported from\r\n                   dependent module /unix.\r\n        0509-136   Symbol _connect (number 223) is not exported from\r\n                   dependent module /unix.\r\n        0509-026 System error: Error 0\r\n        0509-192 Examine .loader section symbols with the\r\n                 \'dump -Tv\' command.\r\n\r\n补充: \r\naix 5\r\ndrwxrwxrwt   10 bin      bin            3584 Mar 02 19:17 tmp\r\n有些用户在/tmp路径下执行命令不报错\n\n[ 本帖最后由 hyq5436 于 2009-3-3 16:33 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2009-03-03 09:25 |只看该作者
缺少库文件.\r\n如果ls执行失败,就用ldd /usr/bin/ls查看一下.

论坛徽章:
0
3 [报告]
发表于 2009-03-03 11:26 |只看该作者
ls -l /unix\r\nls -l /usr/lib/boot/unix\r\n\r\n看看是不是kernel没有链接对

论坛徽章:
0
4 [报告]
发表于 2009-03-03 17:34 |只看该作者
问题在\"./libc.a\"这,你看看你的/tmp目录下是不是有一个libc.a?\r\n再看看你的LIABPATH.

论坛徽章:
0
5 [报告]
发表于 2009-03-03 17:39 |只看该作者

回复 #6 yry6649324 的帖子

是有一个,删了就好了

论坛徽章:
0
6 [报告]
发表于 2009-03-04 14:23 |只看该作者
很好的一个案例  谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP