[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)
本文档指出,在尝试运行OPatch工具时遇到了错误提示,原因是下载了适用于Linux 32位操作系统的p6880880_190000_LINUX.zip,而实际需要的是p6880880_190000_Linux-x86-64。解决方案是确保下载正确的OPatch版本以匹配64位操作系统。
4165

被折叠的 条评论
为什么被折叠?



