免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: anonyaniu
打印 上一主题 下一主题

ssh启动问题 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2008-07-24 12:26 |只看该作者
确认物理网线连接没有问题,用ifconfig -a看看状态,是否可以Ping通?

论坛徽章:
0
12 [报告]
发表于 2008-07-24 12:32 |只看该作者
ifconfig -a可以看到bge0,可以ping通自己的IP。
可以使用Xmanager登录。

论坛徽章:
0
13 [报告]
发表于 2008-07-24 12:35 |只看该作者
# svcs -x /network/physical
svc:/network/physical:default (physical network interfaces)
State: maintenance since Sat Mar 18 16:14:00 2006
Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
   See: http://sun.com/msg/SMF-8000-KS
   See: ifconfig(1M)
   See: /etc/svc/volatile/network-physical:default.log
   See: /var/svc/log/network-physical:default.log
Impact: 14 dependent services are not running.  (Use -v for list.)

# cat /etc/svc/volatile/network-physical\:default.log
[ Mar 18 14:59:06 Enabled. ]
[ Mar 18 14:59:09 Executing start method ("/lib/svc/method/net-physical") ]
[ Mar 18 14:59:09 Timeout override by svc.startd.  Using infinite timeout ]
/sbin/dladm: could not bring aggregations up: No such file or directory (configuration repository open failed)
configuring IPv4 interfaces:ifconfig: setifflags: SIOCSLIFFLAGS: bge0: Cannot assign requested address
bge0.
add net default: gateway 129.20.2.254: Network is unreachable
[ Mar 18 14:59:14 Method "start" exited with status 96 ]

# cat /var/svc/log/network-physical\:default.log
[ Mar 18 16:13:59 Leaving maintenance because clear requested. ]
[ Mar 18 16:13:59 Enabled. ]
[ Mar 18 16:13:59 Executing start method ("/lib/svc/method/net-physical") ]
[ Mar 18 16:13:59 Timeout override by svc.startd.  Using infinite timeout ]
/sbin/dladm: could not bring aggregations up: No such file or directory (configuration repository open failed)
Setting netmask of bge0 to 255.255.255.0
ifconfig: SIOCSLIFNAME for ip: bge0: already exists
configuring IPv4 interfaces:ifconfig: SIOCSLIFADDR: bge0: Cannot assign requested address
bge0.
add net default: gateway 129.20.2.254: Network is unreachable
[ Mar 18 16:14:00 Method "start" exited with status 96 ]

论坛徽章:
0
14 [报告]
发表于 2008-07-24 12:49 |只看该作者
先用svcs -xv 查看physical的信息
你把网卡绑成ethernet channel了,dladm端口没起来
/sbin/dladm: could not bring aggregations up: No such file or directory
把ifconfig -a信息也贴出来吧,可能你需要把dladm去除
dladm show-link
dladm delete-aggr

论坛徽章:
0
15 [报告]
发表于 2008-07-24 15:07 |只看该作者
root@test # ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.20.20.20 netmask ffff0000 broadcast 10.20.255.255
        ether 0:14:4f:9b:b8:fc
root@test # ping 10.20.20.20
10.20.20.20 is alive
root@test #

论坛徽章:
0
16 [报告]
发表于 2008-07-24 15:09 |只看该作者
root@test # dladm show-link
bge0            type: non-vlan  mtu: 1500       device: bge0
bge1            type: non-vlan  mtu: 1500       device: bge1
root@test # dladm delete-aggr bge1
dladm: illegal key value '0'
root@test #
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP