码迷,mamicode.com
首页 > 其他好文 > 详细

OGG登陆报cannot open shared object file错误处理

时间:2015-01-26 01:15:03      阅读:199      评论:0      收藏:0      [点我收藏+]

标签:

1、错误现象

Linux服务器上,新安装的goldengate(OGG),使用./ggsci登 陆控制台报出./ggsci: error while loading shared libraries: libnnz11.so: cannotopen shared object file: No such file or directory错误。

2、原因分析

因为运行OGG的用户的没有设置LD_LIBRARY_PATH环境变量,或设置不正确所致。

3、解决方法:

在.bash_profile中增加LD_LIBRARY_PATH环境变量配置信息,添加内容如下:

export OGG=/u01/ogg

export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/u01/ogg

   应用新的环境变量配置:

[oracle@server2 ]$ source .bash_profile

4、结果

./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>

  1.  http://www.youyuanapp.com/thread-11419-1-1.html
    http://www.youyuanapp.com/thread-11418-1-1.html
    http://www.youyuanapp.com/thread-11417-1-1.html
    http://www.youyuanapp.com/thread-11412-1-1.html
    http://www.youyuanapp.com/thread-11409-1-1.html
    http://www.youyuanapp.com/thread-11404-1-1.html
    http://www.youyuanapp.com/thread-11403-1-1.html
    http://www.youyuanapp.com/thread-11398-1-1.html
    http://www.youyuanapp.com/thread-11397-1-1.html
    http://www.youyuanapp.com/thread-11395-1-1.html
    http://yishujiayuanq.blog.163.com/blog/static/2447250612015025101147963/
    http://yishujiayuanq.blog.163.com/blog/static/2447250612015025101251829/
    http://yishujiayuanq.blog.163.com/blog/static/244725061201502510133740/
    http://yishujiayuanq.blog.163.com/blog/static/2447250612015025101653328/
    http://yishujiayuanq.blog.163.com/blog/static/2447250612015025101718995/
    http://yishujiayuanq.blog.163.com/blog/static/2447250612015025101738627/
    http://yishujiayuanq.blog.163.com/blog/static/2447250612015025101822599/
    http://yishujiayuanq.blog.163.com/blog/static/2447250612015025101841318/
    http://yishujiayuanq.blog.163.com/blog/static/2447250612015025101927982/
    http://yishujiayuanq.blog.163.com/blog/static/244725061201502510197287/

OGG登陆报cannot open shared object file错误处理

标签:

原文地址:http://www.cnblogs.com/www6060bcn/p/4249295.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!