+ -
当前位置:首页 → 问答吧 → 求助:Redhat 4_64-bit下安装oracle 11g出现如下错误

求助:Redhat 4_64-bit下安装oracle 11g出现如下错误

时间:2010-08-29

来源:互联网

虚拟机下的RedHat 4 安装oracle 11g,检查配置时都是passed,但不知为何会出现如下(日志文件)错误:
我不清楚是不是我设置ip的问题,虚拟机下用的是NAT上网方式(桥接方式无法dhcp自动获得ip),Redhat内部用dhcp或是静态IP都试过去安装,似乎都不行

out文件中:
......
......
Starting to execute configuration assistants
Configuration assistant "Oracle Net Configuration Assistant" failed  
SEVERE:OUI-10104:Some of the configuration assistants failed/were cancelled. It is strongly recommended that you retry the configuration assistants at this time. Not successfully running any "Recommended" assistants means your system will not be correctly configured. Select the failed assistants and click the 'Retry' button to retry them.
--------------------------------------
The "/u01/app/oracle/product/11.1.0/db_1/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.
The "/u01/app/oracle/product/11.1.0/db_1/cfgtoollogs/configToolAllCommands" script contains all commands to be executed by the configuration assistants. This file may be used to run the configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.

--------------------------------------
The installation of Oracle Database 11g was successful, but some configuration assistants failed, were cancelled or skipped.






err文件中的提示如下:
java.lang.UnsatisfiedLinkError: jniGetOracleHome
at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method)
at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
at oracle.net.ca.NetCA.main(Unknown Source)
Oracle Net Services configuration failed. The exit code is -1

作者: xph4444   发布时间: 2010-08-29

另外,输入 sqlplus /nolog会提示:
sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file :No such file or directory

作者: xph4444   发布时间: 2010-08-29

因为你设置的是DHCP。所以你应该设置ORACLE_HOSTNAME环境变量。

作者: renxiao2003   发布时间: 2010-08-29