标题: 在centos8上执行 opatch --help报 java.library.path system variable is missing [打印本页] 作者: 郑全 时间: 2021-4-1 17:29 标题: 在centos8上执行 opatch --help报 java.library.path system variable is missing 具体如下:
[oracle@dbserver 32126842]$ $ORACLE_HOME/OPatch/opatch --help
The java.library.path system variable is missing or invalid. Please set java.library.path with a correct value and retry the operation.
解决办法为:
安装 libnsl
[root@dbserver setup]# yum install libnsl
安装libnsl后,问题解决。
[oracle@dbserver 32126842]$ $ORACLE_HOME/OPatch/opatch --help
Oracle Interim Patch Installer version 12.2.0.1.17
Copyright (c) 2021, Oracle Corporation. All rights reserved.
Syntax Error... Unrecognized Command or Option (--help): 1st argument must be one of the following:
apply
napply
rollback
nrollback
lsinventory
lsinv
lspatches
compare
query
util
prereq
version
-help
-help -fmw