手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

CentOS 6.4 安装Oracle 11g的遇到的问题以及解决方法

[日期:2014-03-02] 来源:Linux社区  作者:zxwiiiii [字体: ]

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:
#  http://java.sun.com/webapps/bugreport/crash.jsp
#
/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命令启动数据库

更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12

 

 

更多CentOS相关信息见CentOS 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=14

 

linux
相关资讯       Oracle 11g安装 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款