|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622 。
您需要 登录 才可以下载或查看,没有帐号?注册
x
Cognos8 错误及故障排除(CFG-ERR-0106,CFG-ERR-0103,CFG-ERR-0101,CM-CFG-5076,DPR-CMI-4006,CAM-AAA-0145)
1、 jre 路径导致报错
方法1:
Cognos Configuration 无法正常启动,提示JDK环境不对。
错误提示中已经详细的描述了解决办法,其实是因为我的开发机上有Tomcat,设置了JAVA_HOME。
并且用的是JDK142的包,所以必须先修改其路径为Cognos的jre。否则启动Cognos Configuration的时候会报错。
方法2(比较适用):
在cognos安装目录cognos/bin目录下 创建一个start.bat的文件,文件里复制如下代码:
set JAVA_HOME=..\bin\jre\1.5.0
cogconfigw.exe
然后启动start.bat
2、错误提示:
[ ERROR ] The database connection failed.
[ ERROR ] Content Manager failed to start because it could not load driver "Oracle.jdbc.driver.OracleDriver".
这个问题,是因为jdbc的缘故,如果是Oracle作为运行数据库,就会遇到。
将Oracle\jdbc\lib\classes12.jar拷贝到Cognos8/webapps/p2pd/WEB-INF/lib下即可.
3、CFG-ERR-0106
这个问题可能是因为开发机上跑的程序太多,资源占用厉害导致的。
最后确定的解决办法是修改配置文件,增加Cognos的启动时间。
修改 c8_location /configuration/ cogconfig.prefs
增加以下两个配置
ServiceWaitInterval=1000
*默认是500,代表0.5秒
ServiceMaxTries=500
*默认360,代表倍数
默认应该是3分钟超时。增加到 1000*500,也就是8分多钟。
4、CFG-ERR-0103
[ ERROR ] CFG-ERR-0103 Unable to start Cognos 8 service.
Execution of the external process returns an error code value of '-1'.
这个问题的原因很多,总结了下这个问题的原因如下:
1、Cognos数据库没有采用UTF-8的字符集(Oracle下常见)
2、系统服务中的Cognos服务被禁用,或受到其他第三方软件限制无法启动
3、尝试将 Cognos 8 Service 节点下的 Cognos8.3 删除,重新建立一个
5、CFG-ERR-0101 Unable to register Cognos 8 service.
Unable to register IBM Cognos 8 service
Be sure that you are logged in as a user that has admin privileges on the Cognos server.
Cognos Services should be run as a user with admin privileges, and not as default admin. I suggest, for SOX compliance, that a service account be set up solely for this purpose, and documented as such.
Be sure the Cognos Configuration is set up correctly - All servers should be referred to by IP address or by name, and not by localserv. Be sure to test each area, and test the entire setup before attempting to start services.
If you've attempted to start Cognos services, be sure the services are shut down before making another attempt.
Oracle实例:对于资料库用户名赋权限,以sys用户登录后,grant dba,connect,resource to 资料库用户。
此外要确保有足够的表空间,或者表空间是可扩展的。
6、CM-CFG-5076
A Content Manager configuration error occurred during the initialization of Cognos Access Manager.
CAM-AAA-0145 There is no namespace that is properly configured for authentication.
默认配置的Cognos8使用匿名访问,在Cognos Connection中将不需要登录,也看不到log on/log off的连接,自动以anonymous账户登录。
这时如果在Cognos Configuration中直接将Securiy->Authentication->Cognos->allow anonymous access设置为False,则会无法启动服务,主要报错为:
DPR-CMI-4006 Unable to determine the active Content Manager. Will retry periodically.
CM-CFG-5076 A Content Manager configuration error occurred during the initialization of Cognos Access Manager.
CAM-AAA-0145 There is no namespace that is properly configured for authentication.
这是因为,在Authentication只有一个默认的名为cognos(Type为Cognos)的namespace的情况下,必须使用anonymous,否则就需要新建一个namespace,以指定其他认证方式。 |
收藏
|
|