ORACLE安裝./runInstaller報"You are attempting to install 64-bit
準備安裝oracle資料庫,參考:http://blog.csdn.net/mchdba/article/details/43086037
1,解決方法(1),忽略系統prereqs
[root@powerlong5 database]# export DISPLAY=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,解決方法(2),chown進oracle使用者組
[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,解決辦法(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
然後再啟動就會跳過去了,不會exit了,繼續出來oracle安裝介面,再次執行如下所示:
[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,解決辦法(4),
[root@powerlong5 ora_soft]# uname -a
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]#
是64位的
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.
可能是這個問題
ls -l /usr/libexec/getconf/default
看看結果:
[oracle@powerlong5 database]$ ls -l /usr/libexec/getconf/default
lrwxrwxrwx. 1 root root 20 Feb 5 10:14 /usr/libexec/getconf/default -> POSIX_V6_ILP32_OFF32
[oracle@powerlong5 database]$
cd /usr/libexec/getconf/
看看下面是不是有一個POSIX_V6_LP64_OFF64這樣的檔案,如果有的話
root使用者下,執行
ln -s /usr/libexec/getconf/default /usr/libexec/getconf/POSIX_V6_LP64_OFF64
名稱如果錯了按實際的修改
[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]#
已經存在了,那麼備份好,刪除它
先備份
[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]#
刪除它
[root@powerlong5 database]# rm /usr/libexec/getconf/POSIX_V6_LP64_OFF64
rm: remove regular file `/usr/libexec/getconf/POSIX_V6_LP64_OFF64'? y
再做軟連線
[oracle@powerlong5 database]# ln -s /usr/libexec/getconf/POSIX_V6_LP64_OFF64 /usr/libexec/getconf/default
[oracle@powerlong5 database]$ ./runInstaller
/usr/bin/getconf: unknown specification "/usr/libexec/getconf/"./runInstaller: line 54: [: !=: unary operator expected
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 28912 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-06_11-11-14AM. Please wait ...[oracle@powerlong5 database]$
----------------------------------------------------------------------------------------------------------------
<版權所有,文章允許轉載,但必須以連結方式註明源地址,否則追究法律責任!>
原部落格地址: http://blog.csdn.net/mchdba/article/details/43534947
原作者:黃杉 (mchdba)
----------------------------------------------------------------------------------------------------------------
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30633755/viewspace-2127692/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- npm install 安裝外掛報錯NPM
- Oracle 11G靜默安裝報錯Oracle recommends that if you want to keep this log...Oracle
- 使用npm install安裝webpack報錯ERRNPMWeb
- npm install 安裝報錯解決方案NPM
- How to install 64-bit Google Chrome 28+ on 64-bit RHEL/CentOS 6 or 7GoChromeCentOS
- Oracle runInstaller 's UsageOracle
- studio if you already have a 64-bit JDK installedJDK
- MySQL的安裝配置(win7 64-bit)MySqlWin7
- Windows 啟動 Idea 報錯 if you already hava a 64-bit JDK ... 以及 failed to create jvm...WindowsIdeaJDKAIJVM
- install安裝指令碼指令碼
- Linux安裝Redis 6.0.5 ./install_server.sh報錯LinuxRedisServer
- before install octave package you must be install gcc-fortranPackageGC
- Oracle安裝報錯syntax errorOracleError
- 關於npm install安裝報錯的解決辦法NPM
- 安裝android studio報錯Failed to install Intel HAXM.AndroidAIIntel
- oracle JRE issue using runInstallerOracle
- Oracle 9iR2 64-bit在RHEL 4 x86-64 上的安裝需求Oracle
- oracle靜默安裝檔案db_install.rsp詳解Oracle
- oceanbase 安裝叢集 install OB rpm報錯處理
- oracle 19c dataguard silent install (oracle 19c dataguard 靜默安裝)Oracle
- 安裝oracle11g報錯Oracle
- oracle 11g安裝報錯Oracle
- apt-get install **安裝opencvapt-getOpenCV
- 【INSTALL】Oracle12c 在centos8.3安裝報錯“no oraInstaller in java.library.path”OracleCentOSAIJava
- 【OCP最新題庫解析(052)--題9】You want to install Oracle 11g databaseOracleDatabase
- 安裝Oracle11.2 for Windows報錯OracleWindows
- oracle 10g rac安裝報錯Oracle 10g
- 安裝oracle報錯 /ins_sysman.mkOracle
- 安裝MySQL5.7報錯:The action ‘Install’ for product ‘MySQL Server 5.7.19’ failed.MySqlServerAI
- oracle安裝:OUI安裝Oracle(圖形介面安裝)OracleUI
- CentOS 6安裝Oracle報錯解決方案CentOSOracle
- Oracle11g靜默安裝相應檔案db_install.rspOracle
- npm install安裝失敗解決方法NPM
- pip install selenium安裝沒反應
- Maven命令列使用:mvn clean install(安裝)Maven命令列
- 安裝npm install時,長時間停留NPM
- yum install 安裝linux系統包Linux
- 使用apt install安裝本地deb檔案APT