cognos 启动时没有日志也没有给内容库建表?

环境系统:window server 2008 r2 standard版本:10.1安装jdk1.6使用 cogconifg -java:local(理论上跟java home 没有关系)内容库使用 oracle,utf8cognos 配置另存为 utf8修改配置文件cogconfig.prefs 增加以下两个配置 ServiceWaitInterval=1000 ServiceMaxTries=500 b...显示全部

环境
系统:window server 2008 r2 standard
版本:10.1
安装jdk1.6
使用 cogconifg -java:local(理论上跟java home 没有关系)
内容库使用 oracle,utf8
cognos 配置另存为 utf8
修改配置文件

cogconfig.prefs 增加以下两个配置 
    ServiceWaitInterval=1000
    ServiceMaxTries=500
bootstrap_win32.xml文件,将该文件里面的${java_home}替换为D:/Program Files/ibm/cognos/c10/bin/jre/6.0(共5处,并将\\修改为/)

现在出现几个问题
1.我本地8.4cognos 的服务的类型为小型中型大型,而10.1版本只有tomcat,问是否正常?
10服务.png

10服务.png

84服务配置.png
84服务配置.png

2.没有日志
10日志.png

10日志.png

84日志.png
84日志.png

3.内容库没有表
(我个人怀疑,应该是16:55:35, 'LogService', 'StartService', 'Success'. 这第一步就有问题了,所以没有日志,也没有到建表的一步)

现有日志
cbs_init
Tue Oct 24 19:40:05 2017 DEBUG t[136c] CBSCmdLine Preparing cmdline from string: "-isrunning -name=cognos10 "-java_home=D:\Program Files\ibm\cognos\c10\bin\jre\6.0""
Tue Oct 24 19:40:05 2017 DEBUG t[136c] CBSCmdLine Command line as parsed:
-isrunning
-name="cognos10"
-java_home="D:\Program Files\ibm\cognos\c10\bin\jre\6.0"
Tue Oct 24 19:40:05 2017 DEBUG t[136c] CBSPropertyInserter Added property install_path with value "D:\Program Files\ibm\cognos\c10\.\bin\.."
Tue Oct 24 19:40:05 2017 DEBUG t[136c] CBSPropertyInserter Added property bin_path with value "D:\Program Files\ibm\cognos\c10\.\bin\."

cbs_isrunning
Tue Oct 24 19:40:41 2017 INFO t[12b0] CBSNTService Testing if service "cognos10" is running.
Tue Oct 24 19:40:41 2017 INFO t[12b0] CBSNTService Service "cognos10" is running.

cbs_start
Tue Oct 24 18:59:16 2017 INFO t[1fa4] CBSNTService Attempt to starting service "cognos10"
Tue Oct 24 18:59:16 2017 INFO t[1fa4] CBSNTService Starting service "cognos10"
Tue Oct 24 18:59:16 2017 INFO t[1fa4] CBSNTService Waiting for service to start...
Tue Oct 24 19:07:37 2017 ERROR t[1fa4] CBSNTService Failed to start service "cognos10", within specified time limit.

cbs_run 这个太多了,摘抄几句不同的
Tue Oct 24 18:59:17 2017 INFO t[1b90] CBSBootstrapService attempt to load config from "./bootstrap_win32.xml"
Tue Oct 24 18:59:17 2017 FATAL t[1b90] CBSSpawnAction CreateProcess failed, errno=3
Tue Oct 24 18:59:22 2017 INFO t[1b90] CBSBootstrapService IBM Cognos Bootstrap Service running as process 5768.
【重复开始】
Tue Oct 24 19:00:17 2017 ERROR t[19d0] PingChildProcess ping loop: process "catalina" is not active, so restarting it.
Tue Oct 24 19:00:17 2017 FATAL t[19d0] CBSSpawnAction CreateProcess failed, errno=3
【重复结束】
Tue Oct 24 19:04:24 2017 INFO t[198c] CBSServiceStatusUpdater reached time limit, final status is 2
【重复开始】
Tue Oct 24 19:00:17 2017 ERROR t[19d0] PingChildProcess ping loop: process "catalina" is not active, so restarting it.
Tue Oct 24 19:00:17 2017 FATAL t[19d0] CBSSpawnAction CreateProcess failed, errno=3
【重复结束】
Tue Oct 24 19:09:47 2017 ERROR t[1b90] CBSBootstrapService askPCPifReady() - child processes not yet ready, giving up.
【重复开始】
Tue Oct 24 19:00:17 2017 ERROR t[19d0] PingChildProcess ping loop: process "catalina" is not active, so restarting it.
Tue Oct 24 19:00:17 2017 FATAL t[19d0] CBSSpawnAction CreateProcess failed, errno=3
【重复结束】

cogserver 没有任何数据

现在启动时是报 0103
数据库 utf8 已确认(重装过了)
服务删了 也重新建了
jdk问题,使用 cogconfig -java:local 强制 使用自带
网上的这2个办法都试过了

收起
参与13

查看其它 2 个回答zhengyi1943的回答

zhengyi1943zhengyi1943CEO南京正一信息科技有限公司

首先,楼主要明白每个log文件记录的都是那些方面的信息。
对于cogserver.log这个文件,它记录的是cognos启动运行的信息。
注意以下这句log:
Tue Oct 24 19:00:17 2017 ERROR t[19d0] PingChildProcess ping loop: process "catalina" is not active, so restarting it.
这表明作为容器的tomcat都没能启动起来,作为内容物的cognos当然不会有什么log信息了。
建议楼主检查所用tomcat的启动参数,支持的java版本等信息,然后再进行测试。

系统集成 · 2017-10-29
浏览4188
王磊磊 邀答

回答者

zhengyi1943
CEO南京正一信息科技有限公司
擅长领域: 商业智能大数据cognos

zhengyi1943 最近回答过的问题

回答状态

  • 发布时间:2017-10-29
  • 关注会员:3 人
  • 回答浏览:4188
  • X社区推广