記錄centos6.8安裝Oracle10.2.0.1過程中的錯誤解決


[root@hadoop01 database]# ./runInstaller
./runInstaller: /opt/database/install/.oui: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
原因:沒有安裝ld-linux.so.2
[root@hadoop01 database]# yum install -y ld-linux.so.2
繼續安裝[root@hadoop01 database]# ./runInstaller
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Failed <<<<

Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2016-10-11_04-29-40PM/installActions2016-10-11_04-29-40PM.log
原因:開發系統版本不對
1. [root@hadoop01 database]# ./runInstaller --ignoreSysPrereqs   這樣是忽略系統版本,后面還是會報錯建議按下面的修改:

2. vi /etc/redhat-release 將redhat 5.1 該為 redhat 4 . 裝完后改回即可

>>> Ignoring required pre-requisite failures. Continuing...

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2016-10-11_04-30-58PM. Please wait ...
The user is root. Oracle Universal Installer cannot continue installation if the user is root.
: No such file or directory

原因:不能用root用戶安裝:創建dba group和user oracle

Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2016-10-12_08-59-12AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..
原因是:缺少支持打印的圖形化動態鏈接庫libXp.so.6
yum install -y libXp.so.6
yum install -y libXt.so.6
yum install -y libXtst.so.6

Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
原因:好像是字符集的問題,而且不能啟動安裝頁面,於是./runInstaller


執行netca或dbca時, "UnsatisfiedLinkError exception loading native library: njni10"錯誤解決
安裝對應32位glibc
重新安裝:
ORA-27125:unable to create shared memory segment
安裝被中斷。

解決方法如下:
#id oracle

uid=500(oracle) gid=501(oinstall)groups=501(oinstall),502(dba),503(asmadmin),504(oper)

[root@rac2 ~]# more/proc/sys/vm/hugetlb_shm_group
0

下面用root執行下面的命令,將dba組添加到系統內核中:
# echo 502 >/proc/sys/vm/hugetlb_shm_group

--這里的502 是上面的id 命令查看出來的。
# more /proc/sys/vm/hugetlb_shm_group
502
然后重新DBCA,成功建立實例!

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM