网卡启动后为0.0.0.0 怎么办?

weixin_38053515 2004-04-29 03:29:33

dmesg|grep "error"
Apr 28 21:43:33 Solaris rpcbind: [ID 564983 daemon.error] rpcbind terminating on
signal.
Apr 28 21:45:01 Solaris /usr/lib/snmp/snmpdx: [ID 702911 daemon.error] unable to
get my IP address: gethostbyname(Solaris) failed [h_errno: host not found(1)]
Apr 28 21:45:02 Solaris sshd[289]: [ID 800047 auth.error] error: Bind to port 22
on :: failed: Address already in use.
Apr 29 00:06:24 Solaris ./snmpdx: [ID 702911 daemon.error] unable to get my IP a
ddress: gethostbyname(Solaris) failed [h_errno: host not found(1)]
Apr 29 00:31:26 Solaris rpcbind: [ID 564983 daemon.error] rpcbind terminating on
signal.
Apr 29 00:34:32 Solaris /usr/lib/snmp/snmpdx: [ID 702911 daemon.error] unable to
get my IP address: gethostbyname(Solaris) failed [h_errno: ???(-1)]
Apr 29 00:34:33 Solaris sshd[288]: [ID 800047 auth.error] error: Bind to port 22
on :: failed: Address already in use.
#

#cat/etc/defaultrouter
192.168.101.10



#cat/etc/hostname.pcn0
Solaris



#cat /etc/nodename
Solaris


#cat/etc/resolv.conf
nameserver            192.168.101.2



# cat /etc/hosts
#
# Internet host table
#
127.0.0.1       localhost
192.168.101.225 Solaris loghost



# cat /etc/nsswitch.conf
#
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.

passwd:     files
group:      files
hosts:      file dns
ipnodes:    files
networks:   files
请问是怎么会事啊?
...全文
64 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复

477

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧