CA Job Management Adapter for SAP 3.2 SP3 (auto_r3v45) jobs/commands fail with error: CASAP_E_998 Required SAP shared library not found in library path

Document ID:  TEC1702491
Last Modified Date:  08/15/2016
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • Unicenter Job Management for ERP Applications

Releases

  • Unicenter Job Management for ERP Applications:Release:3.2

Components

  • UNICENTER JM ADAPTER FOR SAP:UJMSAP

Symptoms:

After installing or upgrading CA Job Management Adapter for SAP r3.2 SP3 (auto_r3v45) jobs/commands fail with error:

CASAP_E_998 Required SAP shared library <librfccm> not found in library path

We have the SAP classic RFC library librfccm.so file available on the System.

Environment:   

CA Job Management Adapter for SAP r3.2 SP3 on Linux 64-bit

Cause:

  1. The SAP classic RFC library librfccm.so file is 64-bit. CA Job Management Adapter for SAP r3.2 SP3 requires the 32-bit version of the SAP classic RFC library.
  2. The location of the RFC library librfccm.so file is not included in the LD_LIBRARY_PATH environment variable.
  3. One or more of the libraries required by RFC library librfccm.so itself is not available on the system.
  4. Lack of memory/swap space on the SAP Adapter r3.2 SP3 host.

Resolution:

1. Ensure the SAP Classic RFC SDK (non-Unicode version) library librfccm.so is 32-bit. There are two ways to check this:

  • Execute `file </path/to>/librfccm.so` command.

Example:

# file /software/SAP_RFC/720/rfcsdk/lib/librfccm.so
/software/SAP_RFC/720/rfcsdk/lib/librfccm.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped

  • Execute `strings </path/to>/librfccm.so | grep LIBRFC`

Example:

# strings /software/SAP_RFC/720/rfcsdk/lib/librfccm.so | grep LIBRFC
@(#)LIBRFC (c) SAP AG: Version: 720 Patch level: 0 Patch number: 800 thread-safe build 32 bit

If the output from the aforementioned commands do not return 32-bit, then download the appropriate 32bit version of Classic RFC SDK (non-Unicode version) library librfccm.so

For information about downloading and installing the SAP Classic RFC SDK, see SAP Note 27517 - Installation of RFC SDK.

2. Ensure the location of the SAP Classic RFC SDK (non-Unicode version) library librfccm.so is included in the shell environment variable LD_LIBRARY_PATH.

Example:

# ls -l /software/SAP_RFC/720/rfcsdk/lib
total 11332
-rw-r--r--. 1 root root 6026740 Apr 26  2015 librfc.a
-rw-r--r--. 1 root root 5387642 Apr 25  2015 librfccm.so
-rw-r--r--. 1 root root  181249 Apr 25  2015 libsapu16_mt.so
# echo $LD_LIBRARY_PATH
/opt/CA/SharedComponents/Csam/SockAdapter/lib:/opt/CA/SharedComponents/Csam/SockAdapter/lib64:/opt/CA/CAlib:/opt/CA/SharedComponents/lib:/usr/lib:/opt/CA/SharedComponents/ccs/dia/lib:/opt/CA/SharedComponents/ccs/dia/dna/lib:/opt/CA/SharedComponents/JRE/1.5.0_11/lib/i386:/opt/CA/SharedComponents/JRE/1.5.0_11/lib/i386/client:/software/SAP_RFC/720/rfcsdk/lib:/software/SAP_RFC/JCo

Alternatively, you may create symbolic link to the librfccm.so file in $CASHCOMP/lib or /opt/CA/CAlib (if exists). The default location of $CASHCOMP is /opt/CA/SharedComponents/

Example:

# cd $CASHCOMP/lib
# pwd
/opt/CA/SharedComponents/lib
# ln -s /software/SAP_RFC/720/rfcsdk/lib/librfccm.so .
# ls -l librfccm.so
lrwxrwxrwx. 1 root root 44 Aug 10 08:51 librfccm.so -> /software/SAP_RFC/720/rfcsdk/lib/librfccm.so
#ls -l /opt/CA/CAlib/librfccm.so
lrwxrwxrwx. 1 root root 44 Aug 10 08:51 /opt/CA/CAlib/librfccm.so -> /software/SAP_RFC/720/rfcsdk/lib/librfccm.so

3. Make sure that all shared library dependencies of librfccm.so exist using the `ldd librfccm.so` system command.

Example 1: All library dependencies are satisfied:

#ldd /software/SAP_RFC/720/rfcsdk/lib/librfccm.so
        linux-gate.so.1 =>  (0x009be000)
        libdl.so.2 => /lib/libdl.so.2 (0x00a40000)
        librt.so.1 => /lib/librt.so.1 (0x00f44000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00faa000)
        libc.so.6 => /lib/libc.so.6 (0x0070d000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x008a4000)
        libm.so.6 => /lib/libm.so.6 (0x0098f000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x009bf000)
        /lib/ld-linux.so.2 (0x00aff000)

Example 2: One or more dependencies are missing:

#ldd /software/SAP_RFC/700/rfcsdk/lib/librfccm.so
        linux-gate.so.1 =>  (0x00416000)
        libdl.so.2 => /lib/libdl.so.2 (0x001ac000)
        librt.so.1 => /lib/librt.so.1 (0x00366000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00c3b000)
        libc.so.6 => /lib/libc.so.6 (0x001b1000)
        libstdc++.so.5 => not found                                          <----This dependency does not exist.
        libm.so.6 => /lib/libm.so.6 (0x00ecb000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00348000)
        /lib/ld-linux.so.2 (0x00aff000)
Note:

  • At the time of this writing, the 32-bit SAP classic RFC library  (non-Unicode) version 7.20 is available for download. See SAP Note 27517 - Installation of RFC SDK for the download link. An active SAP support account is needed to access the aforementioned SAP note and the download link therein.
  • On Linux, the 32-bit SAP classic RFC library (non-Unicode) versions 7.10 and 7.20 require the 32-bit C++ Runtime 6.0 (libstdc++.so.6). This library can be found in RPM: libstdc++-4.4.7-4.el6.i686.
  • The 32-bit SAP classic RFC library (non-Unicode) version 7.00 requires the 32-bit C++ Runtime 5.0 (libstdc++.so.5). This library can be found in RPM: compat-libstdc++-33-3.2.3-69.el6.i686.
  • The 32-bit SAP classic RFC library (non-Unicode) version 6.40 requires the  libstdc++-libc6.2-2.so.3 library. This library cab be found in RPM: compat-libstdc++-296-2.96-144.el6.i686.
  • To know the version of the SAP classic RFC library (non-Unicode) library, execute command: `strings librfccm.so | grep LIBRFC`

Example:

# strings /software/SAP_RFC/710/rfcsdk/lib/librfccm.so | grep LIBRFC
@(#)LIBRFC (c) SAP AG: Version: 710 Patch level: 0 Patch number: 269 thread-safe build 32 bit

4. Ensure that the CA Job Management Adapter for SAP r3.2 SP3 host has sufficient swap and memory using commands `swapon -s` and `free -k` respectively.

Additional Information:

  Refer to the CA Job Management Adapter for SAP r3.2 SP3 Release Notes for per-requisites and system requirements: UJMASAP_ReleaseNotes_R3.2SP3.pdf

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >