IBM Support

Scripted cube build suffers a coredump in cogtr when building cube on Linux environment with both Cognos Analytics and Cognos Analytics Transformer installed

Troubleshooting


Problem

During a scripted cube build, cogtr suffers a coredump on a Linux environment with both Cognos Analytics and Cognos Analytics Transformer installed.
Attempting to run the cube build manually also fails with a segmentation fault.

Symptom

segmentation fault (core dumped)
Running the build script, or running interactively, result in the same fault.
The root user can build cubes successfully.

Cause

LD_LIBRARY_PATH has the Cognos Analytics 'bin' folders before the Cognos Analytics Transformer 'bin' folders, causing incorrect libraries to be read by the cogtr application.

Environment

Red Hat Enterprise Linux
Cognos Analytics
Cognos Anaytics Transformer

Diagnosing The Problem

ldd cogtr
The output from this command will show that libraries are being picked up from the Cognos Analytics server installation path, rather than the Cognos Analytics Transformer installation path

Resolving The Problem

There are two options to resolve this issue:
1) Adjust the script so that it exports a correct LD_LIBRARY_PATH variable at the start of the build process, and resets the original LD_LIBRARY_PATH at the end of the build
2) Create a secondary user profile in Linux, which has LD_LIBRARY_PATH set specifically for the Transformer processing, and use that account for the cube builds.

Document Location

Worldwide

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m50000000Cl3yAAC","label":"Installation and Configuration"}],"ARM Case Number":"TS004717541","Platform":[{"code":"PF016","label":"Linux"}],"Version":"11.0.0;and future releases"}]

Document Information

Modified date:
27 February 2021

UID

ibm16419961