If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Cognos 10.2.2 IBM HTTP Server Configuration Issue

Started by nzahoor, 04 Feb 2015 02:19:24 PM

Previous topic - Next topic

nzahoor

Hi All,
           I just installed IBM Cgonos BI Server 10.2.2 on RHEL 6.4 server x86_64. All the installation went smooth . I  then installed IBM HTTP Server 7 32bit  to configure be used as the gateway for the cognos.
The installation went smoothly. Then I changed the Gateway files according to the documentation for 32bit since the HTTP Server gateway we are using is 32Bit ( this is my assumption, Please correct me if I am wrong , Other then the HTTP server everything installed by cognos BI server was 64 bit). I used the copyGateMod.sh 32bit command in the cgi-bin directory to change the library files to 32 bit  as it says in the following link
http://www-01.ibm.com/support/knowledgecenter/SSEP7J_10.2.2/com.ibm.swg.ba.cognos.inst_cr_winux.10.2.2.doc/t_inst_64-bitgateway.html?cp=SSEP7J_10.2.2%2F0-11-5-14-0

After that I configured the htttpd.conf file of IBM HTTP Server according to the following link and added these 2 parts. These 2 parts assume that this is a CGI Gateway according to the link in knowledge center
http://www-01.ibm.com/support/knowledgecenter/SSEP7J_10.2.2/com.ibm.swg.ba.cognos.inst_cr_winux.10.2.2.doc/t_configurewebserver_createvirtualdirectories.html%23ConfigureWebServer_CreateVirtualDirectories?cp=SSEP7J_10.2.2%2F0-11-5-14-2-0
ScriptAlias /ibmcognos/cgi-bin "
c10_location/cgi-bin"

<Directory "
c10_location/cgi-bin">
   AllowOverride None
   Options None
   Order allow,deny
   Allow from all
</Directory>

Alias /ibmcognos "
c10_location/webcontent"

<Directory "
c10_location/webcontent">
   Options Indexes MultiViews
   AllowOverride None
   Order allow,deny
   Allow from all
</Directory>

I am not sure about the difference b/w  CGI and complied gateway. and If i am correct in using the assumption that the http is cgi gateway.

Now the error I am getting is that when i login to my server using http://<server>/ibmcognos I am getting the error
Forbidden
You don't have permission to access /ibmcognos on this server.

I have checked all the documentation and followed everything to the letter. What am I missing . Thanks

MFGF

Quote from: nzahoor on 04 Feb 2015 02:19:24 PM
Hi All,
           I just installed IBM Cgonos BI Server 10.2.2 on RHEL 6.4 server x86_64. All the installation went smooth . I  then installed IBM HTTP Server 7 32bit  to configure be used as the gateway for the cognos.
The installation went smoothly. Then I changed the Gateway files according to the documentation for 32bit since the HTTP Server gateway we are using is 32Bit ( this is my assumption, Please correct me if I am wrong , Other then the HTTP server everything installed by cognos BI server was 64 bit). I used the copyGateMod.sh 32bit command in the cgi-bin directory to change the library files to 32 bit  as it says in the following link
http://www-01.ibm.com/support/knowledgecenter/SSEP7J_10.2.2/com.ibm.swg.ba.cognos.inst_cr_winux.10.2.2.doc/t_inst_64-bitgateway.html?cp=SSEP7J_10.2.2%2F0-11-5-14-0

After that I configured the htttpd.conf file of IBM HTTP Server according to the following link and added these 2 parts. These 2 parts assume that this is a CGI Gateway according to the link in knowledge center
http://www-01.ibm.com/support/knowledgecenter/SSEP7J_10.2.2/com.ibm.swg.ba.cognos.inst_cr_winux.10.2.2.doc/t_configurewebserver_createvirtualdirectories.html%23ConfigureWebServer_CreateVirtualDirectories?cp=SSEP7J_10.2.2%2F0-11-5-14-2-0
ScriptAlias /ibmcognos/cgi-bin "
c10_location/cgi-bin"

<Directory "
c10_location/cgi-bin">
   AllowOverride None
   Options None
   Order allow,deny
   Allow from all
</Directory>

Alias /ibmcognos "
c10_location/webcontent"

<Directory "
c10_location/webcontent">
   Options Indexes MultiViews
   AllowOverride None
   Order allow,deny
   Allow from all
</Directory>

I am not sure about the difference b/w  CGI and complied gateway. and If i am correct in using the assumption that the http is cgi gateway.

Now the error I am getting is that when i login to my server using http://<server>/ibmcognos I am getting the error
Forbidden
You don't have permission to access /ibmcognos on this server.

I have checked all the documentation and followed everything to the letter. What am I missing . Thanks

Hi,

When you say you entered c10_location/cgi-bin is this physically what you specified? c10_location should be the on-disk install path of Cognos 10 on your unix server - eg /opt/ibm/cognos/c10_64

You need this for each of the instances where c10_location is included in your httpd.conf file.

Cheers!

MF.
Meep!

nzahoor

Yes I gave the original path to the installation /opt/ibm/cognos/c10_64/cgi-bin/


MFGF

Quote from: nzahoor on 05 Feb 2015 06:25:26 AM
Yes I gave the original path to the installation /opt/ibm/cognos/c10_64/cgi-bin/

Ok. What are the permissions on the folders in this structure (and on the http folder). There should be a user daemon for HTTP Server - does the user have rights to read the files? It will need read and execute permissions from root all the way down to the files in the folder.

MF.
Meep!

nzahoor

777 on all files and folders for cognos and http server . Trying to debug with this but still no success.

MFGF

Quote from: nzahoor on 05 Feb 2015 07:07:36 AM
777 on all files and folders for cognos and http server . Trying to debug with this but still no success.

I'm pretty sure IBM HTTP Server is Apache under the covers. Do you have a <Directory/> section in httpd.conf? If so, what is in it?

MF.
Meep!

MFGF

Quote from: MFGF on 05 Feb 2015 07:34:53 AM
I'm pretty sure IBM HTTP Server is Apache under the covers. Do you have a <Directory/> section in httpd.conf? If so, what is in it?

MF.

Sorry - scratch that. You already posted it up :)

You could try changing

Allow from all

to

Require all granted

in each instance.

What version of http server are you using?

Edit. You posted that up too. What am I thinking today? :) You have HTTP Server version 7, which is based on Apache 2.2.8, so "Allow from all" should be the correct syntax.
Meep!

MFGF

Quote from: nzahoor on 05 Feb 2015 07:07:36 AM
777 on all files and folders for cognos and http server . Trying to debug with this but still no success.

What permissions on the folders above these? Does the user have read and execute to

/
/opt
/opt/ibm
/opt/ibm/cognos
/opt/ibm/cognos/c10_64

Probably worth checking on the permissions of the folders above http server too.

MF.
Meep!

nzahoor

755 on / and /opt and 777 on all below /opt/ibm

MFGF

Quote from: nzahoor on 05 Feb 2015 07:50:06 AM
755 on / and /opt and 777 on all below /opt/ibm

Can you post up or attach the contents of your httpd.conf file?

MF.
Meep!


MFGF

Quote from: nzahoor on 05 Feb 2015 09:59:55 AM
Here you go..

I can't see anything obviously wrong in there. The only straw to clutch at is to move the following line

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

so it is just before

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

I don't think that will fix the issue, though.

A quick sanity check - you have restarted HTTP Server since amending this file, haven't you?

MF.
Meep!

nzahoor

Don't know what it was but a whole server reboot fixed it , but now have another issue..

I can log in to the cgi just fine. I open the administartion console and everything works fine. But as soon as I do something I get this error when I try to do anything that requires the BI server .

"The IBM Cognos gateway is unable to connect to the IBM Cognos BI server. The server may be unavailable or the gateway may not be correctly configured.
Try again or contact your administrator."

If I login through the http://10.51.165.98:9300/p2pd/servlet/dispatch , the public folder appears and I can navigate to the IBM Cognos Administration and it works fine from there, Not just through the CGI gateway :/

MFGF

Quote from: nzahoor on 05 Feb 2015 03:42:27 PM
Don't know what it was but a whole server reboot fixed it , but now have another issue..

I can log in to the cgi just fine. I open the administartion console and everything works fine. But as soon as I do something I get this error when I try to do anything that requires the BI server .

"The IBM Cognos gateway is unable to connect to the IBM Cognos BI server. The server may be unavailable or the gateway may not be correctly configured.
Try again or contact your administrator."

If I login through the http://10.51.165.98:9300/p2pd/servlet/dispatch , the public folder appears and I can navigate to the IBM Cognos Administration and it works fine from there, Not just through the CGI gateway :/

Have you checked all the entries in the Environment page in Cognos Configuration to make sure the URIs are configured properly?

MF.
Meep!