IBM Support

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

Technote (troubleshooting)


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.


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/ into server:
../c10_64/cgi-bin/ wrong ELF
class: ELFCLASS32


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



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 ./ 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.

Related information

Cognos 10.2 Documentation: Enable the 64-bit web gatewa
Enable the 32-bit web gateway for a 64-bit installation

Document information

More support for: Cognos Business Intelligence
Install and Config

Software version: 8.4.1, 10.1, 10.2, 10.2.1, 10.2.2

Operating system(s): AIX, HP-UX, Linux, Solaris

Reference #: 1625467

Modified date: 14 March 2017

Translate this page: