CentOS系統安裝Oracle資料庫出現的錯誤總結

來源:互聯網
上載者:User

錯誤1:[INS-06101] IP address of localhost could not be determined
圖:如下

解決方案:是因為你的主機名稱與IP地址不一至,在/etc/hosts檔案對應就行了
              vim /etc/hosts
                    IP地址    主機名稱
錯誤2:at Oracle.install.ivwdb.dirver.DBinstaller.main(DBinstaller.java:132)
圖:如下

解決方案:在root使用者終端下執行xhost +就行了
錯誤3:Error in invoking target 'client_sharedlib' of makefile '/oracle/u01/app/oracle/product/10.2.0/db_1/network/lib/ins_net_client.mk'
圖:如下

解決方案:查看oracle是多少位的系統,一般32位系統裝32位oracle軟體,64位系統可以裝32位和64位的oracle。開啟下載oracle的軟體包,裡面有一個網頁,開啟那個網頁就可以看到。
錯誤4:查看監聽(lsnrctl)或者是命令(sqlplus)提示:
    -bash: lsnrctl: command not found
圖:如下

解決方案:尋找oracle的命令安裝目錄,我的是(/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin)添加到環境變數中。
vim ~/.bash_profile    --是oracle使用者根目錄的檔案,修改這一行
        export PATH=$PATH:/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin
source  ~/.bash_profile      --設定檔生效

推薦閱讀:

RedHat Linux 5 & CentOS 5下Oracle 10g安裝詳解

CentOS 6.3(x32)下安裝Oracle 10g R2

Linux-6-64下安裝Oracle 12C筆記

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.