免费注册 查看新帖 |

Chinaunix

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

Solaris 8超难问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-27 16:44 |只看该作者 |倒序浏览
# netstat -rn\r\nip open: No such device or address\r\ncan\'t open mib stream: Bad file number\r\n\r\nWHY?

论坛徽章:
0
2 [报告]
发表于 2007-06-27 16:49 |只看该作者
show  the ifconfig -a  to look

论坛徽章:
0
3 [报告]
发表于 2007-06-27 16:51 |只看该作者
# ifconfig -a\r\nlo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1\r\n        inet 127.0.0.1 netmask ff000000\r\nhme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2\r\n        inet 191.168.13.10 netmask ffffff00 broadcast 191.168.13.255\r\n        ether 8:0:20:b0:a9:70

论坛徽章:
0
4 [报告]
发表于 2007-06-27 16:55 |只看该作者
The same  \r\n# route add\r\nroute: socket: Protocol not supported\r\n\r\n# ./inetinit start\r\nip open: No such device or address\r\ncan\'t open mib stream: Bad file number\r\nMachine is an IPv4 router.\r\ncouldn\'t push module \'ip\', No such device or address\r\nbind: Address already in use\r\ncouldn\'t push module \'ip\', No such device or address\r\ncouldn\'t push module \'ip\', No such device or address\r\ncouldn\'t push module \'ip\', No such device or address

论坛徽章:
0
5 [报告]
发表于 2007-06-27 20:15 |只看该作者
Sounds like your ip kernel module is not loaded.\r\n1. Use modinfo|grep ip to see whether your ip stream module is loaded into memory\r\n2. If not, use modload  drv/ip  to see whether you can load it manaully or what error message you get.

论坛徽章:
0
6 [报告]
发表于 2007-06-28 08:10 |只看该作者
# modinfo |grep ip\r\n 13 10191cc3  66f10   0   1  ip (IP Streams module)\r\n 13 10191cc3  66f10   3   1  ip (IP Streams device)\r\n 24 1020b8cf   d3ed 111   1  pcipsy (PCI Bus nexus driver 1.202)\r\n 33 10235873    304   2   1  ip6 (IP Streams module)\r\n 33 10235873    304 143   1  ip6 (IP Streams device)\r\n 44 1027ed93    c83  16   1  conskbd (Console kbd Multiplexer driver )\r\n 45 1027f68a   1ffa  15   1  wc (Workstation multiplexer Driver )\r\n 55 1029de32   adea  13   1  ldterm (terminal line discipline)\r\n 76 10314fff    2c3  42   1  pipe (pipe(2) syscall)\r\n 76 10314fff    2c3  42   1  pipe (32-bit pipe(2) syscall)\r\n 89 1034cfd6   1c02  20   1  atmip (ATMIP Streams Module V1.4)\r\n 97 78001d1b    2d7  21   1  connld (Streams-based pipes)\r\n103 78089d09    2e8   -   1  ipc (common ipc code)\r\n\r\nany idea?

论坛徽章:
0
7 [报告]
发表于 2007-06-28 09:40 |只看该作者
# route add\r\nroute: socket: Protocol not supported

论坛徽章:
0
8 [报告]
发表于 2007-06-28 11:16 |只看该作者

Resolution

./sbin/soconfig -f /etc/sock2path

论坛徽章:
0
9 [报告]
发表于 2007-06-28 11:18 |只看该作者
OK. the ip stream module is loaded. The next thing you can do is to check the owner of the device files, such as /dev/ip, /dev/tcp, /dev/udp  etc. Use ls -lL /dev/ip for example and the result should be something like: \r\n\r\ncrw-rw----   1 root     sys        3,  0 Mar  6 13:56 ip\r\n\r\nIf not, you will have problems

论坛徽章:
0
10 [报告]
发表于 2007-06-28 16:52 |只看该作者
原帖由 yuanmufaye 于 2007-6-28 11:50 发表\r\nbriangao是高手
\r\n\r\nYes, Brian Gao , Gao手的gao
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP