本帖最后由 hongbazeng 于 2013-6-2 10:51 编辑
安装Grid 11gR2后再安装Database 11gR2数据库软件,安装类型为“安装数据库软件并创建数据库”,在安装过程中出现以下错误:
捕获.PNG (127.18 KB, 下载次数: 2)
2013-6-1 17:04 上传
根据提示,查看日志文件尾部内容如下:
[root@mydb ~]# tail /u01/oraInventory/logs/installActions2013-06-01_04-35-55PM.log
INFO: Parameter "responsefile" = /u01/app/oracle/product/11.2.0/dbhome_1/network/install/netca_typ.rsp
INFO: Parameter "silent" = true
INFO: Done parsing command line arguments.
INFO: Oracle Net Services Configuration:
INFO: Profile configuration complete.
INFO: Oracle Net Configuration Assistant is launched from Database home. To configure default listener "LISTENER", relaunch Oracle Net Configuration Assistant from Grid Infrastructure home.
INFO: Oracle Net Services configuration failed. The exit code is 1
INFO:
WARNING:
INFO: Completed Plugin named: Oracle Net Configuration Assistant
日志中提到NETCA应该从 Grid Infrastructure home中启动,请问要怎么实现呢?请大侠指教,谢谢!
oracle用户配置文件如下:
[oracle@mydb 桌面]$ cat ~/.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
export ORACLE_BASE=/u01/app
export ORACLE_HOME=$ORACLE_BASE/oracle/product/11.2.0/dbhome_1
export ORACLE_SID=ora11g
export PATH=$ORACLE_HOME/bin:$PATH
grid用户配置文件如下:
[grid@mydb 桌面]$ cat ~/.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
umask 022
export TMP=/tmp
export TEMPDIR=/tmp
export ORACLE_BASE=/u01/app
export ORACLE_HOME=$ORACLE_BASE/grid
export PATH=$ORACLE_HOME/bin:$PATH
export ORACLE_SID=+ASM
export ORACLE_HOSTNAME=mydb