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

环境
系统: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

3同行回答

idiocyjunidiocyjun  软件开发工程师 , 瑞成
我比对了下我本地的日志cbs_init 斜杠不同,我不确定有没有关联10 : D:\Program Files\ibm\cognos\c10\.bin\.."8.4: E:\Program Files (x86)\cognos\c8\./bin\..cbs_isrunning 第2条 10 是is running,8.4是 is notTue Oct 24 11:27:59 2017 INFO t[eb4] CBSNTService Test...显示全部

我比对了下我本地的日志
cbs_init 斜杠不同,我不确定有没有关联
10 : D:\Program Files\ibm\cognos\c10\.bin\.."
8.4: E:\Program Files (x86)\cognos\c8\./bin\..

cbs_isrunning 第2条 10 是is running,8.4是 is not
Tue Oct 24 11:27:59 2017 INFO t[eb4] CBSNTService Testing if service "cognos8.4" is running.
Tue Oct 24 11:27:59 2017 INFO t[eb4] CBSNTService Service "cognos8.4" is not running.

cbs_run 这个差距就大了
Tue Oct 24 10:54:50 2017 INFO t[18cc] CBSBootstrapService attempt to load config from "./bootstrap_win32.xml"
Tue Oct 24 10:54:55 2017 INFO t[18cc] CBSBootstrapService IBM Cognos Bootstrap Service running as process 6820.
Tue Oct 24 10:55:31 2017 INFO t[18cc] CBSBootstrapService CBSBootstrapService::Run() - child process(es) is/are ready.
Tue Oct 24 11:27:31 2017 INFO t[15a8] PingChildProcess Child process supervisor has been told to stop
Tue Oct 24 11:27:31 2017 INFO t[15a8] CBSBootstrapService Waiting for processes to stop.
Tue Oct 24 11:27:31 2017 INFO t[1ac8] PingChildProcess stopping child process(es).
Tue Oct 24 11:27:33 2017 WARN t[1ac8] PingChildProcess stopAction->execute() return status = 1
Tue Oct 24 11:27:35 2017 INFO t[1ac8] PingChildProcess no processes are alive.
Tue Oct 24 11:27:35 2017 INFO t[15a8] CBSBootstrapService Done wait for processes to stop.
Tue Oct 24 11:27:35 2017 INFO t[15a8] CBSBootstrapService signal main thread to wake (and die).
Tue Oct 24 11:27:35 2017 INFO t[18cc] CBSBootstrapService CBSBootstrapService::Run() - returned from m_semaMainThreadWait->wait()
Tue Oct 24 11:27:35 2017 INFO t[18cc] CBSBootstrapService calling m_pStatusUpdaterThread->interruptWait( SERVICE_STOP_PENDING )
Tue Oct 24 11:27:35 2017 INFO t[18cc] CBSBootstrapService Sleep a bit to let the service status updater shutdown.
Tue Oct 24 11:27:36 2017 INFO t[18cc] CBSBootstrapService Done.

所以关键应该是

CBSSpawnAction CreateProcess failed, errno=3
PingChildProcess ping loop: process "catalina" is not active, so restarting it.

收起
软件开发 · 2017-10-24
浏览4088
topzgmtopzgm  软件架构设计师 , People's Bank of China
在新环境中安装cognos会经常碰到"CFG-ERR-0103"这个问题。原因可能各有不同。一个办法是:进入www.ibm.com网站,然后在右上角的search文本框中输入搜索关键字"CFG-ERR-0103",会搜索出许多针对"CFG-ERR-0103"的问题及其解决方案。可以参考这些CASE来解决问题。...显示全部

在新环境中安装cognos会经常碰到"CFG-ERR-0103"这个问题。原因可能各有不同。一个办法是:进入www.ibm.com网站,然后在右上角的search文本框中输入搜索关键字"CFG-ERR-0103",会搜索出许多针对"CFG-ERR-0103"的问题及其解决方案。可以参考这些CASE来解决问题。

收起
银行 · 2017-10-27
浏览4354
王磊磊 邀答
zhengyi1943zhengyi1943  CEO , 南京正一信息科技有限公司
首先,楼主要明白每个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.这表明作...显示全部

首先,楼主要明白每个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
浏览4152
王磊磊 邀答

提问者

idiocyjun
软件开发工程师瑞成
擅长领域: cognos大数据联机分析处理

相关问题

问题状态

  • 发布时间:2017-10-24
  • 关注会员:3 人
  • 问题浏览:6141
  • 最近回答:2017-10-29
  • X社区推广