大家好:
我的系统环境是 RHEL5 Linux 64位,在安装64位 Oracle 11gR2 RAC 的Grid 过程中,在执行 网络配置助手 Oracle Net Configuration Assistant,这一步报错了(如最下面的附图),
我检查 /u01/app/oraInventory/logs/installActions2013-09-01_04-01-22PM.log 安装日志,部分报错如下:
INFO: Problem in configuration: PRCN-2061 : Failed to add listener ora.LISTENER.lsnr
INFO: PRCN-2065 : Port(s) 1521 are not available on the nodes given
INFO: PRCN-2035 : Port 1521 is not available on node(s) or virtual host(s): rac1-vip
INFO: Oracle Net Listener Startup:
INFO: Listener does not exists.
INFO: Check the trace file for details: /u01/app/oracle/cfgtoollogs/netca/trace_Ora11g_gridinfrahome1-1309014PM5342.log
INFO: Oracle Net Services configuration failed. The exit code is 1
INFO:
WARNING:
INFO: Completed Plugin named: Oracle Net Configuration Assistant
INFO: Oracle Net Configuration Assistant failed.
INFO: Oracle Net Configuration Assistant failed.
-------------------------
/u01/app/oracle/cfgtoollogs/netca/trace_Ora11g_gridinfrahome1-1309014PM5342.log 的部分报错日志如下:
[main] [ 2013-09-01 16:53:59.530 CST ] [NativeSystem.rununixcmd:1058] NativeSystem.rununixcmd: RetString 0|scp: /u01/11.2.0/grid/network/admin/sqlnet.ora: No such file or directory :failed
[main] [ 2013-09-01 16:53:59.530 CST ] [CopyCommand.execute:79] CopyCommand.execute: native copyFile returns `0|scp: /u01/11.2.0/grid/network/admin/sqlnet.ora: No such file or directory :failed'
[main] [ 2013-09-01 16:53:59.530 CST ] [NativeResult.<init>:91] NativeResult: The String obtained is0|scp: /u01/11.2.0/grid/network/admin/sqlnet.ora: No such file or directory :failed
[main] [ 2013-09-01 16:53:59.531 CST ] [NativeResult.<init>:112] The result string is: scp: /u01/11.2.0/grid/network/admin/sqlnet.ora: No such file or directory :failed 1
[main] [ 2013-09-01 16:53:59.531 CST ] [ClusterException.setErrorMessage:131] ClusterException.setErrorMessage: commands[0]=oracle.ops.mgmt.command.file.CopyCommand@3794d372
[main] [ 2013-09-01 16:53:59.531 CST ] [ClusterException.setErrorMessage:151] ClusterException.setErrorMessage: errString is 'scp: /u01/11.2.0/grid/network/admin/sqlnet.ora: No such file or directory :failed'
------
我系统的一些配置,如下:
一、 /etc/hosts 文件配置:
127.0.0.1 localhost.localdomain localhost
#::1 localhost6.localdomain6 localhost6
# Public IP
192.168.123.100 rac1.localdomain rac1
192.168.123.200 rac2.localdomain rac2
# Virtual IP
192.168.123.101 rac1-vip.localdomain rac1-vip
192.168.123.201 rac2-vip.localdomain rac2-vip
# Private IP
10.0.0.100 rac1-priv.localdomain rac1-priv
10.0.0.200 rac2-priv.localdomain rac2-priv
# SCAN IP
192.168.123.101 rac-scan.localdomain rac-scan
192.168.123.201 rac-scan.localdomain rac-scan
192.168.123.101 rac-scan.localdomain rac-scan
二、grid 用户的环境变量配置:
export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1
export ORACLE_SID=+ASM1
export ORACLE_TERM=xterm
export NLS_DATE_FORMAT="yyyy-mm-dd hh24:mi:ss"
export LANG=en_US.UTF-8