时间:2021-07-01 10:21:17 帮助过:64人阅读
CentOS 6.4 安装Oracle 11g的遇到的问题以及解决方法
1、OUI-10182 The effective user ID does not match the owner of the file ..........
解决方法:用root帐户在/etc下建立文件oraInst.loc,并写入以下内容:
inventory_loc=/u01/app/oraInventory(oraInventory所在目录)
inst_group=oinstall
2、....file not fount : WFMLRSVCApp.ear
解决方法:原因是因为Oracle11g有两个解压的.zip文件,只解压了的一个进行安装,,全部解压并放入同一个目录即可
3、安装oracle前要先安装jdk
4、Oracle Net Services Configuration:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xa4bf5f4e, pid=11819, tid=3086902976
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_17-b02 mixed mode)
# Problematic frame:
# C [libclntsh.so.11.1+0x421f4e] snlinGetAddrInfo+0x1b2
#
# An error report file with more information is saved as hs_err_pid11819.log
#
# If you would like to submit a bug report, please visit:
#
#
/u01/oracle/bin/netca: line 178: 11819 Aborted $JRE $JRE_OPTIONS -classpath $CLASSPATH oracle.net.ca.NetCA $*
解决方法:
是由于默认的主机名导致的,修改2处为:
[oracle@jc11g ~]$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=test11g
[oracle@jc11g ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost localhost.localdomain localhost4 test11g
再执行
hostname test11g
让Oracle用户退出重新登录就可以正常启动netca了
5、安装完数据库后,登录的时候无法连接,这个时候需要使用startup命令启动数据库