程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> Oracle數據庫 >> Oracle教程 >> 在64位linux下安裝32位oracle軟件

在64位linux下安裝32位oracle軟件

編輯:Oracle教程

在64位linux下安裝32位oracle軟件


在某些情況下,有時我們需要在64位的系統下來安裝32的oracle軟件(如,客戶的變態要求)。雖然在理論上,這種方式是可行的,但在實際的安裝過程中確往往是錯誤百出,為了避免不必要的錯誤,也為了方便以後的工作查找,記錄安裝過程。
本示例以redhat4——64位操作系統,oracle 10g為數據庫,安裝過程中,僅僅使用了最小的安裝包,以便盡可能多的發現問題。由於問題主要出現在軟件包的安裝和兼容性上,安裝過程的其他方面不過多涉及。

首先,配置yum使用本地光盤作為源,並配置同時安裝32位和64位的軟件:

[root@localhost ~]# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=0
plugins=1
installonly_limit=3

# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

#同時安裝 32 和 64
multilib_policy=all

在實際的操作過程中,由於源的問題,yum的效果並不明顯。

根據oracle官方文檔,安裝相應的軟件包(實際安裝過程中,只有部分包的32位被安裝上了,其他的沒有(n標記),)

binutils-2.15.92.0.2-10.EL4 n
compat-db-4.1.25-9
control-center-2.8.0-12 n
gcc-3.4.3-9.EL4 n
gcc-c++-3.4.3-9.EL4 n
glibc-2.3.4-2
glibc-common-2.3.4-2 n
gnome-libs-1.4.1.2.90-44.1 32位的安裝比較費勁,但還是裝上了
libstdc++-3.4.3-9.EL4
libstdc++-devel-3.4.3-9.EL4
make-3.80-5 n
pdksh-5.2.14-30 n
sysstat-5.0.5-1 n
xscreensaver-4.18-5.rhel4.2 n

啟動安裝界面是,包libXp等錯誤,在redhat4 下可以安裝 xorg-x11-deprecated-libs來解決。

官方沒有指出在redhat4下要安裝libaio,libaio-devel包,不按照該報會檢測不通過。

安裝過程中報如下錯誤
信息: 開始從衍生進程輸出:
信息: ----------------------------------
信息:

信息: /u01/product/10.2.0/db_1/bin/genclntsh

信息: /
信息: usr
信息: /
信息: bin
信息: /
信息: ld
信息: :
信息:
信息: skipping
信息:
信息: incompatible
信息:
信息: /
信息: u01
信息: /
信息: product
信息: /
信息: 10.2.0
信息: /
信息: db_1
信息: /
信息: lib
信息: /
信息: libxml10.a
信息:
信息: when
信息:
信息: searching
信息:
信息: for
信息:
信息: -
信息: lxml10
信息:


信息: /
信息: usr
信息: /
信息: bin
信息: /
信息: ld
信息: :
信息:
信息: cannot
信息:
信息: find
信息:
信息: -
信息: lxml10
信息:

信息: collect2:
信息: ld returned 1 exit status
信息:

信息: genclntsh: Failed to link libclntsh.so.10.1

信息: make: *** [client_sharedlib] 錯誤 1

信息: 終止從衍生進程輸出。
信息: ----------------------------------
信息: 操作中出現異常錯誤: make
異常錯誤名: MakefileException
異常錯誤字符串: 調用 makefile '/u01/product/10.2.0/db_1/network/lib/ins_net_client.mk' 的目標 'client_sharedlib' 時出錯。請參閱 '/u01/oraInventory/logs/installActions2014-11-03_06-51-01PM.log' 以了解詳細信息。
異常錯誤嚴重級: 1

隨後報大量錯誤,安裝至此終止。

結論:不建議在64位linux系統上安裝32位oracle

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved