CentOS X86-64安装64oracle报错-版本不兼容

时间:2022-08-09 02:55:28

故障现象:

[oracle@ogg02 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@ogg02 ~]#cp /usr/libexec/getconf/POSIX_V6_LP64_OFF64/usr/libexec/getconf/POSIX_V6_LP64_OFF64.bak

[root@ogg02 ~]#cd/usr/libexec/getconf/

[root@ogg02 getconf]# rm -f POSIX_V6_LP64_OFF64

[root@ogg02 getconf]# ls
default                POSIX_V6_LP64_OFF64.ak  POSIX_V7_LP64_OFF64
POSIX_V6_ILP32_OFF32   POSIX_V7_ILP32_OFF32
POSIX_V6_ILP32_OFFBIG  POSIX_V7_ILP32_OFFBIG
[root@ogg02 getconf]# cp /usr/libexec/getconf/POSIX_V6_LP64_OFF64.bak /usr/libexec/getconf/POSIX_V6_LP64_OFF64
[root@ogg02 getconf]# ls
default                POSIX_V6_LP64_OFF64     POSIX_V7_ILP32_OFFBIG
POSIX_V6_ILP32_OFF32   POSIX_V6_LP64_OFF64.ak  POSIX_V7_LP64_OFF64
POSIX_V6_ILP32_OFFBIG  POSIX_V7_ILP32_OFF32
[root@ogg02 getconf]# cp default default.bak
[root@ogg02 getconf]# rm default
rm: remove symbolic link `default'? yes
[root@ogg02 getconf]# ls
default.bak            POSIX_V6_LP64_OFF64     POSIX_V7_ILP32_OFFBIG
POSIX_V6_ILP32_OFF32   POSIX_V6_LP64_OFF64.bak  POSIX_V7_LP64_OFF64
POSIX_V6_ILP32_OFFBIG  POSIX_V7_ILP32_OFF32
[root@ogg02 getconf]# ln -s /usr/libexec/getconf/POSIX_V6_LP64_OFF64 /usr/libexec/getconf/default

[root@ogg02 getconf]#

切换到oracle用户再次安装成功。