glodengate配置時報ggsci: error while loading shared libraries
報錯如下:
[oracle@oel-01 ogg]$ ./ggsci
linux-gate.so.1 => (0xb7845000)
libdl.so.2 => /lib/libdl.so.2 (0x49cfa000)
libgglog.so => /u01/app/oracle/product/ogg/./libgglog.so (0xb7712000)
libggrepo.so => /u01/app/oracle/product/ogg/./libggrepo.so (0xb76c6000)
libdb-5.2.so => /u01/app/oracle/product/ogg/./libdb-5.2.so (0xb7539000)
libicui18n.so.38 => /u01/app/oracle/product/ogg/./libicui18n.so.38 (0xb73d7000)
libicuuc.so.38 => /u01/app/oracle/product/ogg/./libicuuc.so.38 (0xb72b6000)
libicudata.so.38 => /u01/app/oracle/product/ogg/./libicudata.so.38 (0xb63d9000)
libpthread.so.0 => /lib/libpthread.so.0 (0x49d16000)
libxerces-c.so.28 => /u01/app/oracle/product/ogg/./libxerces-c.so.28 (0xb602c000)
libantlr3c.so => /u01/app/oracle/product/ogg/./libantlr3c.so (0xb601b000)
libnnz11.so => not found
libclntsh.so.11.1 => /lib/libclntsh.so.11.1 (0xb4316000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x4ad07000)
libm.so.6 => /lib/libm.so.6 (0x49ccf000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4ab46000)
libc.so.6 => /lib/libc.so.6 (0x49b73000)
/lib/ld-linux.so.2 (0x49b54000)
libnnz11.so => /u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so (0xb40c6000)
libnsl.so.1 => /lib/libnsl.so.1 (0x4a086000)
libaio.so.1 => /usr/lib/libaio.so.1 (0xb40c3000)
解決:
[oracle@oel-01 ogg]$ su -
Password:
[root@oel-01 ~]# find / -name libnnz11.so
/u01/app/oracle/product/11.2.0/dbhome_1/.patch_storage/8670579_Feb_25_2010_09_55_12/original_patch/files/lib/libnnz11.so
/u01/app/oracle/product/11.2.0/dbhome_1/.patch_storage/8670579_Feb_25_2010_09_55_12/files/lib/libnnz11.so
/u01/app/oracle/product/11.2.0/dbhome_1/.patch_storage/8670579_Feb_25_2010_09_55_12/backup/lib/libnnz11.so
/u01/app/oracle/product/11.2.0/dbhome_1/inventory/backup/2013-06-07_10-55-44AM/Scripts/ext/lib/libnnz11.so
/u01/app/oracle/product/11.2.0/dbhome_1/inventory/Scripts/ext/lib/libnnz11.so
/u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so
[root@oel-01 ~]# ln -s /u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so /lib/libnnz11.so
[root@oel-01 ~]# exit
logout
[oracle@oel-01 ogg]$ ldd ggsci
linux-gate.so.1 => (0xb7844000)
libdl.so.2 => /lib/libdl.so.2 (0x49cfa000)
libgglog.so => /u01/app/oracle/product/ogg/./libgglog.so (0xb7711000)
libggrepo.so => /u01/app/oracle/product/ogg/./libggrepo.so (0xb76c5000)
libdb-5.2.so => /u01/app/oracle/product/ogg/./libdb-5.2.so (0xb7538000)
libicui18n.so.38 => /u01/app/oracle/product/ogg/./libicui18n.so.38 (0xb73d6000)
libicuuc.so.38 => /u01/app/oracle/product/ogg/./libicuuc.so.38 (0xb72b5000)
libicudata.so.38 => /u01/app/oracle/product/ogg/./libicudata.so.38 (0xb63d8000)
libpthread.so.0 => /lib/libpthread.so.0 (0x49d16000)
libxerces-c.so.28 => /u01/app/oracle/product/ogg/./libxerces-c.so.28 (0xb602b000)
libantlr3c.so => /u01/app/oracle/product/ogg/./libantlr3c.so (0xb601a000)
libnnz11.so => /lib/libnnz11.so (0xb5dcb000)
libclntsh.so.11.1 => /lib/libclntsh.so.11.1 (0xb40c6000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x4ad07000)
libm.so.6 => /lib/libm.so.6 (0x49ccf000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4ab46000)
libc.so.6 => /lib/libc.so.6 (0x49b73000)
/lib/ld-linux.so.2 (0x49b54000)
libnsl.so.1 => /lib/libnsl.so.1 (0x4a086000)
libaio.so.1 => /usr/lib/libaio.so.1 (0xb40c3000)
[oracle@oel-01 ogg]$ ./ggsci
Oracle GoldenGate Command Interpreter for Oracle
Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230_FBO
Linux, x86, 32bit (optimized), Oracle 11g on Apr 23 2012 08:09:25
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
GGSCI (oel-01) 1>
[oracle@oel-01 ogg]$ ./ggsci
./ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file: No such file or directory
linux-gate.so.1 => (0xb7845000)
libdl.so.2 => /lib/libdl.so.2 (0x49cfa000)
libgglog.so => /u01/app/oracle/product/ogg/./libgglog.so (0xb7712000)
libggrepo.so => /u01/app/oracle/product/ogg/./libggrepo.so (0xb76c6000)
libdb-5.2.so => /u01/app/oracle/product/ogg/./libdb-5.2.so (0xb7539000)
libicui18n.so.38 => /u01/app/oracle/product/ogg/./libicui18n.so.38 (0xb73d7000)
libicuuc.so.38 => /u01/app/oracle/product/ogg/./libicuuc.so.38 (0xb72b6000)
libicudata.so.38 => /u01/app/oracle/product/ogg/./libicudata.so.38 (0xb63d9000)
libpthread.so.0 => /lib/libpthread.so.0 (0x49d16000)
libxerces-c.so.28 => /u01/app/oracle/product/ogg/./libxerces-c.so.28 (0xb602c000)
libantlr3c.so => /u01/app/oracle/product/ogg/./libantlr3c.so (0xb601b000)
libnnz11.so => not found
libclntsh.so.11.1 => /lib/libclntsh.so.11.1 (0xb4316000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x4ad07000)
libm.so.6 => /lib/libm.so.6 (0x49ccf000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4ab46000)
libc.so.6 => /lib/libc.so.6 (0x49b73000)
/lib/ld-linux.so.2 (0x49b54000)
libnnz11.so => /u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so (0xb40c6000)
libnsl.so.1 => /lib/libnsl.so.1 (0x4a086000)
libaio.so.1 => /usr/lib/libaio.so.1 (0xb40c3000)
解決:
[oracle@oel-01 ogg]$ su -
Password:
[root@oel-01 ~]# find / -name libnnz11.so
/u01/app/oracle/product/11.2.0/dbhome_1/.patch_storage/8670579_Feb_25_2010_09_55_12/original_patch/files/lib/libnnz11.so
/u01/app/oracle/product/11.2.0/dbhome_1/.patch_storage/8670579_Feb_25_2010_09_55_12/files/lib/libnnz11.so
/u01/app/oracle/product/11.2.0/dbhome_1/.patch_storage/8670579_Feb_25_2010_09_55_12/backup/lib/libnnz11.so
/u01/app/oracle/product/11.2.0/dbhome_1/inventory/backup/2013-06-07_10-55-44AM/Scripts/ext/lib/libnnz11.so
/u01/app/oracle/product/11.2.0/dbhome_1/inventory/Scripts/ext/lib/libnnz11.so
/u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so
[root@oel-01 ~]# ln -s /u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so /lib/libnnz11.so
[root@oel-01 ~]# exit
logout
[oracle@oel-01 ogg]$ ldd ggsci
linux-gate.so.1 => (0xb7844000)
libdl.so.2 => /lib/libdl.so.2 (0x49cfa000)
libgglog.so => /u01/app/oracle/product/ogg/./libgglog.so (0xb7711000)
libggrepo.so => /u01/app/oracle/product/ogg/./libggrepo.so (0xb76c5000)
libdb-5.2.so => /u01/app/oracle/product/ogg/./libdb-5.2.so (0xb7538000)
libicui18n.so.38 => /u01/app/oracle/product/ogg/./libicui18n.so.38 (0xb73d6000)
libicuuc.so.38 => /u01/app/oracle/product/ogg/./libicuuc.so.38 (0xb72b5000)
libicudata.so.38 => /u01/app/oracle/product/ogg/./libicudata.so.38 (0xb63d8000)
libpthread.so.0 => /lib/libpthread.so.0 (0x49d16000)
libxerces-c.so.28 => /u01/app/oracle/product/ogg/./libxerces-c.so.28 (0xb602b000)
libantlr3c.so => /u01/app/oracle/product/ogg/./libantlr3c.so (0xb601a000)
libnnz11.so => /lib/libnnz11.so (0xb5dcb000)
libclntsh.so.11.1 => /lib/libclntsh.so.11.1 (0xb40c6000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x4ad07000)
libm.so.6 => /lib/libm.so.6 (0x49ccf000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4ab46000)
libc.so.6 => /lib/libc.so.6 (0x49b73000)
/lib/ld-linux.so.2 (0x49b54000)
libnsl.so.1 => /lib/libnsl.so.1 (0x4a086000)
libaio.so.1 => /usr/lib/libaio.so.1 (0xb40c3000)
[oracle@oel-01 ogg]$ ./ggsci
Oracle GoldenGate Command Interpreter for Oracle
Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230_FBO
Linux, x86, 32bit (optimized), Oracle 11g on Apr 23 2012 08:09:25
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
GGSCI (oel-01) 1>
相關文章
- ./ggsci: error while loading shared librariesErrorWhile
- 使用SRVCTL時報錯:error while loading shared librariesErrorWhile
- ggsci: error while loading shared libraries: libnnz11.soErrorWhile
- error while loading shared librariesErrorWhile
- sqlplus: error while loading shared librariesSQLErrorWhile
- 解決"error while loading shared libraries: libclntshErrorWhile
- MySQL 啟動報錯 error while loading shared librariesMySqlErrorWhile
- error while loading shared libraries: libaio.so.1ErrorWhileAI
- Error while loading shared libraries: libssl.so.6:ErrorWhile
- Mysql的error while loading shared libraries解決方法MySqlErrorWhile
- mongod: error while loading shared libraries: libstdc++.so.6GoErrorWhileC++
- error while loading shared libraries: libclntsh.so.10.1ErrorWhile
- innobackupex: error while loading shared libraries: libssl.so.6ErrorWhile
- ORACLE SQLPLUS 報 error while loading shared libraries[轉]OracleSQLErrorWhile
- error while loading shared libraries: libcap.so.1: cannot open sharedErrorWhile
- error while loading shared libraries: libgsl.so.27: cannot open shared objectErrorWhileObject
- error while loading shared libraries: libgconf-2.so.4:ErrorWhileGC
- error while loading shared libraries: libstdc++.so.5: cannot openErrorWhileC++
- csscan: error while loading shared libraries: libclntsh.so.10.1CSSErrorWhile
- sqlplus: error while loading shared libraries的解決方案SQLErrorWhile
- error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No suchErrorWhileIBMMySqlclientObject
- 故障解決:error while loading shared libraries: libncurses.so.5ErrorWhile
- sqlplus: error while loading shared libraries: libaio.so.1:SQLErrorWhileAI
- error while loading shared libraries 錯誤解決辦法總結ErrorWhile
- sqlplus: error while loading shared libraries: libsqlplus.soSQLErrorWhile
- [mysql]error while loading shared libraries: libaio.so.1: 解決方案MySqlErrorWhileAI
- Error while loading shared libraries: libreadline.so.7: cannot open shared objecErrorWhileOBJ
- error while loading shared libraries: libodm9.so: cannot open shared object file: No such file or diErrorWhileObject
- MongoDB報錯mongorestore: error while loading shared libraries: libsasl2.so.2MongoDBRESTErrorWhile
- root.sh / vipca: error while loading shared libraries: libpth read.so.PCAErrorWhile
- 錯誤 error while loading shared libraries: libclntsh.so.9.0 的解決ErrorWhile
- sqlldr執行報錯:error while loading shared libraries: libclntsh.so.10.1:SQLErrorWhile
- 【故障處理】csscan工具無法使用,報錯“error while loading shared libraries...”CSSErrorWhile
- MySQL 5.7初始化報錯error while loading shared libraries: libnuma.so.1MySqlErrorWhile
- 安裝EBS R12.1.1-error while loading shared libraries: libdb.so.2ErrorWhile
- rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such fi...ErrorWhileGCObject
- ./XXX.XX: error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: NoErrorWhileObject
- error while loading shared libraries: libpython3.7m(2.7).so.1.0: cannot open shared object file: NErrorWhilePythonObject