IBM Support

Unable to Load Cognos Module 64bit when starting Apache Web server services.

Troubleshooting


Problem

After applying the steps to utilize the Cognos Module in the Installation and Configuration Guide for a 64bit install, the Apache Web server fails to load the Cognos Module.

Symptom

Exact Error message when starting Apache services, after the httpd.conf file was modified:

Starting httpd: httpd: Syntax error on line 205 of /etc/httpd/conf/httpd.conf: Cannot load
../c10_64/cgi-bin/mod2_2_cognos.so into server:
../c10_64/cgi-bin/mod2_2_cognos.so: wrong ELF
class: ELFCLASS32

Cause

The Apache Web Server is 64-bit but the current Cognos gateway libraries are 32-bit.

Environment

Unix

Resolving The Problem

To Enable the 64-bit web gateway follow the steps below:

1. Go to the c10_location/cgi-bin.
2. Type the following command:
On UNIX or Linux operating systems, type ./copyGateMod.sh 64bit
On Windows operating systems, type copyGateMod.bat 64bit

Once the above command is run successfully, the 64-bit gateway files are copied from the c10_location/cgi-bin/lib64 directory to the c10_location/cgi-bin directory.

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Install and Config","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"10.1;10.2;10.2.1;10.2.2;8.4.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 June 2018

UID

swg21625467