0509-036 0509-022 无法加载模块 libclntsh.so



我正在通过 JUnit 远程运行脚本并且我正在接收。

exec(): 0509-036 Cannot load program /u01/app/gg/ggsci because of the following errors:
    0509-150   Dependent module libclntsh.so could not be loaded.
    0509-022 Cannot load module libclntsh.so.
    0509-026 System error: A file or directory in the path name does not exist.

我的脚本直接在机器上运行良好。他的身体(lag_extract.sh):

cd /u01/app/gg
/u01/app/gg/ggsci << EOF
OBEY /u01/app/gg/lag_extract.txt

和我的服从文件(lag_extract.txt):

LAG EXTRACT *
  • JSCH 版本: org.apache.servicemix.bundles.jsch-0.1.44_1.jar
  • 甲骨文金门:12.1.0.4.0

有什么建议吗?

它与缺乏系统环境有关。也许这是一种解决方法,但我刚刚暴露了一个缺少的系统环境,现在它工作正常。

最新更新