下载错对应OS平台的OPatch工具后运行opatch version会有提示

本文档指出,在尝试运行OPatch工具时遇到了错误提示,原因是下载了适用于Linux 32位操作系统的p6880880_190000_LINUX.zip,而实际需要的是p6880880_190000_Linux-x86-64。解决方案是确保下载正确的OPatch版本以匹配64位操作系统。
[root@localhost dbhome_1]# cd OPatch
[root@localhost OPatch]# ./OPatch version
-bash: ./OPatch: No such file or directory
[root@localhost OPatch]# ./opatch version
Error: This Java instance does not support a 64-bit JVM.
Please install the desired version.

OPatch failed with error code 1
[root@localhost OPatch]# ll
total 156
drwxr-x---. 6 root root    68 Feb  1 18:45 auto
drwxr-x---. 2 root root    31 Feb  1 18:40 config
-rwxr-x---. 1 root root   589 Feb  1 18:40 datapatch
-rwxr-x---. 1 root root   627 Feb  1 18:40 datapatch.bat
drwxr-x---. 2 root root    90 Feb  1 18:45 docs
-rwxr-x---. 1 root root 23550 Feb  1 18:40 emdpatch.pl
drwxr-x---. 2 root root  4096 Feb  1 18:41 jlib
drwxr-x---. 6 root root   198 Jan  8 18:36 jre
drwxr-x---. 9 root root  4096 Feb  1 18:45 modules
drwxr-x---. 5 root root    58 Feb  1 18:40 ocm
-rwxr-x---. 1 root root 49564 Feb  1 18:40 opatch
-rwxr-x---. 1 root root  1763 Feb  1 18:45 opatchauto
-rwxr-x---. 1 root root   393 Feb  1 18:45 opatchauto.cmd
-rwxr-x---. 1 root root 16458 Feb  1 18:40 opatch.bat
-rwxr-x---. 1 root root  4290 Feb  1 18:40 opatch_env.sh
-rw-r-----. 1 root root  2551 Feb  1 18:40 opatch.pl
drwxr-x---. 4 root root    62 Feb  1 18:41 opatchprereqs
-rwxr-x---. 1 root root  3159 Feb  1 18:40 operr
-rwxr-x---. 1 root root  4218 Feb  1 18:40 operr.bat
-rw-r-----. 1 root root  3177 Feb  1 18:40 operr_readme.txt
drwxr-x---. 2 root root    19 Feb  1 18:45 oplan
drwxr-x---. 3 root root    21 Feb  1 18:45 oracle_common
drwxr-x---. 3 root root    24 Feb  1 18:45 plugins
drwxr-xr-x. 2 root root    39 Feb  1 18:40 private
-rw-r-----. 1 root root  2980 Feb  1 18:40 README.txt
drwxr-x---. 2 root root   170 Feb  1 18:40 scripts
-rw-r-----. 1 root root    27 Feb  1 18:40 version.txt
[root@localhost OPatch]# 

后来检查发现,下载的是p6880880_190000_LINUX.zip,这是Linux 32位操作系统的。正确的是下载p6880880_190000_Linux-x86-64

参考文章:

Why Opatch Fails With Error: This Java Instance Does Not Support A 64-bit JVM After Upgrading GoldenGate 12.3.x Opatch To Latest Version? (Doc ID 2434102.1)

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值