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>