标签:libnnz11.so .ggsci error error while loading while loading shared cannotopen shared ob
Linux服务器上,新安装的goldengate(OGG),使用./ggsci登陆控制台报出./ggsci: error while loading shared libraries: libnnz11.so: cannotopen shared object file: No such file or directory错误。
因为运行OGG的用户的没有设置LD_LIBRARY_PATH环境变量,或设置不正确所致。
在.bash_profile中增加LD_LIBRARY_PATH环境变量配置信息,添加内容如下:
export OGG=/u01/ogg export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/u01/ogg |
应用新的环境变量配置:
[oracle@server2 ]$ source .bash_profile
./ggsci登陆控制台成功:
[oracle@server2 ~]$ source .bash_profile [oracle@server2 ~]$ cd $OGG [oracle@server2 ogg]$ ./ggsci Oracle GoldenGate Command Interpreter for Oracle Version 11.1.1.1.2 OGGCORE_11.1.1.1.2_PLATFORMS_111004.2100 Linux, x64, 64bit (optimized), Oracle 11g on Oct 4 2011 23:49:46
Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
GGSCI (server2) 1> |
本文作者:黎俊杰(网名:踩点),从事”系统架构、操作系统、存储设备、数据库、中间件、应用程序“六个层面系统性的性能优化工作
欢迎加入系统性能优化专业群,共同探讨性能优化技术。群号:258187244
OGG登陆报cannot open shared object file错误处理
标签:libnnz11.so .ggsci error error while loading while loading shared cannotopen shared ob
原文地址:http://blog.csdn.net/ljunjie82/article/details/43114797