记一次cognos的启动错误

今日在技术群看到有个人因为cognos启动错误求助:

具体错误信息如下:

======================================================================================================

Launching a JVM using ‘Maximum memory in MB‘]
Successfully launched a test JVM with the memory setting of ‘768‘. Note that this does not guarantee that the IBM Cognos service will start and run successfully.

To see which JVM options are based on this setting, view ibmcognos_location/bin/bootstrap_<OS>.xml and see your JVM documentation for an explanation of those options.

[Archive Local File System Root]
Since the value is empty, the feature is disabled. There is nothing to test.

[Validate mail server properties.]
[ ERROR ] The mail server cannot be reached.

[Archive Local File System Root]
Since the value is empty, the feature is disabled. There is nothing to test.

[Start Service]
04:35:15, ‘LogService‘, ‘StartService‘, ‘Success‘.
04:35:18, CAF-WRN-0010 CAF input validation enabled.
04:35:18, CAF-WRN-0021 CAF Third Party XSS checking disabled.
04:35:43, CM-SYS-2057 Creating content store tables (schema version 7.0019).
04:36:04, CM-CFG-5063 A Content Manager configuration error was detected while connecting to the content store. CM-CFG-5023 Content Manager is unable to initialize the content store by using the initialization file "/cognos/configuration/schemas/content/oracle/dbInitScript_oracle.sql". Review the configuration for the content store database in IBM Cognos Configuration to ensure that the settings are correct. Verify that the account used to access the content store is still valid by checking the status of the password and account permissions. Verify that the account that Content Manager uses has sufficient permissions to create, to connect to, and to initialize the file contents in the database. Cause: ORA-00955: name is already used by an existing object Stack trace: java.sql.SQLException: ORA-00955: name is already used by an existing object at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:242) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:554) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1478) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:888) at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2076) at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1986) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2697) at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1100) at com.cognos.cm.dbstore.CMPreparedStatementBase.execute(CMPreparedStatementBase.java:59) at com.cognos.cm.dbstore.StatementProxy.execute(StatementProxy.java:276) at com.cognos.cm.dbstore.CMDbStoreFactory.executeScript(CMDbStoreFactory.java:438) at com.cognos.cm.dbstore.CMDbStoreFactory.executeScript(CMDbStoreFactory.java:290) at com.cognos.cm.dbstore.CMDbStoreFactory.initDatabaseContentDependent(CMDbStoreFactory.java:1449) at com.cognos.cm.dbstore.CMDbStoreFactory.initContentDependent(CMDbStoreFactory.java:2129) at com.cognos.cm.dbstore.CMDbStore.initializeContentDependent(CMDbStore.java:4432) at com.cognos.cm.server.CMServlet.initializeContentStoreForActive(CMServlet.java:2192) at com.cognos.cm.server.CMServlet.init(CMServlet.java:1892) at com.cognos.cm.server.ContentManager.start(ContentManager.java:436) at com.cognos.cm.server.ContentManagerLifecycleHandler.start(ContentManagerLifecycleHandler.java:65) at com.cognos.pogo.services.DefaultHandlerService.start(DefaultHandlerService.java:88) at com.cognos.pogo.services.DispatcherServices.startInitialService(DispatcherServices.java:418) at com.cognos.pogo.services.DispatcherServices.startInititalServices(DispatcherServices.java:404) at com.cognos.pogo.transport.PogoServlet$PogoStartup.run(PogoServlet.java:803) at com.cognos.pogo.util.threads.SafeThread.safeRun(SafeThread.java:70) at com.cognos.pogo.util.threads.SafeThread.run(SafeThread.java:61)
04:36:04, ‘ContentManagerService‘, ‘StartService‘, ‘Failure‘.

===========================================================================================================

我大概瞟了一下错误信息

有这样一句 ibmcognos_location/bin/bootstrap_<OS>.xml

以为是之前一次一个网友的错误个案,而那次是由于数据库字符集不是utf-8所致(这里再次要提醒各位cognos用户,cognos内容库必须要utf-8的数据库才行)

但错误信息往下看,发现如下的话:

A Content Manager configuration error was detected while connecting to the content store. CM-CFG-5023 Content Manager is unable to initialize the content store by using the initialization file "/cognos/configuration/schemas/content/oracle/dbInitScript_oracle.sql". Review the configuration for the content store database in IBM Cognos Configuration to ensure that the settings are correct. Verify that the account used to access the content store is still valid by checking the status of the password and account permissions.

懂一点英语的应该也能看到个大概,就是执行dbInitScript_oracle.sql这个初始化的sql有问题

一般来说,应该不会出现这个问题的

根据提问者的描述,他是用oracle的system用户创建内容库的

那问题就来了,难道dbInitScript_oracle.sql里面有写sql是system不能执行的?(哈哈,不是挖掘机技术哪家强)

带着疑问,我在本机用system试验了一般,直接用system用户执行dbInitScript_oracle.sql

接着就弹出这样一个错误

原来根本错误原因是 ORA-04089这个oracle的错误

而这个错误发生的场景为用sys,system创建触发器Trigger就会发生

这个是oracle限制的东西,具体为什么要限制sys等用户不能创建触发器,请自行度娘谷歌

好了,错误已经十分清晰了

那么,要配置cognos内容库,一般都是新建一个普通用户就行了

但有些人创建新用户后图方便,直接grant dba权限

其实cognos内容库用户只需要以下四个权限就足够了

好了,本文完结!~

时间: 2024-10-07 05:31:13

记一次cognos的启动错误的相关文章

记一次rabbitMQ无法启动错误解决方案

故障描述:服务器关机添加硬盘后,rabbitMQ 无法自动启动.手动启动服务报错: * unable to connect to epmd (port 4369) on rap: address (cannot connect to host/port) 分析问题:报错的意思大概是连不到主机rap的4369端口,查看本机hostname为 rap.aek.com 解决办法:在/etc/hosts中加入如下内容,重启服务,问题解决 127.0.0.1    rap 192.168.1.17    

关于Eric 6的后端调试器无法启动错误 [The Debugger backend could not be started]

声明: 1)本文由我bitpeach原创撰写.本篇如有转载,请注明来源. 2)本篇主要谈Eric6的一个怪异错误.因为篇幅不长,只是一个短记,以备档查阅. 1.1 软件环境 (1)Eirc6 ,版本号:6.0.5 (2)PyQt4.11.3 (3)Python2.7.3 (4)Windows7 1.2 错误类型 (1)后端调试器无法启动错误 (2)英文描述是:The Debugger backend could not be started 1.3 错误调研 (1)百度后,类似结果基本没有,所以

eclipse启动错误:An internal error occurred during: &quot;Initializing Java Tooling&quot;. java.lang.NullPointerException

eclipse启动错误:An internal error occurred during: "Initializing Java Tooling". java.lang.NullPointerException 解决方法一:重置eclipse界面视图 记以备查! 原文地址:https://www.cnblogs.com/lin-nest/p/9261483.html

STS的启动错误

"Failed to load the JNI shared library jvm.dll” 下班回家下载了一个STS,居然打不开,检查环境变量配置没有错误,试了好几次,甚至把jre都拷贝到sts目录都不行,这让我无语得不行,网上查下,有人说版本可能不对,果然检查了一下自己下载的版本,因为点击的是网站的默认下载,没有进行版本检查,而自己是64位系统+64位JDK,当然总提示错误了.了解后,立刻到官网下了个64版本的,OK 这下没问题了.  做为程序员,真的要细心/细心,再细心. STS的启动错

centos启动错误:Inodes that were part of a corrupted orphan linked list found.

centos启动时,提示错误: 1 /dev/mapper/VolGroup-lv_root contains a file system with errors,check forced. 2 /dev/mapper/VolGroup-lv_root: 3 Inodes that were part of a corrupted orphan linked list found. 4 /dev/mapper/VolGroup-lv_root:unexpected inconsistency:r

Qt启动错误:Cannot create semaphore /tmp/qtembedded-0/QtEmbedded-0 &#39;d&#39;

最近要在ARM Cortex-A9平台上移植Qt4.7.3,由于我们选用的平台只支持Android系统,所以,要用Qt只能自己移植了. 硬件平台选用深圳思博特科技的SCM3188M,CPU是RK3188,1.6GHz四核Cortex-A9,启动后出现以下错误.     [[email protected]]# Cannot create semaphore /tmp/qtembedded-0/QtEmbedded-0 'd' Error 38 Function not implemented C

PHP Apache shutdown unexpectedly启动错误解释及解决办法

本文出自:http://blog.csdn.net/svitter 实验环境:Myeclipse10 + tomcat7.0 有时间会写windows和linux下的tomcat配置,现在时间有限,暂且不写了..有些东西也是没有理解透彻. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <%@ page language="java" contentType="

eclipse启动错误

转载自:徐徐微风 eclipse启动错误 1.错误日志 !SESSION 2013-12-09 12:24:33.826 -----------------------------------------------eclipse.buildId=M20130204-1200java.version=1.7.0_25java.vendor=Oracle CorporationBootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CNF

LINUX环境中tomcat启动错误:The servlets named X and Y are both mapped to the url-pattern [/Z] which is not permitted

最近有一个问题困扰了我3天,我在windows部署项目无误后,准备将项目发布到阿里云linux服务器上,发现启动报错了:LINUX环境中tomcat启动错误:The servlets named X and Y are both mapped to the url-pattern [/Z] which is not permitted,首先想到的是肯定部署代码或者项目配置文件的事,怀疑有可能是jar包出错了,果不其然,在项目的WebContent\WEB-INF\lib发现了servlet-ap