After applying the steps to utilize the Cognos Module in the Installation and Configuration Guide, 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
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.