oracle grid 5000,解决oracle 11.2的grid中安装10g database报错OUI-35000

操作系统版本是Solaris 10,安装完11.2的grid之后,安装11g的RAC database没有问题。但是在安装10g RAC database的时候,进度条到50%,总是报OUI-35000 Fatal Cluster Error的错误。

此时Banner已经disable。

用ssh node1 date和ssh node2 date检查各个节点的互信,都没有问题。但是用下面的命令检查却报错互信有问题。

./runcluvfy.sh stage -pre crsinst -n node1,node2

而根据OUI-35000 Fatal Cluster Error Encountered (Doc ID 752217.1),设置权限/etc/services to 644并不适合solaris环境,在solaris环境中,这个文件的权限是444,但是按照文档设置成644,甚至777,都还是报错OUI-35000。

我们去找找OUI的log。这个log所在的目录,需要根据central inventory目录:

server01:inst01 > cat /var/opt/oracle/oraInst.loc

inventory_loc=/oracle_grid/app/oraInventory

inst_group=oinstall

server01:inst01 >

找到/oracle_grid/app/oraInventory目录,在/oracle_grid/app/oraInventory/logs中,可以看到:

ls –l

……

-rw-r-----   1 op11g    oinstall       0 Feb 16 10:58 oraInstall2016-02-16_10-58-08AM.err

-rw-r-----   1 op11g    oinstall   33151 Feb 16 11:01 installActions2016-02-16_10-58-08AM.log

-rw-r-----   1 op11g    oinstall       0 Feb 16 11:18 oraInstall2016-02-16_11-18-04AM.out

-rw-r-----   1 op11g    oinstall       0 Feb 16 11:18 oraInstall2016-02-16_11-18-04AM.err

-rw-r-----   1 op11g    oinstall   33246 Feb 16 11:21 installActions2016-02-16_11-18-04AM.log <<<<<<<<<

……

server01:inst01 > vi installActions2016-02-16_11-18-04AM.log

……

INFO: Setting the PROD_HOME variable of 'oracle.swd.oui.core_10.2.0.1.0' to '/myop/app/oracle/rdbms/10g/10.2.0.5.6/oui'. Received the value from the variable calculation.

INFO: Performing operation for OUI Oracle Home access setup

INFO: Unable to read /myop/app/oracle/rdbms/10g/10.2.0.5.6/inventory/ContentsXML/comps.xml. Some inventory information may be lost.

INFO: SRVM ClusterInfo.IsLocalOnly() called. Return value obtained is 'true'.

INFO: The CRS clusterware location for 'oracle.crs 10.1.0.2.0' is '/oracle_grid/11.2.0/grid'.

INFO: CRS clusterware detected.

INFO: Cluster system is detected by the clusterware.

INFO: Node selection page will be shown for a new home on the cluster system.

INFO: The cluster node list 'server01,server02' is derived from the clusterware stack.

INFO: Local node 'server01' is derived from the clusterware stack.

INFO: Setting variable 'LOCAL_NODE' to 'server01'. Received the value from a code block.

SEVERE: oracle.ops.mgmt.cluster.SharedDeviceException: PRKC-1044 : Failed to check remote command execution setup for node server02 using shells /usr/local/bin/ssh and /usr/bin/rsh

File "/usr/local/bin/ssh" does not exist on node "server02" <<<<<

server02: Connection refused

at oracle.ops.mgmt.nativesystem.UnixSystem.testCFSFile(UnixSystem.java:1451)

at oracle.ops.mgmt.nativesystem.UnixSystem.isSharedPath(UnixSystem.java:1409)

at oracle.ops.mgmt.cluster.Cluster.isSharedPath(Cluster.java:916)

at oracle.sysman.oii.oiip.oiipg.OiipgCFSDriveCheck.isSharedPath(OiipgCFSDriveCheck.java:722)

at oracle.sysman.oii.oiip.oiipg.OiipgCFSDriveCheck.isDriveOnCFS(OiipgCFSDriveCheck.java:500)

at oracle.sysman.oii.oiif.oiifw.OiifwNodeSelWCDE.initialize(OiifwNodeSelWCDE.java:290)

at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:152)

at oracle.sysman.oii.oiic.OiicDepWizEngine.doOperation(OiicDepWizEngine.java:424)

at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)

at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:1273)

at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:289)

at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:546)

at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:929)

at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)

SEVERE: oracle.ops.mgmt.cluster.SharedDeviceException: PRKC-1044 : Failed to check remote command execution setup for node server02 using shells /usr/local/bin/ssh and /usr/bin/rsh

File "/usr/local/bin/ssh" does not exist on node "server02" <<<<<

server02: Connection refused

at oracle.ops.mgmt.nativesystem.UnixSystem.testCFSFile(UnixSystem.java:1451)

at oracle.ops.mgmt.nativesystem.UnixSystem.isSharedPath(UnixSystem.java:1409)

at oracle.ops.mgmt.cluster.Cluster.isSharedPath(Cluster.java:916)

at oracle.sysman.oii.oiip.oiipg.OiipgCFSDriveCheck.isSharedPath(OiipgCFSDriveCheck.java:722)

at oracle.sysman.oii.oiip.oiipg.OiipgCFSDriveCheck.isDriveOnCFS(OiipgCFSDriveCheck.java:507)

at oracle.sysman.oii.oiif.oiifw.OiifwNodeSelWCDE.initialize(OiifwNodeSelWCDE.java:290)

at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:152)

at oracle.sysman.oii.oiic.OiicDepWizEngine.doOperation(OiicDepWizEngine.java:424)

at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)

at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:1273)

at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:289)

at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:546)

at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:929)

at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)

INFO: Setting variable 'REMOTE_NODES' to 'server01,'. Received the value from a code block.

INFO: isRollingUpgradeEnabled():false

INFO: Setting the 'ClusterInstallDescription' property to 'Select nodes (in addition to the local node) in the hardware cluster where the installer should install products that y

ou select in this installation.'.

INFO: Setting the 'SingleInstanceDescription' property to 'Select this option if you want to perform a single node non-cluster installation even though the local node is part of

a hardware cluster.'.

INFO: Setting the 'InvalidNodes' property to 'null'.

INFO: Setting the 'AllowRemoteNodeSelection' property to 'true'.

INFO: Setting the 'ShowCRSSoftwareVersion' property to 'false'.

INFO: Setting the 'NewHome' property to 'true'.

INFO: Setting the 'ClusterNodes ( CLUSTER_NODES )' property to 'server01,server02,'. Received the value from the UI page.

INFO: Setting the 'LocalNode ( LOCAL_NODE )' property to 'server01'. Received the value from the UI page.

INFO: Setting the 'RemoteNodes ( REMOTE_NODES )' property to 'server02,'. Received the value from the UI page.

INFO: Performing tests to see whether nodes server02 are available

INFO: Validating nodes server02...

INFO: Checking if nodes are alive...

INFO: Validating user equivalence...

SEVERE: OUI-35000: Fatal cluster error encountered (). Correct the problem and try the operation again. <<<<<< 最终,报错OUI-35000

INFO: User Selected: Yes/OK

WARNING: Do you really want to exit?

INFO: User Selected: Yes/OK

所以问题就是在server01上启动OUI安装的时候,会去到server02上调用/usr/local/bin/ssh,而这个文件不存在,所以在OUI中报错了。

解决方法:

ln -s /bin/ssh /usr/local/bin/ssh

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值