When logging on to OGG, cannot open shared object file is reported for error handling. cannotshared

Source: Internet
Author: User

When logging on to OGG, cannot open shared object file is reported for error handling. cannotshared
1. Error

On the Linux server, the newly installed goldengate (OGG) is used. /ggsci log on to the console and report. /ggsci: error while loading shared libraries: libnnz11.so: cannotopen shared object file: No such file or directory error.

2. Cause Analysis

The reason is that the user running OGG does not set the LD_LIBRARY_PATH environment variable or the setting is incorrect.

3. solution:

Add the LD_LIBRARY_PATH environment variable configuration in. bash_profile as follows:

Export OGG =/u01/ogg

Export LD_LIBRARY_PATH = $ ORACLE_HOME/lib:/u01/ogg

Apply the new environment variable Configuration:

[Oracle @ server2] $ source. bash_profile

4. Results

./Ggsci log on to the console successfully:

[Oracle @ server2 ~] $ Source. bash_profile

[Oracle @ server2 ~] $ Cd $ OGG

[Oracle @ server2 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,201 1, Oracle and/or its affiliates. All rights reserved.

 

GGSCI (server2) 1>

 

 

Author: LI Junjie (Network Name: Step-by-Step), engaged in "system architecture, operating system, storage device, database, middleware, application" six levels of systematic performance optimization work

Join the system performance optimization professional group to discuss performance optimization technologies. GROUP: 258187244

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.