Cognos HTTP Server Error

 

 

Forbidden

You don't have permission to access /cognos8/cgi-bin/ on this server.
IBM_HTTP_Server Server at localhost Port 80

 

C:/Program Files/IBM/HTTPServer/conf/httpd.conf

 

Open the AddHandler by deleting the # comments of clause: #AddHandler cgi-script .cgi

 

Don’t forget to give double quotation marks to: C:/Program Files/IBM/cognos/c8/cgi-bin.

 

ScriptAlias /cognos8/cgi-bin/ "C:/Program Files/IBM/cognos/c8/cgi-bin"

<Directory "C:/Program Files/IBM/cognos/c8/cgi-bin">

  AllowOverride None

  Options None

  Order allow,deny

  Allow from all

</Directory>

 

Alias /cognos8 "C:/Program Files/IBM/cognos/c8/webcontent"

<Directory "C:/Program Files/IBM/cognos/c8/webcontent">

  Options Indexes MultiViews

  AllowOverride None

  Order allow,deny

  Allow from all

</Directory>

 

Restart HTTP Server

 

问题依然存在

 

改成这样:

 

#
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
#
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#
AddHandler cgi-script .cgi

#
#For Cognos8
#
ScriptAlias /cognos8/cgi-bin/ "C:/Program Files/IBM/cognos/c8/cgi-bin"
<Directory "C:/Program Files/IBM/cognos/c8/cgi-bin">
 AllowOverride None
 Options None
 Order allow,deny
 Allow from all
</Directory>
 
Alias /cognos8/ "C:/Program Files/IBM/cognos/c8/webcontent"
<Directory "C:/Program Files/IBM/cognos/c8/webcontent">
 Options Indexes MultiViews
 AllowOverride None
 Order allow,deny
 Allow from all
</Directory>

 

问题依然存在,那会不会是"C:/Program Files/IBM/cognos/c8/webcontent"路径的问题,要不要改成反斜杠呢?

 

试试:

#
#For Cognos8
#
ScriptAlias /cognos8/cgi-bin/ "C:/Program Files/IBM/cognos/c8/cgi-bin/"
<Directory "C:/Program Files/IBM/cognos/c8/cgi-bin/">
 AllowOverride None
 Options None
 Order allow,deny
 Allow from all
</Directory>
 
Alias /cognos8/ "C:/Program Files/IBM/cognos/c8/webcontent/"
<Directory "C:/Program Files/IBM/cognos/c8/webcontent/">
 Options Indexes MultiViews
 AllowOverride None
 Order allow,deny
 Allow from all
</Directory>

 

问题依然存在,那到底什么问题呢?

会不会是我WAS EAR的包和端口的问题呢?

因为我WAS的端口是SSL的 对应HTTPS,端口为9044,把WAS的Security关了,重启WAS,解决不了问题。

 

 

我倒回去到Cognos configration去看,晕,Cognos都没有正常启动,自然存在问题了。

重新回到上一篇,关于Cognos 的配置去解决问题。


 

 

 

重启机器之后,看起来Cognos成功启动了,但是因为WAS的Security关了,WAS的URL也变化了:

http://localhost:9061/ibm/console/login.do

这就需要重新配置对Cognos environment进行配置了。

 

http://9.181.91.152:9061/p2pd/servlet/dispatch

配置各个端口为: 9081--->

 

配置好了之后保存,然后重新build application wizard,

将WAS Console上的application--Cognos 8 卸载了,然后重新重新安装一下EAR。

 

之后又不行了,唉唉,

 

[Start Service]
1. [ ERROR ] CFG-ERR-0106 Cognos Configuration did not receive a response from the Cognos 8 service in the time allotted.
Check that Cognos 8 service is available and properly configured.

解决方法:

1. 需要删除c8/tomcat4.1.27/work/Standalone/localhost目录下的所有文件(这回是一个文件夹了)

2. 重启机器

 

3.Cognos configration启动----》。

这回成功了,

[Start Service]
1. 16:51:26, 'LogService', 'StartService', 'Success'.
2. 16:52:42, 'ContentManagerService', 'StartService', 'Success'.
3. 16:52:42, CM-SYS-5159 Content Manager is running in active mode.
4. 16:52:43, DPR-DPR-1002 Successfully registered the dispatcher http://9.181.91.152:9081/p2pd in Content Manager.
5. 16:52:53, 'PresentationService', 'StartService', 'Success'.
6. 16:52:53, 'ReportDataService', 'StartService', 'Success'.
7. 16:52:53, 'ReportService', 'StartService', 'Success'.
8. 16:52:53, 'BatchReportService', 'StartService', 'Success'.
9. 16:52:53, 'SystemService', 'StartService', 'Success'.
10. 16:52:53, 'AgentService', 'StartService', 'Success'.
11. 16:52:53, 'JobService', 'StartService', 'Success'.
12. 16:52:53, 'EventService', 'StartService', 'Success'.
13. 16:52:54, 'DeliveryService', 'StartService', 'Success'.
14. 16:52:54, 'MonitorService', 'StartService', 'Success'.
15. 16:52:55, 'CPS Producer Registration Service', 'StartService', 'Success'.

 

那web访问行不行呢?还是不行哦,这可是怎么回事呢?

一直不行,

 

郁闷死我了,

http://IP/cognos8也是一直没有反应,连报错都没有了,一点面子都不给哦!

 

等等等等,什么操作都没有做,

 

再来,好了,http://IP/cognos8终于显示正确的界面了,怎么搞得哦!

 

想了想,大概是Cognos在我这种低配置的机器上启动太慢,或者说IHS,或者WAS需要一个load的时间段,所以需要进行等待,以完成操作。

 

注意: http://9.181.91.152/cognos8 是打不开的,只有http://9.181.91.152/cognos8/才能打开,大概和我前面的设置有关系吧!

 

 

good。

 

一个周末加今天,花了三天才搞定,虽然不是full Time。

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值