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/mod2_2_cognos.so into server:
../c10_64/cgi-bin/mod2_2_cognos.so: 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 ./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.

Related information

Cognos 10.2 Documentation: Enable the 64-bit web gatewa

Document information

More support for:

Cognos Business Intelligence
Install and Config

Software version:

10.2, 10.2.1

Operating system(s):

AIX, HP Itanium, HP-UX, Linux, Solaris

Reference #:


Modified date:


Translate my page

Content navigation