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

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

应用新的环境变量配置:

[[email protected] ]$ source .bash_profile

4、结果

./ggsci登陆控制台成功:


[[email protected] ~]$ source .bash_profile

[[email protected] ~]$ cd $OGG

[[email protected] 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/
时间: 2024-10-20 14:06:07

OGG登陆报cannot open shared object file错误处理的相关文章

〖Android〗arm-linux-androideabi-gdb报 libpython2.6.so.1.0: cannot open shared object file错误的解决方法

执行: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gdb out/target/product/rk30sdk/symbols/system/bin/app_process 报错: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gdb: error while loa

运行 jcontrol 报 libXext.so.6: cannot open shared object file 错误

需要安装额外库: yum install libXext.x86_64 yum install libXrender.x86_64 yum install libXtst.x86_64 原文地址:https://www.cnblogs.com/clement-jiao/p/11867077.html

ogg启动报错libnnz11.so: cannot open shared object file

当ogg软件解压,并给予正确的权限后,在启动ogg时会遇到如下报错: [[email protected] ogg]# ./ggsci./ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file: No such file or directory 这里是因为缺少libnnz11.so库文件造成的,需要给出此库文件的位置,解决如下: [Oracle@oggtest ogg]$

运行编译后的程序报错 error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory

运行编译后的程序报错  error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory -------------------------------------------------------------------------------------------------------------------------------------

iptables报错:Couldn't load target `accept':/lib64/iptables/libipt_accept.so: cannot open shared object file: No such file or directory

语句:iptables -A INPUT -s 134.192.204.235 -p TCP --dport 11211 -j accept 报错:Couldn't load target `accept':/lib64/iptables/libipt_accept.so: cannot open shared object file: No such file or directory 原因:规则语句写错accept应大写ACCEPT 参考:http://www.cnblogs.com/iii

Redhat 6.4安装ORACLE11R2 ,运行root.sh报错:“libcap.so.1:cannot open shared object file”

1.系统环境: Redhat 6.4 企业版 Oracle11.2.0.2 RAC+ASM 2.报错信息:/oracle/app/11.2.0/grid/bin/clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory 3.问题的可能性: ①缺少系统补丁包"libcap"补丁包  # rpm -qa|gr

Nginx安装启动过程报错libpcre.so.1 cannot open shared object file: No such file or directory

具体报错信息如下: nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory 环境:因为生产环境不让使用root用户,但是安装linux 的gcc .precel.zlib等依赖库权限不够,因此准备使用root用户安装,安装完成之后将权限切换至oper用户.因为nginx又安装在home目录,各种映射问题都暴露出来了,安装

Nginx 启动报错 (nginx: error while loading shared libraries: XXX: cannot open shared object file: No such file or directory ) 的解决办法

本文解决 Nginx 因库文件缺失而无法启动问题 没有采用缺失什么就安装什么的解决办法, 而是借助于另一个正常运行的Linux , 将其上的库文件发送给缺失库文件的 Linux 服务器 以 缺失  libharfbuzz.so.0 为例 , 其它库文件缺失 大同小异 前提摘要: 今天打开我的网址 www.cheery.pro 时发现,  多次重试也没反应, 这可怎么办? 这是怎么回事 问题探究: ping了一下服务器发现可以ping通,  于是猜测可能是Nginx 出现了问题, 打开宝塔面板,

ArchLinux 下 virtualbox 报错 libQtCore.so.4: cannot open shared object file

VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: libQtCore.so.4: cannot open shared object file: No such file or directory