启动过程一点日志信息都没有输出直接报0103错误,后来我发现在服务中有个IBM Cognos Content store(大概是这个,具体名字也记不清了)的服务,判断这个问题应该是安装过程中选中了Cognos Content Database,但是在Cognos Configuration中配置的content store却是Oracle导致的。因为如果安装过程中你选中了cognos content database组件,那么你配置的content store必须是 cognos content database,配置其他的都不行。所以把cognos卸载,重新安装,本以为这次应该没有问题了,但是还是报错,想着可能是环境变量的问题,又把环境变量改了改,还是不行,从cognos configuration启动还是报错,不过我感觉一切都没有问题了。
所以换了种方式,从命令行启动,通过调用cogbootstrapservice来启动cognos。在windows环境中cognos第一次启动会创建一个系统服务。
从上图可以看到服务所调用的可执行文件就是cogbootstrapservice.exe,服务类型为自动,所以系统启动后会自动调用此服务,启动cognos。Ps:如果是服务器中启动类型最好是自动,省的有人再去启动它,如果是自己的机器安装仅是为了学习,最好设置为手动,要不然你的系统会在登录时等很长时间。
到命令行里,切到c8_localation/bin目录下,执行cogbootstrapservice.exe –help查看该命令的帮助
Manage the Cognos Bootstrap Service.
By default the service name is determined from startup configuration,
but may be overriden by -name.
Note that on Win32 CBS operates invisibly, with no console window
unless -console is specified. -help, -d and -v are exceptions: they
always open a console.
The option -stdoutLog=DEBUG|INFO|WARN|ERROR|FATAL is optional for all
flavours of the command line. It causes log messages that describe the
actvities of CBS to be written to stdout.
Usage:
cogbootstrapservice -i[a|m] [-name=serviceName] [-console]
Install as service. Service is automatically started (-i or -ia) or manually (-im).
cogbootstrapservice -u [-name=serviceName] [-console]
Uninstall the service.
cogbootstrapservice -isRegistered [-name=serviceName] [-console]
Test if the service is installed.
Exit code is 0 if the service is not installed, otherwise is the numeric value of the "Start" parameter:2 - auto, 3 - manual, 4 - disabled.
cogbootstrapservice -start [-name=serviceName] [-timeLimitSec=nn] [-console]
Start the service. Note that the operation blocks until the service is started or the specified time limit is reached.
cogbootstrapservice -stop [-name=serviceName] [-timeLimitSec=nn] [-console]
Stop the service. Note that the operation blocks until the service is stopped or the specified time limit is reached.
cogbootstrapservice -isrunning [-name=serviceName] [-console]
Test is the service is running. Exit code of 0 indicates that the service is running.
cogbootstrapservice -d
Run the service as a console application.
其实最常用的也就是-d –start –stop这几个参数,-I –u –isRegistered这几个一般都是Cognos Configuration调用用来创建或删除服务用的。
-d参数表示要启动一个控制台窗口
-start表示启动服务,帮助说这个操作是个阻塞型操作,知道服务启动才会往下执行,但是我在windows下调用时并有发现他是阻塞的。
-stop关闭服务器,同样的,我也没有发现它是阻塞的
如果想启动服务执行 cogbootstraoservice.exe –start
如果想让它弹出个窗口 cogbootstrapservice.exe –d –start(如果在telnet调用的话服务器中不弹出窗口)
想关闭服务 执行 cogbootstrapservice.ext –stop
说到这里还有一种方式也是在可以在命令行里启动cognos服务,比cogbootstrapservice更简单,它就是c8/bin目录下的startup.bat和shutdown.bat。Cogbootstrapservice和startup.bat的区别在于,cogbootstrapservice会启动tomcat的同时还启动一个守护进程,当tomcat被意外终止,它还会再次调用,而startup.bat则没有守护进程。
原文地址:
http://www.cognoschina.net/home/space.php?uid=6810&do=blog&id=2905
相关推荐
Cognos10.1配置iis cognos web服务并启动cognos步骤
Cognos Configuration启动服务乱码调整,1资源分下载!!
cognos资料 cognos资料 cognos资料 cognos资料 cognos资料
安装完cognos 8 BI Server后,使用cognos configuration配置,创建服务并启动时出现错误提示:'com.cognos.pogo.contentmanager.coordinator.ActiveCMControl', 'pogo', 'Failure'. DPR-DPR-1035 Dispatcher ...
cognos js 问题解决 方法 js 调用 参数
Cognos SDK 开发指南 这个文本介绍了 Cognos 8 功能组件,并主要功能及开发指引。 Cognos 8 的功能组件 Cognos 8 的功能组件分为服务器端和客户端两部分,服务器端是基于SOA构架的Cognos 8服务,以Web Service的方式...
COGNOS从安装到部署到所有功能的学习资料 1.Cognos BI结构和功能简介.ppt 2.Cognos 产品安装.doc 3.Cognos Framework Manager.ppt 4.Cognos Transformer.ppt 5.Cognos Query_studio.ppt 6.Cognos Report_...
Cognos从入门学习到精通!里面包括对cognos的相关操作
Cognos系列培训视频的第2集:从文档例子开始学习Cognos。本视频下载包中含有老师讲课所采用的ppt文档。
cognos8.4 完整官方文档 简单易懂
cognos安装配置补充(报错解决方法)
COGNOS8.4中文文档-迁移和管理指南
Cognos10.2服务端在Linux服务器上的部署,详细步骤
cognos 集成java 进行登录 导出 等操作SDK 相关jar包 。
它可以提供无缝密合的报表、分析、记分卡、仪表盘等解决方案,通过提供所有的系统和资料资源,以简化公司各员工处理资讯的方法。作为一个全面、灵活的产品,Cognos业务智能解决方案可以容易地整合到现有的多系统和...
COGNOS 权限设置,使用Sun One Ldap作为第三方进行Cognos的用户管理
cognos8 第三方安全认证 1)拷贝dbauth.jar proxool-0.9.0RC3.jar CAM_AAA_CustomIF.jar以及数据库的JDBC驱动(如 classes12.jar FOR ORACLE) 到c8\webapps\p2pd\WEB-INF\lib目录下 2)拷贝JDBC_Config_Oracle....
IBM Cognos 8 BI Metric Modeling 8.4 Windows.tar.gz. IBM Cognos 8 BI Metric Server 8.4 Windows.tar.gz IBM Cognos 8 BI Modeling 8.4 Windows.tar.gz IBM Cognos 8 BI Samples 8.4.tar.gz IBM Cognos 8 BI ...
Cognos8开发应用指引 数据仓库开发 Cognos 8在一个产品中,一种Web构架上,基于企业所有数据源,面向所有用户提供完整的信息处理与展现功能,包括了即席分析功能,查询功能,报表功能,仪表盘功能,事件管理功能以及...
允许用户从 IBM Cognos Connection 访问 Series 7 报表 44 限制对 IBM Cognos 8 的访问 45 第 3 章: 构建 IBM Cognos 8 应用程序 47 第 4 章: 示样 49 Great Outdoors 公司示样 49 Great Outdoors 的公司组 49 ...