Cannot load ICU resource bundle ‘ggMessage’, error code 2 – No such file or directory

Cannot load ICU resource bundle ‘ggMessage’, error code 2 – No such file or directory

Platform : RHEL 5.5 x86_64
Oracle Goldengate 11.1.1.1.2
Database: Oracle Database 11gR2 64-bit

[oracle@prod ~]$ pwd
/home/oracle

PATH variable contain path to Goldengate software installation directory

ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
GG_HOME=/u01/app/oracle/product/gg
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:$GG_HOME
CLASSPATH=$ORACLE_HOME/jdk/jre:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
PATH=$ORACLE_HOME/bin:$HOME/bin:$GG_HOME:$PATH

[oracle@prod gg]$ ggsci
[oracle@prod gg]$ cd
[oracle@prod ~]$ 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, 2011, Oracle and/or its affiliates. All rights reserved.

GGSCI (prod.mpoojari.co.uk) 1> DBLOGIN USERID gg_owner, PASSWORD gg_owner
Cannot load ICU resource bundle 'ggMessage', error code 2 - No such file or directory
Cannot load ICU resource bundle 'ggMessage', error code 2 - No such file or directory
Aborted

GGSCI (prod.mpoojari.co.uk) 2> exit

Check the read permission on the file ggMessage.dat to the OS user.

[oracle@mpoojari gg]$ ls -l ggMessage.dat
-rw-r--r-- 1 oracle oinstall 475120 Oct  5 07:23 ggMessage.dat

The permission may also be caused by NFS configuration.

If it is IBM AIX 6.1 mounted with a network storage, the mounting option cio may also cause this error. Remove cio from the NFS mounting options.

As the ggsci Interpreter is looking ggMessage.dat file under your current directory, you need to cd to the install directory and then invoke ggsci,

[oracle@prod ~]$ cd $GG_HOME/
[oracle@prod gg]$ 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, 2011, Oracle and/or its affiliates. All rights reserved.

GGSCI (prod.mpoojari.co.uk) 1> DBLOGIN USERID gg_owner, PASSWORD gg_owner
Successfully logged into database.

Creating soft link(ggMessage.dat) in your present working directory to $GG_HOME/ggMessage.dat may also help in this case.

Advertisements

About mpoojari
Oracle Database/Applications Administrator

4 Responses to Cannot load ICU resource bundle ‘ggMessage’, error code 2 – No such file or directory

  1. Chandramohan says:

    Well you were probably using a wrong binary.. else it should not have made a difference, specifically you did not have the right version of $ORACLE_HOME/lib associated with ggsci.

    • mpoojari says:

      Chandra, thanks for your comment.

      [oracle@mpoojari gg]$ ldd ggsci
      libdl.so.2 => /lib64/libdl.so.2 (0x0000003a06600000)
      libicui18n.so.38 => /u01/app/oracle/product/gg/libicui18n.so.38 (0x00002ab0042fa000)
      libicuuc.so.38 => /u01/app/oracle/product/gg/libicuuc.so.38 (0x00002ab00465a000)
      libicudata.so.38 => /u01/app/oracle/product/gg/libicudata.so.38 (0x00002ab004994000)
      libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003a06a00000)
      libxerces-c.so.28 => /u01/app/oracle/product/gg/libxerces-c.so.28 (0x00002ab00566a000)
      libnnz11.so => /u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so (0x00002ab005b82000)
      libclntsh.so.11.1 => /u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1 (0x00002ab005f4a000)
      libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003a18800000)
      libm.so.6 => /lib64/libm.so.6 (0x0000003a06200000)
      libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003a17400000)
      libc.so.6 => /lib64/libc.so.6 (0x0000003a05e00000)
      /lib64/ld-linux-x86-64.so.2 (0x0000003a05a00000)
      libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003a0a200000)
      libaio.so.1 => /usr/lib64/libaio.so.1 (0x00002ab008576000)

      Shared Library dependencies are fine.

      The permissions and mount options are also fine as per MOS 1315384.1.

      The ggsci interpreter is able to read the ggMessage.dat file only when you are in GG_HOME install directory. I tried creating a soft link in pwd to this file ($GG_HOME/ggMessage.dat), it worked!.

  2. John Taylor says:

    I know this is an old thread but we recently started configuring GG and I added an alias to the bash profile (gg=’/u01/app/ogg’) and that seems to also work fine.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: