Oracle 單一實例 Relink Binary Options 說明

來源:互聯網
上載者:User

一.引入問題

幫朋友在CentOS上安裝一個10g的Oracle,結果朋友的CentOS版本是6.2的版本,最新的一個版本,不過Linux上基本都差不多,所以按照以前的步驟,迅速的操作起來,結果遇到N多以前沒有遇到過的錯誤。安裝被迫中斷,嘗試忽略之前的錯誤,又會遇到其他的錯誤。

64位 Linux平台下Oracle安裝文檔

如何搭建一個資料庫伺服器平台

1.1 ins_ctx.mk 問題

[oracle@xd logs]$ tail  installActions2012-05-05_01-20-00PM.log       

INFO: collect2: ld returned 1 exit status

INFO: make: *** [ctxhx] Error 1

INFO: End output from spawned process.

INFO: ----------------------------------

INFO: Exception thrown from action: make

Exception Name: MakefileException

Exception String: Error in invoking target'install' of makefile '/u01/app/oracle/product/10.2.0/db_1/ctx/lib/ins_ctx.mk'.See '/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-20-00PM.log'for details.

Exception Severity: 1

 

[oracle@xd logs]$ yum install gcc

Loaded plugins: fastestmirror,refresh-packagekit, security

You need to be root to perform thiscommand.

[oracle@xd logs]$ rpm -qa --queryformat"%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n" | grep libgcc

libgcc-4.4.6-3.el6 (i686)

libgcc-4.4.6-3.el6 (x86_64)

1.2 ins_rdbms.mk 問題 

[oracle@xd logs]$ tail  installActions2012-05-05_01-20-00PM.log

INFO: make[1]: Leaving directory`/u01/app/oracle/product/10.2.0/db_1/rdbms/lib'

 

INFO: make: *** [extproc32] Error 2

 

INFO: End output from spawned process.

INFO: ----------------------------------

INFO: Exception thrown from action: make

Exception Name: MakefileException

Exception String: Error in invoking target'all_no_orcl' of makefile '/u01/app/oracle/product/10.2.0/db_1/rdbms/lib/ins_rdbms.mk'.See '/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-20-00PM.log'for details.

Exception Severity: 1 

1.3 ins_emdb.mk 問題

[oracle@xd logs]$ tail  installActions2012-05-05_01-20-00PM.log

INFO: make[1]: Leaving directory `/u01/app/oracle/product/10.2.0/db_1/sysman/lib'

 

INFO: make: *** [nmccollector] Error 2

 

INFO: End output from spawned process.

INFO: ----------------------------------

INFO: Exception thrown from action: make

Exception Name: MakefileException

Exception String: Error in invoking target'collector' of makefile'/u01/app/oracle/product/10.2.0/db_1/sysman/lib/ins_emdb.mk'. See'/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-20-00PM.log' fordetails.

Exception Severity: 1

 

1.4 ins_net_client.mk 問題

[oracle@xd logs]$ tailinstallActions2012-05-05_01-51-59PM.log

INFO: /usr/bin/ar:/u01/app/oracle/product/10.2.0/db_1/lib32/nnfgt.o: No such file or directory

 

INFO: make: *** [nnfgt.o] Error 1

 

INFO: End output from spawned process.

INFO: ----------------------------------

INFO: Exception thrown from action: make

Exception Name: MakefileException

Exception String: Error in invoking target'nnfgt.o' of makefile'/u01/app/oracle/product/10.2.0/db_1/network/lib/ins_net_client.mk'. See'/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.

Exception Severity: 1

 

1.5 ins_precomp.mk 問題

[oracle@xd logs]$ tailinstallActions2012-05-05_01-51-59PM.log

INFO: /bin/chmod: cannot access`/u01/app/oracle/product/10.2.0/db_1/precomp/lib/proc': No such file ordirectory

 

INFO: make: ***[/u01/app/oracle/product/10.2.0/db_1/precomp/lib/proc] Error 1

 

INFO: End output from spawned process.

INFO: ----------------------------------

INFO: Exception thrown from action: make

Exception Name: MakefileException

Exception String: Error in invoking target'relink' of makefile'/u01/app/oracle/product/10.2.0/db_1/precomp/lib/ins_precomp.mk'. See'/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.

Exception Severity: 1

 

1.6 ins_plsql.mk 問題

[oracle@xd logs]$ tailinstallActions2012-05-05_01-51-59PM.log

collect2: ld returned 1 exit status

 

INFO: make: *** [wrap] Error 1

 

INFO: End output from spawned process.

INFO: ----------------------------------

INFO: Exception thrown from action: make

Exception Name: MakefileException

Exception String: Error in invoking target'install' of makefile'/u01/app/oracle/product/10.2.0/db_1/plsql/lib/ins_plsql.mk'. See'/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.

Exception Severity: 1

 

1.7 ins_net_server.mk 問題

[oracle@xd logs]$ tailinstallActions2012-05-05_01-51-59PM.log

collect2: ld returned 1 exit status

 

INFO: make: *** [tnslsnr] Error 1

 

INFO: End output from spawned process.

INFO: ----------------------------------

INFO: Exception thrown from action: make

Exception Name: MakefileException

Exception String: Error in invoking target'install' of makefile'/u01/app/oracle/product/10.2.0/db_1/network/lib/ins_net_server.mk'. See'/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.

Exception Severity: 1

 

1.8 ins_nau.mk 問題

[oracle@xd logs]$ tailinstallActions2012-05-05_01-51-59PM.log

INFO: ld returned 1 exit status

 

INFO: make: *** [oklist] Error 1

 

INFO: End output from spawned process.

INFO: ----------------------------------

INFO: Exception thrown from action: make

Exception Name: MakefileException

Exception String: Error in invoking target'ioklist iokinit iokdstry' of makefile'/u01/app/oracle/product/10.2.0/db_1/network/lib/ins_nau.mk'. See'/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.

Exception Severity: 1

 

1.9 ins_ldap.mk 問題

[oracle@xd logs]$ tailinstallActions2012-05-05_01-51-59PM.log

collect2: ld returned 1 exit status

 

INFO: make: *** [ldapadd] Error 1

 

INFO: End output from spawned process.

INFO: ----------------------------------

INFO: Exception thrown from action: make

Exception Name: MakefileException

Exception String: Error in invoking target'clientonlyinstall' of makefile'/u01/app/oracle/product/10.2.0/db_1/ldap/lib/ins_ldap.mk'. See'/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.

Exception Severity: 1

 

1.10 ins_srvm.mk 問題

[oracle@xd logs]$ tailinstallActions2012-05-05_01-51-59PM.log

INFO: ld returned 1 exit status

 

INFO: make: *** [rawutl] Error 1

 

INFO: End output from spawned process.

INFO: ----------------------------------

INFO: Exception thrown from action: make

Exception Name: MakefileException

Exception String: Error in invoking target'install' of makefile'/u01/app/oracle/product/10.2.0/db_1/srvm/lib/ins_srvm.mk'. See'/u01/app/oracle/oraInventory/logs/installActions2012-05-05_01-51-59PM.log' fordetails.

Exception Severity: 1

 

1.11 ins_has.mk 問題

[oracle@xd logs]$ tailinstallActions2012-05-05_01-51-59PM.log

collect2: ld returned 1 exit status

 

INFO: make: *** [/u01/app/oracle/product/10.2.0/db_1/racg/lib/racgmain]Error 1

 

INFO: End output from spawned process.

INFO: ----------------------------------

INFO: Exception thrown from action: make

Exception Name: MakefileException

 

因為之前沒有在CentOS 6.2 上安裝過Oracle,所以開始也是爭對具體情況去分析,饒了一圈之後,最終定位是安裝之前少包了,才導致在安裝過程中一些Binary Options不能進行link。用yum 把需要的包全部打上之後,再次安裝就沒有問題了。

這裡要清楚一個概念,就是Binary Options, 其就是Oracle 的組件,我們在把Oracle 安裝到系統上時,會對這些組件進行一個link的操作,我們這裡因為少了包導致不能進行link。

OracleBinary Options 說明

這次是太大意了,安裝之前沒有去檢查包是否安裝全了,因為根據以往的經驗,把沒有的包打上就可以了,沒想到還有其他的包少了。所以操作中務必小心,要按照文檔步驟來。

其實在Linux 6平台下,可以使用oracle-rdbms-server-11gR2-preinstall包來操作,這個包會幫我們解決很多問題,包括前期包的依賴性和相關的參數配置工作,關於該包的使用,具體參考:

Oracle Linux6 下Oracle RDBMS Server 11gR2 Preinstall RPM 包說明

在Oracle Linux5中參考:

Oracle ValidatedConfigurations 安裝使用 說明

  • 1
  • 2
  • 3
  • 下一頁

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.