SUSE linux下安裝 oracle 10g 遇到過的報錯總結

duduyey發表於2015-03-05

 

以下錯誤都是在SLES 11 X64上面總結的,其他發行版與其類似,但不一定完全相同。

 

一、版本問題導致安裝報錯

報錯如下圖  checking operating system version:must be redhat-3,suse-9 ………….

 image

 

解決方法,直接修改作業系統的release檔案,將原有的11改為9,檢查即可通過

image



官方文件描述如下,也可參考原文件連結http://docs.oracle.com/cd/B19306_01/relnotes.102/b15666/toc.htm


On SUSE Linux Enterprise Server 10 and SUSE Linux Enterprise Server 11, the installation will pass the operating system prerequisite checks if you change each SUSE Linux Enterprise Server 10 or SUSE Linux Enterprise Server 11 to SUSE Linux Enterprise Server 9 in the /etc/SuSE-release file. Ensure that you replace the original values in the /etc/SuSE-release file after the Oracle installation is complete.

Original Value

Changed Value

SUSE Linux Enterprise Server 10 (x86_64)

VERSION = 10

SUSE Linux Enterprise Server 9 (x86_64)

VERSION = 9

SUSE Linux Enterprise Server 11 (x86_64)

VERSION = 11

SUSE Linux Enterprise Server 9 (x86_64)

VERSION = 9

This workaround causes the installer to consider the system to be running earlier version of the operating system and the operating system check passes. The changes to the release file should be reverted after the installation of all Oracle software is complete. The changes to the release file could impact the ability of other tools to be properly installed on the operating system.

二、所需rpm包沒有安裝完全導致安裝報錯

報錯如下面的情況

1.

Error in invoking target ’install’' of makefile ‘/oracle/Q99/102_64/ctx/lib/ins_ctx.mk’.

image

 

Error in invoking target 'agent nmo nmb' of makefile '/oracle/Q99/102_64/db_1/sysman/lib/ins_sysman.mk'.

image

 

Error in invoking target 'all_no_orcl' of makefile  '/oracle/Q99/102_64/rdbms/lib/ins_rdbms.mk'.

image

 

 

Error in invoking target 'collector' of makefile /oracle/Q99/102_64/sysman/lib/ins_emdb.mk'.

image

 

 

Error in invoking target 'ntcontab.o' of makefile /oracle/T03/102_64/network/lib/ins_net_client.mk'.

image

 

 

Error in invoking target 'relink' of makefile /oracle/T03/102_64/precomp/lib/ins_precomp.mk'.

image

 

Error in invoking target 'install' of makefile /oracle/T03/102_64/sqlplus/lib/ins_sqlplus.mk'.

image

 

 

解決方法:

make的基本都是gcc、gcc++的rmp包沒有安裝或者安裝不全導致,

對照如下列表檢查包安裝情況,如果沒有安裝,一一安裝即可解決。

 

 

官方文件說明如下,也可參考原文件連結http://docs.oracle.com/cd/B19306_01/relnotes.102/b15666/toc.htm

The following (or later versions) are the list of packages for SUSE Linux Enterprise Server 11:

binutils-2.19
gcc-4.3
gcc-32bit-4.3
gcc-c++-4.3
glibc-2.9
glibc-32bit-2.9
glibc-devel-2.9
glibc-devel-32bit-2.9
libaioksh-93t
-0.3.104
libaio-32bit-0.3.104
libaio-devel-0.3.104
libaio-devel-32bit-0.3.104
libstdc++33-3.3.3
libstdc++33-32bit-3.3.3
libstdc++43-4.3.3_20081022
libstdc++43-32bit-4.3.3_20081022
libstdc++43-devel-4.3.3_20081022
libstdc++43-devel-32bit-4.3.3_20081022
libgcc43-4.3.3_20081022
libstdc++-devel-4.3
make-3.81
sysstat-8.1.5

 

從10g Release 2開始,以下這些版本中oracle 10也是支援的,只是所需rmp包略有差異,基本相同,

Linux Certification

Starting with Oracle Database 10g Release 2, the following operating systems are supported in addition to the list documented in Oracle Database Installation Guide for Linux x86-64:

  • Asianux 2

  • Asianux 3

  • Oracle Linux 4/Oracle VM

  • Oracle Linux 5/Oracle VM

  • Red Hat Enterprise Linux 4/Oracle VM

  • Red Hat Enterprise Linux 5/Oracle VM

  • SUSE Linux Enterprise Server 10

  • SUSE Linux Enterprise Server 11

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28719055/viewspace-1448841/,如需轉載,請註明出處,否則將追究法律責任。

相關文章