ORACLE Installation./runInstaller reports & quot; You are attempting to install 64-bit Oracle on a 32-bit operating system., yuminstalloracle

Source: Internet
Author: User

ORACLE Installation./runInstaller reports "You are attempting to install 64-bit Oracle on a 32-bit operating system., yuminstalloracle

Prepare to install the oracle database, see: http://blog.csdn.net/mchdba/article/details/43086037


1. solution (1): Ignore system prereqs

[Root @ powerlong5 database] # export displayed = 192.168.121.218: 1.0
[Root @ powerlong5 database] # xhsot +
-Bash: xhsot: command not found
[Root @ powerlong5 database] # xhost +
Access control disabled, clients can connect from any host
[Root @ powerlong5 database] # su-oracle
[Oracle @ powerlong5 ~] $./RunInstaller-ignoreSysPreReqs
-Bash:./runInstaller: No such file or directory
[Oracle @ powerlong5 ~] $ Cd/home/ora
Oracle/ora_soft/
[Oracle @ powerlong5 ~] $ Cd/home/ora
Oracle/ora_soft/
[Oracle @ powerlong5 ~] $ Cd/home/ora_soft/database/
[Oracle @ powerlong5 database] $./runInstaller-ignoreSysPreReqs
"You are attempting to install 64-bit Oracle on a 32-bit operating system. This is not supported and will not work ."
Starting Oracle Universal Installer...


Checking Temp space: must be greater than 120 MB. Actual 28934 MB Passed
Checking swap space: must be greater than 150 MB. Actual 2047 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from/tmp/OraInstall2015-02-05_07-25-58PM. Please wait... [oracle @ powerlong5 database] $




2. solution (2): chown to the oracle user group
[Root @ powerlong5 database] # chown-R oracle. oinstall/home /*
[Root @ powerlong5 database] #
[Root @ powerlong5 database] #
[Root @ powerlong5 database] # pwd
/Home/ora_soft/database
[Root @ powerlong5 database] # su-oracle
[Oracle @ powerlong5 ~] $ Cd/home/ora_soft/database
[Oracle @ powerlong5 database] $./runInstaller
"You are attempting to install 64-bit Oracle on a 32-bit operating system. This is not supported and will not work ."
Starting Oracle Universal Installer...


Checking Temp space: must be greater than 120 MB. Actual 28934 MB Passed
Checking swap space: must be greater than 150 MB. Actual 2047 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from/tmp/OraInstall2015-02-05_07-30-17PM. Please wait... [oracle @ powerlong5 database] $




3. solution (3)
[Oracle @ powerlong5 database] $ vim runInstaller
If ['$ uname' = "Linux"]; then
If [-e $ GETCONF]; then
Value = '$ GETCONF LONG_BIT'


If [$ value! = 64]; then
Echo "\" You are attempting to install 64-bit Oracle on a 32-bit operating system. This is not supported and will not work .\"";
# Exit 0;
Fi
Fi
Fi
Then, the system will jump over and exit again. Continue to the oracle Installation page and run the following command again:
[Oracle @ powerlong5 database] $./runInstaller
"You are attempting to install 64-bit Oracle on a 32-bit operating system. This is not supported and will not work ."
Starting Oracle Universal Installer...


Checking Temp space: must be greater than 120 MB. Actual 28934 MB Passed
Checking swap space: must be greater than 150 MB. Actual 2047 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from/tmp/OraInstall2015-02-05_08-07-04PM. Please wait... [oracle @ powerlong5 database] $




4. solution (4 ),
[Root @ powerlong5 ora_soft] # uname-
Linux powerlong5 2.6.32-504.3.3.el6.x86 _ 64 #1 SMP Wed Dec 17 01:55:02 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[Root @ powerlong5 ora_soft] #
Yes 64-bit
In 64 bit Linux operating system, getconf pointing to wrong bit (32 bit POSIX on 64 bit OS ). this may be because of 64 bit POSIX overwritten by the 32bit glibc, glibc-common installation.


This may be the problem.
Ls-l/usr/libexec/getconf/default
Look at the results:
[Oracle @ powerlong5 database] $ ls-l/usr/libexec/getconf/default
Lrwxrwxrwx. 1 root 20 Feb 5 10: 14/usr/libexec/getconf/default-> POSIX_V6_ILP32_OFF32
[Oracle @ powerlong5 database] $


Cd/usr/libexec/getconf/
See if there is a file like POSIX_V6_LP64_OFF64.
Run
Ln-s/usr/libexec/getconf/default/usr/libexec/getconf/POSIX_V6_LP64_OFF64
If the name is incorrect, change it as needed.


[Oracle @ powerlong5 database] $ exit
Logout
[Root @ powerlong5 database] # ln-s/usr/libexec/getconf/default/usr/libexec/getconf/POSIX_V6_LP64_OFF64
Ln: creating symbolic link '/usr/libexec/getconf/posix_v6_lp64_off64': File exists
[Root @ powerlong5 database] #
If the backup already exists, delete it.
Back up first
[Root @ powerlong5 database] # cp/usr/libexec/getconf/POSIX_V6_LP64_OFF64/usr/libexec/getconf/POSIX_V6_LP64_OFF64.bak
Cp: overwrite '/usr/libexec/getconf/POSIX_V6_LP64_OFF64.bak '? Y
[Root @ powerlong5 database] #
Delete it
[Root @ powerlong5 database] # rm/usr/libexec/getconf/POSIX_V6_LP64_OFF64
Rm: remove regular file '/usr/libexec/getconf/posix_v6_lp64_off64 '? Y
Make a soft connection
[Oracle @ powerlong5 database] $./runInstaller
"You are attempting to install 64-bit Oracle on a 32-bit operating system. This is not supported and will not work ."
Starting Oracle Universal Installer...


Checking Temp space: must be greater than 120 MB. Actual 28934 MB Passed
Checking swap space: must be greater than 150 MB. Actual 2047 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed

Preparing to launch Oracle Universal Installer from/tmp/OraInstall2015-02-05_08-07-04PM. Please wait... [oracle @ powerlong5 database] $



Bytes ----------------------------------------------------------------------------------------------------------------
<All Rights Reserved. This document can be reprinted, but the source address must be indicated by link. Otherwise, we will be held legally responsible.>
Original blog address: http://blog.csdn.net/mchdba/article/details/43534947
Original Author: Huang Shan (mchdba)
Bytes ----------------------------------------------------------------------------------------------------------------

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.