安裝ogg時,執行./ggsci報錯./ggsci:error while loading shared libraries:libnnz10.so......,loading

來源:互聯網
上載者:User

安裝ogg時,執行./ggsci報錯./ggsci:error while loading shared libraries:libnnz10.so......,loading

1、虛擬機器伺服器版本:

[oracle@localhost ~]$ cat /proc/version Linux version 2.6.32-300.10.1.el5uek (mockbuild@ca-build56.us.oracle.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)) #1 SMP Wed Feb 22 17:22:40 EST 2012

2、伺服器資料庫版本:

SQL> select * from v$version;         BANNER----------------------------------------------------------------Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - ProdPL/SQL Release 10.2.0.1.0 - ProductionCORE    10.2.0.1.0  ProductionTNS for Linux: Version 10.2.0.1.0 - ProductionNLSRTL Version 10.2.0.1.0 - Production

3、由於,伺服器與資料庫都是32bit,OGG版本選取對應的fbo_ggs_Linux_x86_ora10g_32bit.tar

4、將OGG包放到/ogghome目錄下,並tar -zxvf命令解壓。

5、通過執行./ggsci登入ogg控制台視窗,發現報錯。

原因分析:
1、缺失檔案libnnz10.so

解決方案:
1、把缺失的so檔案找到,並ln建立一個連結到ogghome目錄即可。

[root@localhost ~]# find / -name libnnz10.so/ogghome/libnnz10.so/u01/app/oracle/agent10g/agent10g/install/oneoffs/linux/4562889/files/lib/libnnz10.so/u01/app/oracle/agent10g/agent10g/.patch_storage/4562889_Sep_30_2005_12_27_00/original_patch/files/lib/libnnz10.so/u01/app/oracle/agent10g/agent10g/lib/libnnz10.so/u01/app/oracle/product/10.1.0/db_1/lib/libnnz10.so

只需要將最後一個oracle目錄下的so檔案拷貝或者建一個連結即可。
ln /u01/app/oracle/product/10.1.0/db_1/lib/libnnz10.so /ogghome

2、整個過程一共缺失兩個so檔案,另一個處理方式一樣,不再細說。

3、兩個檔案都找到建立連結後,再次執行./ggsci,成功。

[oracle@localhost ogghome]$ ./ggsci Oracle GoldenGate Command Interpreter for OracleVersion 11.1.1.1.2 OGGCORE_11.1.1.1.2_PLATFORMS_111004.2100 Linux, x86, 32bit (optimized), Oracle 10g on Oct  4 2011 23:54:04Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.GGSCI (localhost.localdomain) 1> 

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.