When installing ogg, run./ggsci to report an error./ggsci: error while loading shared libraries: libnnz10.so ......, loading

Source: Internet
Author: User

When installing ogg, run./ggsci to report an error./ggsci: error while loading shared libraries: libnnz10.so ......, loading

1. Virtual Server version:

[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. Server database version:

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. Because the server and database are both 32bit, select the corresponding OGG versionFbo_ggs_Linux_x86_ora10g_32bit.tar

4. Put the OGG package in the/ogghome directory and decompress the tar-zxvf command.

5. log on to the ogg console by executing./ggsci and report an error.

Cause analysis:
1. missing filesLibnnz10.so

Solution:
1. Find the missing so file and establish a link to the ogghome directory in ln.

[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

You only need to copy the so file in the last oracle directory or create a link.
Ln/u01/app/oracle/product/10.1.0/db_1/lib/libnnz10.so/ogghome

2. A total of two so files are missing throughout the process. The other method is the same.

3. After the link is established for both files, execute./ggsci again.

[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> 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.