ORACLE 安装./runInstaller报"You are attempting to install 64-bit Oracle on a 32-bit operating system.

准备安装oracle数据库,参考:http://blog.csdn.net/mchdba/article/details/43086037

1,解决方法(1),忽略系统prereqs

[[email protected] database]# export DISPLAY=192.168.121.218:1.0
[[email protected] database]# xhsot +
-bash: xhsot: command not found
[[email protected] database]# xhost +
access control disabled, clients can connect from any host
[[email protected] database]# su - oracle
[[email protected] ~]$ ./runInstaller -ignoreSysPreReqs
-bash: ./runInstaller: No such file or directory
[[email protected] ~]$ cd /home/ora
oracle/   ora_soft/ 
[[email protected] ~]$ cd /home/ora
oracle/   ora_soft/ 
[[email protected] ~]$ cd /home/ora_soft/database/
[[email protected] 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 ...[[email protected] database]$

2,解决方法(2),chown进oracle用户组
[[email protected] database]# chown -R oracle.oinstall /home/*
[[email protected] database]# 
[[email protected] database]# 
[[email protected] database]# pwd
/home/ora_soft/database
[[email protected] database]# su - oracle
[[email protected] ~]$ cd /home/ora_soft/database
[[email protected] 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 ...[[email protected] database]$

3,解决办法(3)
[oracle[email protected] 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安装界面,再次运行如下所示:
[[email protected] 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 ...[[email protected] database]$

4,解决办法(4),
[[email protected] 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
[[email protected] 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
看看结果:
[[email protected] database]$ ls -l /usr/libexec/getconf/default
lrwxrwxrwx. 1 root root 20 Feb  5 10:14 /usr/libexec/getconf/default -> POSIX_V6_ILP32_OFF32
[[email protected] database]$

cd /usr/libexec/getconf/
看看下面是不是有一个POSIX_V6_LP64_OFF64这样的文件,如果有的话
root用户下,执行
ln -s  /usr/libexec/getconf/default  /usr/libexec/getconf/POSIX_V6_LP64_OFF64
名称如果错了按实际的修改

[[email protected] database]$ exit
logout
[[email protected] 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
[[email protected] database]# 
已经存在了,那么备份好,删除它
先备份
[[email protected] 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
[[email protected] database]# 
删除它
[[email protected] database]# rm /usr/libexec/getconf/POSIX_V6_LP64_OFF64
rm: remove regular file `/usr/libexec/getconf/POSIX_V6_LP64_OFF64‘? y
再做软连接
[[email protected] 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 ...[[email protected] database]$

----------------------------------------------------------------------------------------------------------------
<版权所有,文章允许转载,但必须以链接方式注明源地址,否则追究法律责任!>
原博客地址:      http://blog.csdn.net/mchdba/article/details/43534947
原作者:黄杉 (mchdba)
----------------------------------------------------------------------------------------------------------------

时间: 2024-10-05 23:02:59

ORACLE 安装./runInstaller报"You are attempting to install 64-bit Oracle on a 32-bit operating system.的相关文章

Win8.1OS64位oracle11安装配置及PL/SQL Developer如何连接64位oracle

Oracle 为什么选择oracle 1.oracle能够在主流的平台上运行,而相对于sql server只支持windows,而windows在wr手里攥着呢,所以你懂的.在安全性上来讲,很多地方oracle和linux就是个不错的选择: 2.支持的连接模式上,oracle能够支持oledb,jdbc,oci等标准进行连接. 3.从80年代起,oracle开始了oracle6的发布.用户群庞大加上多年coder的开发的经验,可以说是历经磨练. 与其他数据库的比较 Oracle11的安装 最新下

oracle安装过程报ins_emdb.mk错误处理方法

***********************************************声明**********************************************  原创作品,出自 "深蓝的blog" 博客,欢迎转载,转载时请务必注明出处,否则追究版权法律责任. 表述有错误之处,请您留言或邮件([email protected])指明,不胜感激. 本文转载必须保留此处:http://blog.csdn.net/huangyanlong/article/det

CentOS6.2上安装Oracle10g报ins_emdb.mk错误处理方法

oracle安装过程报ins_emdb.mk错误,此时继续点击“continue”即可,待Oracle完成安装后,再手工执行相应脚本完成链接即可 在CentOS6.2操作系统上,安装Oracle10g时,报如下错误: 根据提示查看日志,并没发现帮助信息,如下所示: 复制代码代码如下: [[email protected] ~]# tail -f /u01/app/oracle/oraInventory/logs/installActions2014-09-20_02-43-00PM.log IN

oracle的环境配置-Oracle安装后的目录结构

Oracle安装后的目录结构 [[email protected] admin]$ cd /u01/oracle[[email protected] oracle]$ ll总计 20drwxr-x--- 3 oracle oinstall 4096 06-04 16:19 admin                   --oracle的跟踪文件和日志文件drwxr-x--- 3 oracle oinstall 4096 06-04 16:21 flash_recovery_area  --闪回

一键准备Oracle安装

在Linux下安装Oracle软件之前,有相当工作需要准备,包括建立用户.配置内核参数.配置资源限制参数.配置Oracle用户环境等,十分繁琐.即便十分熟悉,也需要花费一定的精力来准备.说白了,做这些事情有点类似于低水平重复建设,虽没有多大技术含量,却又不得不做.现在将这些准备工作做成脚本,这样可以近乎实现一键准备Oracle安装. 说明: 1> 该脚本的执行方式为sh Oracle_Setup_Prepare.sh orcl /opt,两个参数说明见脚本解释部分. 2> 该脚本中涉及到一个文

oracle安装故障:完美解决xhost +报错: unable to open display “”

oracle安装 先切换到root用户,执行xhost + 然后再切换到oracle用户,执行export DISPLAY=:0.0 出现乱码执行export LANG=US_en 在这里给大家介绍下两种情况的常见问题: 一种是本地运行的命令,另一种则是远程ssh命令安装. DISPLAY科普 DISPLAY变量是用来设置将图形显示到何处.比如CENTOS,你用图形界面登录进去,DISPLAY自动设置为DISPLAY=:0.0表示显式到本地监视器,那么通过终端工具(例如:xshell)进去,运行

Oracle 安装执行./runInstaller 提示SEVERE: [FATAL] web01: web01

RHEL 6.4 上安装oracle 11g $./runInstaller 安装刚开始,马上报一个SEVERE: [FATAL]web01: web01的错误,点确定后就退出安装了. [@[email protected]]错误日志如下: INFO: Setting value for the property:id in the bean:configcmdINFO: Setting value for the property:platformcmdmap in the bean:conf

Linux安装Oracle报Checking operating system version must be redhat-3, SuSE-9, redhat-4

解决办法:vi /xx/database/install/oraparam.ini 找到[Certified Versions] Linux=redhat-3,SuSe-9,redhat-4,后面加上redhat-5保存并退出即可.如图: Linux安装Oracle报Checking operating system version must be redhat-3, SuSE-9, redhat-4,布布扣,bubuko.com Linux安装Oracle报Checking operating

Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法

出现这种错误是因为主机名和/etc/hosts 文件不一致,只需要把主机名和其IP 写入/etc/hosts 文件,就ok了. 注意名字不能有下划线 修改network 文件之外,再使用hostname 命令指定一下主机名,就不用重启OS了. 1.     修改/etc/sysconfig/network 文件 [[email protected]~]# cat /etc/sysconfig/network NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=s