在Linux7上安裝Oracle 11g碰到的一些問題
OS版本:redhat 7.4
RDBMS:11.2.0.4
在安裝的過程中,碰到以下問題:
問題1
Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set
其實這個問題,看起來不算什麼,直接設定display變數即可。但是隨後發現,設定了變數無效。並且在本機上root使用者下,su - oracle後,再次安裝還是這樣。
解決方法:以Oracle帳號登入本機,然後再次安裝就可以了。 這個問題感覺比較奇怪 。
問題2
在安裝Oracle sofeware的時候,安裝到86%,提示error in invoking target 'agent nmhs' of makefile 'oracle_home/sysman/lib/ins_emagent.mk'
解決方法:
這個問題,其實是一個bug,在oracle的MOS上有描述,MOS:2320193.1 。
Edit $ORACLE_HOME/sysman/lib/ins_emagent.mk, search for the line
$(MK_EMAGENT_NMECTL)
Replace the line with
$(MK_EMAGENT_NMECTL) -lnnz11
Then click “Retry” button to continue.
或者參考MOS:1951613.1。上面也有一些說明 。
Installation walk-through - Oracle Grid/RAC 11.2.0.4 on Oracle Linux 7 (文件 ID 1951613.1)
END。