Install the 32-bit oracle software in 64-bit linux

Source: Internet
Author: User

Install the 32-bit oracle software in 64-bit linux
In some cases, sometimes we need to install 32 oracle software on a 64-bit system (for example, the customer's abnormal requirements ). Although theoretically, this method is feasible, but in the actual installation process is often a hundred errors, in order to avoid unnecessary errors, but also to facilitate future work search, record the installation process.
In this example, the redhat4-64-bit operating system and oracle 10 Gb are used as the database. During the installation process, only the smallest installation package is used to detect as many problems as possible. Because the problem mainly occurs in the installation and compatibility of software packages, other aspects of the installation process are not involved.


First, configure yum to use a local CD as the source and install the 32-bit and 64-bit software simultaneously:


[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
# 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 = 90 m


# Put your repos here or in separate files named file. repo
# In/etc/yum. repos. d


# Install both 32 and 64
Multilib_policy = all


In the actual operation process, the yum effect is not obvious due to source issues.


Install the corresponding software package according to the official oracle documents (during the actual installation process, only 32-bit packages are installed, and others are not (n mark ),)


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-bit installation is more difficult, but still installed
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


Start the installation interface is, package libXp errors, in redhat4 can install xorg-x11-deprecated-libs to solve.


The official team did not point out that the libaio and libaio-devel packages should be installed in redhat4. If the package does not comply with the report, it will not pass the test.


The following error is reported during installation.
Information: Start from the derivative process output:
Information :----------------------------------
Information:


Information:/u01/product/10.2.0/db_1/bin/genclntsh


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


Information :/
Information: usr
Information :/
Information: bin
Information :/
Information: ld
Information ::
Information:
Information: cannot
Information:
Information: find
Information:
Information :-
Information: lxml10
Information:


Information: collect2:
Information: ld returned 1 exit status
Information:


Information: genclntsh: Failed to link libclntsh. so.10.1


Information: make: *** [client_sharedlib] Error 1


Information: Terminate output from the derivative process.
Information :----------------------------------
Information: An exception occurs during the operation: make
Exception error name: MakefileException
Exception error string: an error occurs when the target 'client _ sharedlib 'of makefile'/u01/product/10.2.0/db_1/network/lib/ins_net_client.mk 'is called. See '/u01/oraInventory/logs/installActions2014-11-03_06-51-01PM.log' for details.
Exception severity level: 1



A large number of errors are reported, and the installation is terminated.


Conclusion: It is not recommended to install 32-bit oracle on 64-bit linux.
Can 32-bit oracle databases be installed in 64-bit Linux?

Yes

All hardware devices are backward compatible.

64-bit can be installed with 32-bit

But 32-bit cannot be installed 64

However, there may be a lack of runtime libraries, which is troublesome,
Download a 64-bit package!

In 32-bit linux, can I install 64-bit oracle?

Certainly not. 32-bit: 1 byte = 32bit, 64-bit 1 byte = 64bit, two differences, fundamentally differentiate the program, so it cannot support 64-bit on 32-bit, and vice versa.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.