免费注册 查看新帖 |

Chinaunix

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

网卡问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-02-15 12:44 |只看该作者 |倒序浏览
问题描述:
开机进入系统时提示:
Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.
Failed to configure IPv4 interface(s): nxge0
Feb 15 00:28:42 svc.startd[9]: svc:/network/physical:default: Method "/lib/svc/method/net-physical" failed with exit status 96.
Feb 15 00:28:42 svc.startd[9]: network/physical:default misconfigured: transitioned to maintenance (see 'svcs -xv' for details)

进入系统之后:ifconfig -a 不能看到网卡nxge0相关信息,svcs -xv显示有11个依赖服务没有启动,手动svcadm enable svc:/milestone/network:default
都没有任何作用。。。手动配置网卡信息以及路由信息(ifconfig nxge0 xxx.xxx.xxx.xxx netmask 255.255.255.0 up       route add default xxx.xxx.xxx.xxx),能ping通,但是重启以后还是一样的情况
MAS0:/-# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000

MAS0:/-# svcs -xv
svc:/network/physical:default (physical network interfaces)
State: maintenance since Sat Feb 15 20:39:23 2014
Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
   See: http://sun.com/msg/SMF-8000-KS
   See: man -M /usr/share/man -s 1M ifconfig
   See: /etc/svc/volatile/network-physical:default.log
Impact: 11 dependent services are not running:
        svc:/milestone/network:default
        svc:/network/nfs/nlockmgr:default
        svc:/network/nfs/client:default
        svc:/network/nfs/status:default
        svc:/network/nfs/cbd:default
        svc:/network/nfs/mapid:default
        svc:/network/iscsi/initiator:default
        svc:/application/management/seaport:default
        svc:/network/shares/group:default
        svc:/network/ipfilter:default
        svc:/network/ssh:default

论坛徽章:
2
摩羯座
日期:2013-10-20 18:04:032015年辞旧岁徽章
日期:2015-03-03 16:54:15
2 [报告]
发表于 2014-02-16 22:38 |只看该作者
检查一下,会不会因为是有文件系统没有挂载上去,而导致的。
进入系统,看看日志吧

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
3 [报告]
发表于 2014-02-17 09:38 |只看该作者
svcs -l svc:/network/physical:default贴出来看看,可能有依赖的服务有问题。

论坛徽章:
0
4 [报告]
发表于 2014-02-17 21:23 |只看该作者
Feb 15 00:28:42 svc.startd[9]: network/physical:default misconfigured: transitioned to maintenance (see 'svcs -xv' for details)

Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
   See: http://sun.com/msg/SMF-8000-KS
   See: man -M /usr/share/man -s 1M ifconfig
   See: /etc/svc/volatile/network-physical:default.log


Log里有什么错误信息

论坛徽章:
0
5 [报告]
发表于 2014-02-26 17:52 |只看该作者
遇到这种最好的办法就是重装系统。

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
6 [报告]
发表于 2014-02-26 17:58 |只看该作者
baixianglu 发表于 2014-02-26 17:52
遇到这种最好的办法就是重装系统。

瞎指挥啥。。。。

论坛徽章:
0
7 [报告]
发表于 2014-02-26 18:00 |只看该作者
呵呵。去以前有遇到过,就是刚装完系统然后很多服务有问题。这问题一般都是安装操作系统过程中导致的。
回复 6# 东方蜘蛛


   

论坛徽章:
0
8 [报告]
发表于 2014-03-01 07:45 |只看该作者
解决问题了,好像是测试人员对里面的配置做了修改:
1./etc/hosts里关于有一个ip->对应IP的别名
2./etc/hostname.网卡名  里存的IP的别名跟hosts里ip->对应的IP别名不一致了
导致了这个问题
然后改成一样的,就可以了,一共11个没有启来的服务,也是因为这个网卡IP没生效致的
当IP生效后,其它服务也都启来了,
嘿嘿,描述得不知道能不能听懂。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP