[root@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."
[root@powerlong5 database]#
去check下os版本,都是centos 64位的:
[root@powerlong5 home]# cat /etc/redhat-release
CentOS release 6.4 (Final)
[root@powerlong5 home]#
[root@powerlong5 home]# ls /
bin boot cgroup data dev etc home lib lib64 lost+found media misc mnt net opt oracle proc root sbin selinux srv sys tmp usr var
[root@powerlong5 home]#
[oracle@powerlong5 ora_soft]$ ll
total 2295604
drwxr-xr-x. 8 oracle oinstall 4096 Aug 21 2009 database
-rw-r--r--. 1 oracle oinstall 1239269270 Jan 21 23:17 linux.x64_11gR2_database_1of2.zip
-rw-r--r--. 1 oracle oinstall 1111416131 Jan 21 23:15 linux.x64_11gR2_database_2of2.zip
[oracle@powerlong5 ora_soft]$ cd database/
[oracle@powerlong5 database]$ ll
total 36
drwxr-xr-x. 12 oracle oinstall 4096 Aug 17 2009 doc
drwxr-xr-x. 4 oracle oinstall 4096 Aug 15 2009 install
drwxrwxr-x. 2 oracle oinstall 4096 Aug 15 2009 response
drwxr-xr-x. 2 oracle oinstall 4096 Aug 15 2009 rpm
-rwxr-xr-x. 1 oracle oinstall 3226 Aug 15 2009 runInstaller
drwxrwxr-x. 2 oracle oinstall 4096 Aug 15 2009 sshsetup
drwxr-xr-x. 14 oracle oinstall 4096 Aug 15 2009 stage
-rw-r--r--. 1 oracle oinstall 5402 Aug 18 2009 welcome.html
[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."
[oracle@powerlong5 database]$ exit
logout
[root@powerlong5 ora_soft]#
这个为什么会报错呢?
------解决思路----------------------
uname -a
如果是64位,会显示x86_64
装的系统是32位的,要用32位的版本的oracle软件来安装
------解决思路----------------------
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
看看结果
------解决思路----------------------
这里错了
cd /usr/libexec/getconf/
看看下面是不是有一个POSIX_V6_LP64_OFF64这样的文件
如果有的话
root用户下,执行
ln -s /usr/libexec/getconf/default /usr/libexec/getconf/POSIX_V6_LP64_OFF64
名称如果错了按实际的修改
然后再启动安装
------解决思路----------------------
把原链接删除或重命名,再执行
------解决思路----------------------
抱歉,ln语句顺序写错了
cp /usr/libexec/getconf/POSIX_V6_LP64_OFF64.bak20150205 /usr/libexec/getconf/POSIX_V6_LP64_OFF64
mv /usr/libexec/getconf/default /usr/libexec/getconf/default.bak
ln -s /usr/libexec/getconf/POSIX_V6_LP64_OFF64 /usr/libexec/getconf/default