COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: LuiSanchez on 10 Feb 2016 04:44:30 PM

Title: Cognos 10.2.1 & Apache 2.2.15
Post by: LuiSanchez on 10 Feb 2016 04:44:30 PM
Buenas Tardes developers !

Estoy terminando de configurar IBM Cognos 10.2.1 en el servidor de Apache 2.2.15 ( Red Hat 6.5)

Ya tengo levantado el servicio de IBM Cognos , tal como lo muestran las imagenes :




Luego modifique el archivo httpd.confg del apache agregando estas directivas para el modulo de cognos :

LoadModule cognos_module "/opt/ibm/cognos/c10_64/cgi-bin/lib64/mod2_2_cognos.so"
<IfModule mod_cognos.c>
CGIBinDir "/opt/ibm/cognos/c10_64/cgi-bin">
</IfModule>
#<Directory />
#Options FollowSymLinks
#AllowOverride All
#</Directory>
ScriptAlias /ibmcognos/cgi-bin/ "/opt/ibm/cognos/c10_64/cgi-bin/"
Alias /ibmcognos "/opt/ibm/cognos/c10_64/webcontent"
<Directory "/opt/ibm/cognos/c10_64/cgi-bin">
AllowOverride FileInfo
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
SetHandler cgi-script
Order allow,deny
Allow from all
</Directory>

<Directory "/opt/ibm/cognos/c10_64/webcontent">
Options FollowSymLinks
AllowOverride FileInfo
Order allow,deny
Allow from all
</Directory>
<Location /ibmcognos/cgi-bin/cognos_module>
SetHandler cognos-handler
Order allow,deny
Allow from all
</Location>
<Location /ibmcognos/cgi-bin/diag_cognos_module>
SetHandler cognos-handler
Order allow,deny
Allow from all
</Location>
Y al iniciar el servicio httpd (Apache) muestra el siguiente error


Luego se realizaron las siguientes acciones:
- Se comento la primera linea : #LoadModule cognos_module "/opt/ibm/cognos/c10_64/cgi-bin/lib64/mod2_2_cognos.so"
- Se ejecuto el comando : ./copyGateMod.sh 64bit
- Se levanto el servicio httpd (Apache) - OK
E igual no levanta cognos (ver imagen).


Ya he intentado  diferentes caminos y formas y no llego a levantar el servicio.

Necesito de su gran apoyo para poder desplegar IBM Cognos 10.2.1 en el servidor de apache

De antemano muchas  gracias
Saludos
Luis Sánchez

PD : Las imagenes está en el word adjunto



Title: Re: Cognos 10.2.1 & Apache 2.2.15
Post by: MFGF on 11 Feb 2016 04:10:13 PM
Quote from: LuiSanchez on 10 Feb 2016 04:44:30 PM
Buenas Tardes developers !

Estoy terminando de configurar IBM Cognos 10.2.1 en el servidor de Apache 2.2.15 ( Red Hat 6.5)

Ya tengo levantado el servicio de IBM Cognos , tal como lo muestran las imagenes :




Luego modifique el archivo httpd.confg del apache agregando estas directivas para el modulo de cognos :

LoadModule cognos_module "/opt/ibm/cognos/c10_64/cgi-bin/lib64/mod2_2_cognos.so"
<IfModule mod_cognos.c>
CGIBinDir "/opt/ibm/cognos/c10_64/cgi-bin">
</IfModule>
#<Directory />
#Options FollowSymLinks
#AllowOverride All
#</Directory>
ScriptAlias /ibmcognos/cgi-bin/ "/opt/ibm/cognos/c10_64/cgi-bin/"
Alias /ibmcognos "/opt/ibm/cognos/c10_64/webcontent"
<Directory "/opt/ibm/cognos/c10_64/cgi-bin">
AllowOverride FileInfo
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
SetHandler cgi-script
Order allow,deny
Allow from all
</Directory>

<Directory "/opt/ibm/cognos/c10_64/webcontent">
Options FollowSymLinks
AllowOverride FileInfo
Order allow,deny
Allow from all
</Directory>
<Location /ibmcognos/cgi-bin/cognos_module>
SetHandler cognos-handler
Order allow,deny
Allow from all
</Location>
<Location /ibmcognos/cgi-bin/diag_cognos_module>
SetHandler cognos-handler
Order allow,deny
Allow from all
</Location>
Y al iniciar el servicio httpd (Apache) muestra el siguiente error


Luego se realizaron las siguientes acciones:
- Se comento la primera linea : #LoadModule cognos_module "/opt/ibm/cognos/c10_64/cgi-bin/lib64/mod2_2_cognos.so"
- Se ejecuto el comando : ./copyGateMod.sh 64bit
- Se levanto el servicio httpd (Apache) - OK
E igual no levanta cognos (ver imagen).


Ya he intentado  diferentes caminos y formas y no llego a levantar el servicio.

Necesito de su gran apoyo para poder desplegar IBM Cognos 10.2.1 en el servidor de apache

De antemano muchas  gracias
Saludos
Luis Sánchez

PD : Las imagenes está en el word adjunto

No entiendo. Por favor escriba su mensaje en Inglés .
Title: Re: Cognos 10.2.1 & Apache 2.2.15
Post by: mcc.chernandez on 11 Feb 2016 04:42:56 PM
Luis,
Mira ver las instrucciones en esta pagina (especialmente los comentarios abajo): http://cognos-tech.blogspot.co.uk/2014/08/installing-ibm-cognos-1021-business.html

Cuando corres el CopyGateMod los archivos de 64-bit se copian a la carpeta "cgi-bin" - no tienes que poner "lib64" an la linea de LoadModule. Tambien mira ver que el camino de cgi-bin esta en el variable LD_LIBRARY_PATH

Title: Re: Cognos 10.2.1 & Apache 2.2.15
Post by: MFGF on 12 Feb 2016 10:40:19 AM
Quote from: mcc.chernandez on 11 Feb 2016 04:42:56 PM
Luis,
Mira ver las instrucciones en esta pagina (especialmente los comentarios abajo): http://cognos-tech.blogspot.co.uk/2014/08/installing-ibm-cognos-1021-business.html

Cuando corres el CopyGateMod los archivos de 64-bit se copian a la carpeta "cgi-bin" - no tienes que poner "lib64" an la linea de LoadModule. Tambien mira ver que el camino de cgi-bin esta en el variable LD_LIBRARY_PATH

Gents. English please? :)

MF.
Title: Re: Cognos 10.2.1 & Apache 2.2.15
Post by: LuiSanchez on 15 Feb 2016 02:27:17 PM
Quote from: mcc.chernandez on 11 Feb 2016 04:42:56 PM
Luis,
Mira ver las instrucciones en esta pagina (especialmente los comentarios abajo): http://cognos-tech.blogspot.co.uk/2014/08/installing-ibm-cognos-1021-business.html

Cuando corres el CopyGateMod los archivos de 64-bit se copian a la carpeta "cgi-bin" - no tienes que poner "lib64" an la linea de LoadModule. Tambien mira ver que el camino de cgi-bin esta en el variable LD_LIBRARY_PATH

Thanks Hernan for your answer !

Technical Details :

- Red Hat 6.5

- IBM Cognos 10.2.1 (64 bits)

- Apache 2.2.15 (64 bits)

- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/IBM/cognos/c10_64/cgi-bin:/opt/IBM/cognos/c10_64/cgi-bin/lib

URl del Pasarela (Cognos Configuration) : http://10.0.148.79:80/ibmcognos/cgi-bin/mod2_2_cognos.so

Cognos Configuration service is OK (See picture)

I run this command: ./copyGateMod.sh 64bit and add this code to file httpd.conf(Apache) :

LoadModule cognos_module "/opt/ibm/cognos/c10_64/cgi-bin/mod2_2_cognos.so"

ScriptAlias /ibmcognos/cgi-bin "/opt/ibm/cognos/c10_64/cgi-bin"

<Directory "/opt/ibm/cognos/c10_64/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

Alias /ibmcognos "/opt/ibm/cognos/c10_64/webcontent"

<Directory "/opt/ibm/cognos/c10_64/webcontent">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

<Location /ibmcognos/cgi-bin/module_alias>
SetHandler cognos-handler
Order allow,deny
Allow from all
</Location>
Finally when start Cognos BI in Apache Server show the next error:

ibm gateway cannot connect to cognos bi

Regards

Luis Miguel Sánchez
Title: Re: Cognos 10.2.1 & Apache 2.2.15
Post by: mcc.chernandez on 15 Feb 2016 05:11:54 PM
Try adding "64" to the end of this line: $LD_LIBRARY_PATH:/opt/IBM/cognos/c10_64/cgi-bin:/opt/IBM/cognos/c10_64/cgi-bin/lib
Title: Re: Cognos 10.2.1 & Apache 2.2.15
Post by: LuiSanchez on 15 Feb 2016 05:20:04 PM
Quote from: mcc.chernandez on 15 Feb 2016 05:11:54 PM
Try adding "64" to the end of this line: $LD_LIBRARY_PATH:/opt/IBM/cognos/c10_64/cgi-bin:/opt/IBM/cognos/c10_64/cgi-bin/lib

Thks hernandez for your reply


My library path current is :
LD_LIBRARY_PATH=/opt/ibm/cognos/c10_64/cgi-bin:/opt/ibm/cognos/c10_64/cgi-bin/lib

You suggest this :
LD_LIBRARY_PATH=/opt/ibm/cognos/c10_64/cgi-bin:/opt/ibm/cognos/c10_64/cgi-bin/lib64

Regards
Title: Re: Cognos 10.2.1 & Apache 2.2.15
Post by: LuiSanchez on 16 Feb 2016 08:38:19 AM
Doesn't work  ! =(
Title: Re: Cognos 10.2.1 & Apache 2.2.15
Post by: LuiSanchez on 18 Feb 2016 09:08:26 AM
Hello Dear Sirs

Can anybody help me?

Thks

Cheers