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 个回答idiocyjun的回答

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 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
浏览4087

回答者

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

idiocyjun 最近回答过的问题

回答状态

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