Chinaunix
标题:
修改完主机名后的奇怪问题,tcpip组里的服务不自动启动!
[打印本页]
作者:
net_diy208
时间:
2010-07-27 18:02
标题:
修改完主机名后的奇怪问题,tcpip组里的服务不自动启动!
log.rar
(6.09 KB, 下载次数: 24)
2010-07-27 17:56 上传
点击文件名下载附件
启动日志和inittab文件
两台P55A连接EMC存储,做oracleRAC,因为应用改变了,所以要求更改主机名,ip地址不变,其中一台主机的主机名从isppdb1更改成inasdb1,另外一台主机从isppdb2更改为inasdb2,修改之前把数据库和双机都停下来了,是用smit tcpip->Minimum Configuration & Startup->en6
netstat -in结果如下:
inasdb1:[/]netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
en6 1500 link#2 0.1a.64.ff.30.6a 7945899 0 4906442 3 0
en6 1500 10.1.11 10.1.11.65 7945899 0 4906442 3 0
en6 1500 10.1.11.64 10.1.11.66 7945899 0 4906442 3 0
en7 1500 link#3 0.1a.64.92.1e.c 2004179 0 1254217 2 0
en7 1500 192.169.1 192.169.1.1 2004179 0 1254217 2 0
lo0 16896 link#1 1396685 0 1397477 0 0
lo0 16896 127 127.0.0.1 1396685 0 1397477 0 0
lo0 16896 ::1 1396685 0 1397477 0 0
hosts文件内容如下:
127.0.0.1 loopback localhost # loopback (lo0) name/address
10.1.11.65 inasdb1
192.169.1.1 inasdb1_private
10.1.11.66 inasdb1_vip
10.1.11.67 inasdb2
192.169.1.2 inasdb2_private
10.1.11.68 inasdb2_vip
因为主机名改变,所以HACMP双机得重配,删除集群,重新创建集群都正常,可是到添加网络时,识别的还是原来的主机名,所以把两台主机都重启了一下,可是过了一会儿inasdb2可以telnet上去了,但inasdb1主机无法telnet上去,但是可以ping通,到机房后,看到机器已经启动起来,但是inetd服务没有启动,后来发现用xmanager能够连接上去,但是报错“ToolTalk Message Server Could Not Be Started”,只能打开一个命令行窗口,其他图形窗口都运行不了,已经按照网上的方法将/etc/netsvc.conf中的hosts设置为local,bind(hosts=local,bind),即先查询本地hosts文件,然后查询dns服务器,可是换是不行,大家看看是什么问题,系统快上线了,突然遇到这么个古怪问题,真的要被搞死了,救命呀~检查了inetd.conf,service,rc.tcpip文件附件里有系统启动日志,和inittab文件的内容,需要查看其他文件的给我说,我上传上来!
inasdb1:[/etc]lssrc -g tcpip
Subsystem Group PID Status
snmpd tcpip 319516 active
inetd tcpip 479236 inoperative
xntpd tcpip inoperative
rwhod tcpip inoperative
aixmibd tcpip inoperative
hostmibd tcpip inoperative
snmpmibd tcpip inoperative
dpid2 tcpip inoperative
dhcpcd tcpip inoperative
dhcpcd6 tcpip inoperative
ndpd-host tcpip inoperative
ndpd-router tcpip inoperative
tftpd tcpip inoperative
gated tcpip inoperative
named tcpip inoperative
routed tcpip inoperative
iptrace tcpip inoperative
timed tcpip inoperative
dhcpsd tcpip inoperative
dhcpsdv6 tcpip inoperative
dhcprd tcpip inoperative
mrouted tcpip inoperative
pxed tcpip inoperative
binld tcpip inoperative
dfpd tcpip inoperative
muxatmd tcpip inoperative
inetd服务是我xmanager连上去后startsrc -s inetd手动启动起来的
作者:
meilixueshan
时间:
2010-07-29 14:00
手动启inetd报什么错?
host文件改了后,需要在ha里面重新discover一下。
作者:
AIX深入敌后
时间:
2010-08-03 16:02
你的两台小机host里的tcpip设置,好像不对
作者:
树袋熊
时间:
2010-08-04 19:47
重新配置HA吧。快速的方法,反正都下电了, 不过估计楼主是不会回来了,呵呵。
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2