CentOS 6.4 安裝Oracle 11g的遇到的問題以及解決方案

來源:互聯網
上載者:User

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命令啟動資料庫

 

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.