congos常见问题解答 下载本文

Cognos报表配置

1. 现象描述:在cognos configuration中启动cognos服务的时候,提示:QE-DEF-0368 Unable

to decrypt user name and password credentials from the content store. Review and save the Cognos Configuration settings to configure your reporting environment. 解决方案:

出现此错误,可能是cognos configuration不正确,如果是使用服务器上的GUI,需要拷贝服务器{cognos安装目录}\\configuration目录下的csk、encryptkeypair、signkeypair三个文件夹到本机对应的目录上覆盖原文件(请先做好备份)。

重新配置configuration:删除安装目录下的Configuration目录下的csk、encryptkeypair、signkeypair等目录以及caSerial、cogconfig.prefs、cogstartup.xml三个文件,重新配置Configuration,并重新保存

2. 现象描述:打开IE浏览器,输入http://IP:PORT/cognos 提示:The Cognos Gateway is

unable to connect to the Cognos BI server. The server may be unavailable, or the gateway may not be correctly configured. 解决方案:

a. 确认cognos服务已经启动

b. 如果cognos服务启动不了,请检查cognos configuration配置是否正确

c. 配置正确的话,打开PL/SQL, 连接到内容库(configuration中Data Access配置的数据库),依次选择工具-导入表,在导入表页面上选择SQL插入,导入文件中输入『cognos安装路径』\\configuration\\schemas\\content\\oracle\\dbClean_oracle.sql,然后点击导入。Sql执行完毕后,重新保存配置并启动服务。

3. 现象描述:系统安装SQL Sever2000后1433端口未开放,内容库无法连接

解决方案:分析过程

a. 确认sql server服务已经启动

b. 打开网路实用工具,检查启动的协议中有TCP/IP协议,查看端口是否为1433 c. 打开客户端实用工具,检查协议端口正常,重新创建一个别名 d. 安装的问题,卸载重装,一切默认

e. 安装版本问题,更换安装版本 f. 系统的问题

g. 安全问题,端口被禁用。安装SQL Server SP4补丁(打开查询分析器,输入 select @@version 执行后可以看到版本号,版本号在8.0.2039以下的都需要打补丁) 4. 现象描述:ORA-12154: TNS:could not resolve service name

原 因:Oracle Net could not locate the net service name specified in the tnsnames.ora configuration file. 解决方案:

1)Verify that a tnsnames.ora file exists.

2)Verify that there are not multiple copies of the tnsnames.ora file.

3)In the tnsnames.ora file, verify that the net service name specified in your connect string is mapped to a connect descriptor.

4)Verify that there are no duplicate copies of the sqlnet.ora file.

5)If you are using domain names, verify that your sqlnet.ora file contains a NAMES.DEFAULT_DOMAIN parameter. If this parameter does not exist, you must specify the domain name in your connect string.

6)If you are not using domain names, and this parameter exists, delete it or disable it by commenting it out.

7)If you are connecting from a login dialog box, verify that you are not placing an \e. 8)Activate client tracing and repeat the operation.

5. 现象描述:ORA-03113:通信通道的文件结束

原 因:这个多半是由于网络问题引起的,本身不是oracle的错误,检查一下网络状况和系统核心参数的设定 解决方案:(网络上找的)

下面是一些造成该错误的原因总结:

1)Invalid value for processes parameter in init.ora when starting database当然,要解决它,就是把那些参数值调整为有效范围内的值。

2)setuid bit needs setting on the oracle executable(Unix only).

The oracle executable in the $ORACLE_HOME/bin directory should have the permissions: -rwsr-sr-x 1 oracle dba

3)shared_pool_size too small. 你可以把它设置在200M以上。 4)timed_statistics=true. 你可以把它设置为false。

5)An insert into a table which grew into an additional extent allocated in a datafile which was over 2Gb in size. 这是在你的操作系统文件不允许超过2G的时候才会发生的,而且如果发生了错误,数据库就完蛋了。

6)Create table as select .... where there was an invalid procedure or function called from a trigger defined on the table we were selecting from. 那就是把你所有的过程、函数和包等全部编译一遍。 7)Make use of Oracle Support / Metal ink . 寻求oracle技术支持吧!

6. 现象描述:configuration修改后无法启动cognos服务

原 因:configuration配置不对,需复位

解决方案:删除安装目录下的Configuration目录下的csk、encryptkeypair、signkeypair等目录以及caSerial、cogconfig.prefs、cogstartup.xml三个文件,重新配置Configuration,并重新保存

7. 现象描述:安全认证问题DPR-CMI-4006 Unable to determine the active Content Manager.

原 因:默认配置的Cognos8使用匿名访问,allow anonymous access设置为False,则会无法启动服务。 解决方案:

默认配置的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,以指定其他认证方式。在Securiy->Authentication点右键,选New resource->Namespace…,在弹出的对话框中,输入该Namespace的名字,如MyCognos,以及类型,可供选择的有Active Directory,Cognos Series 7,Custom Java Provider,LDAP,Netegrity SiteMinder,NTLM,以及SAP。

8. 新增Namespace该如何配置?参照下图

9. 安装BISERVER后无法启动cognos configuration,报jdk错误。

解决办法:

有两种,一种是在启动 cognos configuration的快捷方式后面加上“java:local”参数,这样会试用cognos自己的jdk。但是有个弊端,就是cognos8服务还会试用系统自己的jdk,启动服务的时候会提示服务无法响应,看csserverlog日志的话会说无法加载一个java类。

第二种方法是把\\c8\\bin\\jre\\1.4.2\\lib\\ext\\bcprov-jdk13-125.jar这个文件