当前位置: > 数据库 > Oracle >

解决安装Oracle11.2.0.1时,Hang到65%不动

时间:2015-08-19 22:33来源:51cto.com 作者:IT

在本机用vmware虚拟机安装Oracle grid的时候,总是安装到65%系统就不动了,然后查看日志发现日志也没有响应:


 

1
2
3
4
5
6
7
8
9
10
[root@linux01 app]# tail -f  /app/oraInventory/logs/installActions2015-08-17_05-51-32PM.log
        at oracle.sysman.oii.oiic.OiicInstallAPISession.access$000(OiicInstallAPISession.java:88)
        at oracle.sysman.oii.oiic.OiicInstallAPISession$OiicActionsThread.run(OiicInstallAPISession.java:934)
Caused by: oracle.ops.mgmt.cluster.RemoteDirException: 
        at oracle.ops.mgmt.nativesystem.UnixSystem.pathExists(UnixSystem.java:956)
        at oracle.ops.mgmt.cluster.Cluster.isExists(Cluster.java:1237)
        at oracle.sysman.oii.oiip.oiipg.OiipgClusterOps.fileExistsOnNode(OiipgClusterOps.java:2206)
        ... 10 more
INFO: Copying Oracle home '/app/grid' to remote nodes 'linux02'.
INFO: Copying Oracle home '/app/grid' to remote nodes 'linux02'.

 

感觉和网络有关系,检查/etc/hosts,发现没有问题

检查防火墙,发现iptables没有关,禁用iptables,并且关闭iptables

1
2
3
4
5
6
7
[root@linux01 app]# chkconfig iptables off
[root@linux01 app]# 
[root@linux01 app]# 
[root@linux01 app]# service iptables stop
iptables: Flushing firewall rules:                         [  OK  ]
iptables: Setting chains to policy ACCEPT: filter          [  OK  ]
iptables: Unloading modules:                               [  OK  ]

 

删除上次安装的文件,重新进行安装:

1
2
3
4
5
6
[root@linux01 app]# rm -rf ./oraInventory/
[root@linux01 app]# cd grid
[root@linux01 grid]# rm -rf ./*
 
 
重新安装以后,已经可以过去了,第二节点已经有文件cp过来了
1
2
3
4
5
[root@linux02 app]# ll
total 24
drwxr-xr-x. 57 grid   oinstall  4096 Aug 17 18:37 grid
drwx------.  2 oracle oinstall 16384 Aug  4 17:00 lost+found
drwxrwxrwx.  4 oracle oinstall  4096 Aug  6 11:36 soft

 

(责任编辑:IT)
------分隔线----------------------------