IBM Support

IBM Content Collector for SAP cannot be started when connecting to non-default IBM Content Manager OnDemand

Troubleshooting


Problem

IBM Content Collector for SAP (ICCSAP) cannot be started when connecting to a non-default Content Manager OnDemand (CMOD) instance.

Symptom

ICCSAP does not start if an archive name is used instead of the hostname for the archive configuration. The archive name has been correctly defined in the ars.ini which is the main CMOD configuration file, as described in the following IBM Knowledge Center Link:

Configuring a connection to a remote Content Manager OnDemand library server if Collector Server runs on a Linux or UNIX system


During the startup of ICCSAP, the following error is displayed in the ICCSAP trace:

14:41:42.303 10/20 [13613] odapi.c             [ 1392]:    OD_Init(): returning from ODCS.init() with iRC = 3 (basic duration=127.423)
14:41:42.304 10/20 [13613] odapi.c             [ 1401]:    OD_Init(): init() failed with RC=3
14:41:42.304 10/20 [13613] odapi.c             [ 1509]:    OD_ErrorHandling(): entering with handle=23886016, error=3
14:41:42.304 10/20 [13613] odapi.c             [ 1528]:    OD_ErrorHandling(): function 'init' - error='
10/20/15 14:39:34 : ARS4806I Initializing arscmnst.  Version:  9.5.0.0
10/20/15 14:39:34 : ARS6822I Attempting login for userid 'admin' on server 'ARCHIVE123' ...
10/20/15 14:41:42 : ARS2086E Connection cannot be established for the ARCHIVE123 server
10/20/15 14:41:42 : ARS6081E Login unsuccessful'
14:41:42.304 10/20 [13613] odapi.c             [ 1541]:    OD_ErrorHandling(): error=3 is set to CS_RC_OD_ERROR (-262)
14:41:42.304 10/20 [13613] odapi.c             [ 1556]:    OD_ErrorHandling() leaving with iRC = CS_RC_OK (0)
14:41:42.304 10/20 [13613] odapi.c             [ 1428]:    OD_Init(): leaving with RC=CS_RC_OD_ERROR (-262) (duration=127.423)
14:41:42.304 10/20 [13613] clientod.c          [ 3305]: init_host_session(): failed to logon host='ARCHIVE123', user='admin', password='', handle=23886016 with RC=-262
14:41:42.305 10/20 [13613] clientod.c          [ 3316]: init_host_session(): leaving with iRC=CS_RC_OD_ERROR (-262) - handle=23886016

Cause

The CMOD arscmn64 API is unable to locate the ars.ini file. For example if ICCSAP is installed at /opt/IBM/iccsap and CMOD is installed at /opt/ondemand/V9.5, the arscmn64 API tries to find the file /opt/IBM/iccsap/server/config/ars.ini, which does not exist.

Environment

ICCSAP on a Unix Operating System (Linux or AIX)

Resolving The Problem

Create a symlink (symbolic link) on the ICCSAP server directory with the following command:
ln -s /opt/ondemand/V9.5/config /opt/IBM/iccsap/server/config

[{"Product":{"code":"SSRW2R","label":"IBM Content Collector for SAP Applications"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"}],"Version":"4.0.0;3.0.0.2;3.0.0.1;3.0.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21969124