-- export DISPLAY=10.1.12.159:0
gedit ~/.bashrc
JDK设置:通过编辑gedit ~/.bashrc来设置java_home
#set java envivonment
export JAVA_HOME=/root/jdk/jdk1.6.0_45
export CLASSPATH=.:$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
export JAVA_HOME=/root/jdk/jdk1.6.0_45
export CLASSPATH=.:$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
congos安装命令
linux-5lt4:~/cognos10install/linuxi38664h # ./issetup
3、将JDK下所有文件赋权限。则不会发生jdk拒绝访问
chmod -R 777 jdk
2.cognos打包前需要把,cognos的基本页面拷贝到打包目录下,以备打包时,或者运行时使用。
1)因为我们采用了DB2作为content store,因此需要将jconn2.jar拷贝 到webapps/p2pd/WEB-INF/lib目录下;
3)将<COGNOS installed path>/c10_64/webcontent/ 下面的全部文件拷贝到 <COGNOS installed path>/c10_64/webapps/p2pd/下面。
5)将必备的jar放到classpath中
configuration打开后又出现一个问题,是由于java的classpath中缺少必要的jar造成的
我的环境中Copy the bcprov-jdk13-125.jar文件从cognos的库中复制到jre的ext目录下即可
另外,还要将db2java.zip、db2jcc、db2jcc_license_cu.jar从/opt/ibm/db2/V9.7/java复制 到/opt/ibm/cognos/webapps/p2pd/WEB-INF/lib,并将db2java.zip重命名为db2java.jar
1.我想将home/wangshiming/Downloads里面的文件和文件夹等复制到home/wangshiming/tools目录 怎么实现1
cp -rf /opt/ibm/cognos/c10_64/webcontent/* /opt/ibm/cognos/c10_64/webapps/p2pd/WEB-INF
//运行cognos configration
/opt/ibm/cognos/c10_64/bin64/cogconfig.sh
./cogconfig.sh
//db2cmd 输入DB2 了!
db2 "create db COG130 using codeset utf-8 territory cn"
db2 connect to COG130
(1)
db2 create bufferpool BF8 immediate size 250 pagesize 8k
db2 create bufferpool BF16 immediate size 250 pagesize 16k
db2 create bufferpool BF32 immediate size 250 pagesize 32k
db2 create system temporary tablespace STMP pagesize 32k managed by automatic storage extentsize 16 overhead 10.5 prefetchsize 16 transferrate 0.14 bufferpool BF32
db2 create user temporary tablespace UTMP pagesize 4k managed by automatic storage extentsize 16 overhead 10.5 prefetchsize 16 transferrate 0.14 bufferpool IBMDEFAULTBP
db2 create regular tablespace RUTS pagesize 4k managed by automatic storage extentsize 16 overhead 10.5 prefetchsize 16 transferrate 0.14 bufferpool IBMDEFAULTBP dropped table recovery on
db2 create regular tablespace RUTS8 pagesize 8k managed by automatic storage extentsize 16 overhead 10.5 prefetchsize 16 transferrate 0.14 bufferpool BF8 dropped table recovery on
(2)
db2 "create bufferpool bp4k pagesize 4k"
db2 "create bufferpool bp16k pagesize 16k"
db2 "create bufferpool bp32k pagesize 32k"
db2 "create system temporary tablespace temp16 pagesize 16k managed by automatic storage bufferpool bp16k"
db2 "create user temporary tablespace temp4 pagesize 4k managed by automatic storage bufferpool bp4k"
db2 "create tablespace tbs4k pagesize 4k managed by automatic storage bufferpool bp4k"
给内容库授权!!!
GRANT DBADM ON DATABASE TO USER db2admin
GRANT CONNECT ON DATABASE TO db2admin
GRANT CREATETAB ON DATABASE TO db2admin
GRANT IMPLICIT_SCHEMA ON DATABASE TO db2admin
GRANT BINDADD ON DATABASE TO db2admin
GRANT CREATE_NOT_FENCED_ROUTINE ON DATABASE TO db2admin
GRANT LOAD ON DATABASE TO db2admin
linux 设置JDK大小方法,修改配置文件catalina.sh
/opt/ibm/cognos/c10_64/tomcat/bin/catalina.sh
export JAVA_OPTS= -Xms128m -Xmx1024m 设置JAVA虚拟机的内存
export CATALINA_OPTS= -Xms256m -Xmx1024m 设置tomcat可以使用多少内存
-Xms128m 【初始化内存大小】 128M
-Xmx512m 【可以使用的最大内存】 512M
[Start Service]
[ ERROR ] CFG-ERR-0106 IBM Cognos Configuration did not receive a response from the IBM Cognos service in the time allotted.
Check that IBM Cognos service is available and properly configured.
(1)
分析:这个错误是JVM申请内存时,不能满足要求。Cognos的服务分为大、中、小三类,他们的主要区别在于对内存大小的要求。Cognos安装后创建的服务类别为“小”,默认最大内存(Maximum Memory in MB)值为768。在32位环境下建议此值不要调整超过1.2G。
解决:调低对应服务的Maximum Memory in MB的值。
注意:该错误的编码为CFG-ERR-0106,但是不一定所有CFG-ERR-0106错误都是这个问题造成的,还是要具体问题具体分析。
(2)
错误原因有以下几种可能
参考方法1:
检查..\IBM\cognos\c10\configuration\cogconfig.prefs文件,确保其是UTF-8格式。
参考方法2:
在上面文件的后面添加如下两行
ServiceWaitInterval=1000
ServiceMaxTries=10
参考方法3:
检查系统环境变量中的JAVA_HOME是不是配置了java5或者更低版本,最好是删除JAVA_HOME,使得cognos使用自带的jre.
(7)
configuration文件夹下存在cogstartup.lock 解决:若能确认是非正常关闭点击Continue即可,若是由多用户同时操作造成,推荐先退出,待其他人退出后在使用,以免修改的配置被其他人误改。
/opt/ibm/cognos/c10_64/configuration/cogstartup.lock
所以进入/c10/configration删除cogstartup.lock文件即可
(8)启动COGNOS
cogbootstraoservice.exe –start
cogbootstrap
cd /opt/ibm/cognos/c10_64/bin64/
./cogbootstrapservice -start
(cognos新建数据源){确保继续做下去,要jdbc}
jdbc:db2://ServerIP:50000/databasename
现在在FM中发布不了模型到COGNOS服务器上,
“QE-DEF-0368 无法解密来自内容库的用户名和密码凭证。检查并保存 Cognos Configuration 设置以配置您的报告环境。
”
将Server上的../configuration/csk目录拷贝到FM的../configuration目录中。
QE-DEF-0325 由于以下原因导致登录失败:RQP-DEF-0068 对 repdb2 中的 1 个数据库进行多项连接时,至少无法连接一个数据库。UDA-SQL-0569 无法载入驱动程序管理器库(libdb2.so)。UDA-SQL-0571 操作系统返回错误消息(libdb2.so: cannot open shared object file: No such file or directory)。
17/05/2013,10:30:04,Err,CFG-ERR-0106 IBM Cognos Configuration did not receive a response from the IBM Cognos service in the time allotted.
Check that IBM Cognos service is available and properly configured.
Exception occurred during event dispatching:
java.lang.NullPointerException
at com.cognos.i18n.ui.I18NWrappedPlainView.calculateBreakPosition(I18NWrappedPlainView.java:99)
at javax.swing.text.WrappedPlainView$WrappedLine.breakLines(WrappedPlainView.java:769)
at javax.swing.text.WrappedPlainView$WrappedLine.getPreferredSpan(WrappedPlainView.java:548)
at javax.swing.text.View.getMinimumSpan(View.java:234)
at javax.swing.text.BoxView.calculateMajorAxisRequirements(BoxView.java:854)
at javax.swing.text.BoxView.checkRequests(BoxView.java:913)
at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:312)
at javax.swing.text.BoxView.layout(BoxView.java:692)
at javax.swing.text.BoxView.setSize(BoxView.java:380)
at javax.swing.text.WrappedPlainView.setSize(WrappedPlainView.java:375)
at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:1702)
at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:900)
at javax.swing.plaf.basic.BasicTextAreaUI.getPreferredSize(BasicTextAreaUI.java:103)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1642)
at javax.swing.JTextArea.getPreferredSize(JTextArea.java:617)
at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:769)
at java.awt.Container.layout(Container.java:1419)
at java.awt.Container.doLayout(Container.java:1408)
at java.awt.Container.validateTree(Container.java:1505)
at java.awt.Container.validateTree(Container.java:1511)
at java.awt.Container.validateTree(Container.java:1511)
at java.awt.Container.validateTree(Container.java:1511)
at java.awt.Container.validateTree(Container.java:1511)
at java.awt.Container.validate(Container.java:1478)
at javax.swing.RepaintManager$2.run(RepaintManager.java:698)
at javax.swing.RepaintManager$2.run(RepaintManager.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:695)
at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1667)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:672)
at java.awt.EventQueue.access$400(EventQueue.java:81)
at java.awt.EventQueue$2.run(EventQueue.java:633)
at java.awt.EventQueue$2.run(EventQueue.java:631)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:642)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
at java.awt.Dialog$1.run(Dialog.java:1052)
at java.awt.Dialog$3.run(Dialog.java:1104)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1102)
at com.cognos.crconfig.CnfgTaskDialog.show(CnfgTaskDialog.java:521)
at com.cognos.crconfig.CnfgTaskDialog.begin(CnfgTaskDialog.java:597)
at com.cognos.crconfig.data.CnfgActionEngine.run(CnfgActionEngine.java:139)
at com.cognos.crconfig.CRConfigFrame.runAction(CRConfigFrame.java:2531)
at com.cognos.crconfig.CRConfigFrame.runAction(CRConfigFrame.java:2535)
at com.cognos.crconfig.CRConfigFrame.runServiceAction(CRConfigFrame.java:2381)
at com.cognos.crconfig.CRConfigFrame.runAllServicesAction(CRConfigFrame.java:2301)
at com.cognos.crconfig.CRConfigFrame.access$700(CRConfigFrame.java:111)
at com.cognos.crconfig.CRConfigFrame$32.actionPerformed(CRConfigFrame.java:2656)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6297)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
at java.awt.Component.processEvent(Component.java:6062)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4660)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Window.dispatchEventImpl(Window.java:2489)
at java.awt.Component.dispatchEvent(Component.java:4488)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:674)
at java.awt.EventQueue.access$400(EventQueue.java:81)
at java.awt.EventQueue$2.run(EventQueue.java:633)
at java.awt.EventQueue$2.run(EventQueue.java:631)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:647)
at java.awt.EventQueue$3.run(EventQueue.java:645)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:644)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
17/05/2013,10:33:02,Err,CFG-ERR-0106 IBM Cognos Configuration did not receive a response from the IBM Cognos service in the time allotted.
Check that IBM Cognos service is available and properly configured.
[Start Service]
[ ERROR ] CFG-ERR-0106 IBM Cognos Configuration did not receive a response from the IBM Cognos service in the time allotted.
Check that IBM Cognos service is available and properly configured.
10:56:36, 'LogService', 'StartService', 'Success'.
10:56:37, CAF input validation enabled.
10:56:37, CAF Third Party XSS checking disabled.
10:57:09, CM-SYS-2057 Creating content store tables (schema version 6.0022).
10:59:43, CM-SYS-2215 A Content Manager internal PRECACHEINITACTIONS task started.
10:59:44, CM-SYS-2216 A Content Manager internal POSTINITACTIONS task is complete.
10:59:43, CM-SYS-2215 A Content Manager internal POSTINITACTIONS task started.
10:59:43, CM-SYS-2216 A Content Manager internal PRECACHEINITACTIONS task is complete.
11:00:27, CM-SYS-2215 A Content Manager internal CMUPGRADESCRIPT task started.
11:00:29, 'ContentManagerService', 'StartService', 'Success'.
11:00:29, CM-SYS-5159 Content Manager is running in active mode.
11:00:36, 'relationalMetadataService', 'StartService', 'Success'.
11:00:38, DPR-DPR-1002 Successfully registered the dispatcher http://linux-5lt4:9300/p2pd in Content Manager.
11:01:15, 'camAsyncService', 'StartService', 'Success'.
[Start Service]
[ ERROR ] CFG-ERR-0106 IBM Cognos Configuration did not receive a response from the IBM Cognos service in the time allotted.
Check that IBM Cognos service is available and properly configured.
11:15:16, 'LogService', 'StartService', 'Success'.
11:15:16, CAF input validation enabled.
11:15:16, CAF Third Party XSS checking disabled.
11:15:23, CM-SYS-2215 A Content Manager internal PRECACHEINITACTIONS task started.
11:15:23, CM-SYS-2216 A Content Manager internal PRECACHEINITACTIONS task is complete.
11:15:24, CM-SYS-2215 A Content Manager internal POSTINITACTIONS task started.
11:15:24, CM-SYS-2215 A Content Manager internal CMUPGRADESCRIPT task started.
11:15:25, 'ContentManagerService', 'StartService', 'Success'.
11:15:25, 'relationalMetadataService', 'StartService', 'Success'.
11:15:25, CM-SYS-5159 Content Manager is running in active mode.
11:15:24, CM-SYS-2216 A Content Manager internal POSTINITACTIONS task is complete.
11:15:26, DPR-DPR-1002 Successfully registered the dispatcher http://linux-5lt4:9300/p2pd in Content Manager.
11:16:00, 'camAsyncService', 'StartService', 'Success'.
11:16:38, 'IBM Cognos Enhanced Search Service', 'StartService', 'Success'.
11:16:38, 'ReportDataService', 'StartService', 'Success'.
11:16:38, 'BatchReportService', 'StartService', 'Success'.
11:16:39, Start a External Process because the start count 1 is larger than 0.
11:16:38, 'PresentationService', 'Upgrade', 'Success'.
11:16:39, 'PresentationService', 'StartService', 'Success'.
11:16:38, 'CacheService', 'StartService', 'Success'.
11:16:38, 'ContentManagerCacheService', 'StartService', 'Success'.
11:17:57, 'QueryService', 'StartService', 'Success'.
[ WARNING ] Please wait while the current task finishes. Any subsequent tasks will be canceled.
附参考文档:
Cognos10_for_linux安装配置指南.doc
Cognos+8.3+I386+FOR+Linux64Bit安装文档.docx
linux-cognos安装.doc
Cognos8.4_Linux安装_精选.docx
相关推荐
本文将详细阐述整个安装流程,包括SUSE Linux的基础安装和后续的DB2安装。 首先,启动SUSE Linux的安装过程。当系统引导到图-19界面时,选择“Installation”选项并确认。接下来,同意软件许可条款(I Agree to the...
在本软件安装手册中,我们将深入探讨如何在SUSE Linux操作系统上配置双机环境并安装Oracle 10g数据库。SUSE Linux是一款基于Linux的开源操作系统,以其稳定性、安全性及企业级服务而闻名,而Oracle 10g是Oracle公司...
- 考虑到多线程架构的优势,推荐在Linux系统上使用64位操作系统安装DB2的64位数据库产品,以简化内存配置。 - 操作系统软件需求包括libpam.so.0(32位),这是运行32位非SQL例程和JDBC Type 2驱动程序应用的DB2...
### 虚拟机ESXi + SuSELinux11 + Oracle10g RAC 安装 #### 一、安装前准备 ##### 1.1 基础概念 - **ESXi**: VMware ESXi 是一种类型 1 的虚拟化平台,能够直接运行在服务器硬件上,提供对硬件资源(CPU、内存、...
该文档详细讲述了SuSE Linux enterprise 10.0的安装以及Oracle 10g的配置与安装。
SuSE Linux Enterprise Server 10 SP4-x86_64 百度云下载地址, 可以快速下载,流畅安装
SUSE+Linux10+安装Oracle11G 全部流程 以及问题出现调整
在本例中,虽然Red Hat Linux 5.6 x64被选为操作系统的基底,但在SUSE Linux环境下配置SVN服务器的过程相似。 #### 下载与解压CollabNet Subversion Edge - **第二步**:从官方网站或其他可信来源下载CollabNet ...
SLES-11-SP4-DVD-x86_64-GM-DVD1.iso 已安装成功 suselinux 64位
在本教程中,我们将深入探讨如何在SUSE Linux Enterprise Server 11 (x86_64)系统上安装和配置IBM的DB2 V9.7数据库。首先,确保你具备了正确的安装环境,即SUSE Linux Enterprise Server 11 64位版本。接下来,我们...
在本文中,我们将深入探讨如何在SUSE操作系统上安装IBM的DB2数据库管理系统,特别是针对DB2 v9.7版本。在安装过程中,我们会遇到一些常见的挑战,包括配置静态IP地址,以及在根目录下安装数据库软件。让我们一步步地...
SuSE Linux 11 SP3 + LVM 安装指南 在本篇文章中,我们将详细介绍如何使用逻辑卷方式安装 SuSE Linux 11 SP3,实现后期分区空间灵活调整。 什么是 LVM? LVM(Logical Volume Manager,逻辑卷管理器)是 Linux 中...
SUSE Linux Enterprise 12 SP5-Server-DVD-x86_64-GM-DVD1.iso SUSE Linux Enterprise 12 SP5-Server-DVD-x86_64-GM-DVD2.iso Raj Meel宣布了适用于SUSE Linux Enterprise 12的第五个服务包,这是该公司商业,企业...
SUSE Linux 安装图文教程 SUSE Linux 是一个功能强大且易于使用的 Linux 发行版,它的安装过程与 Windows 相似,界面简洁易懂。下面是 SUSE Linux 安装图文教程的详细说明: 安装前的准备 在安装 SUSE Linux 之前...
本文提供了 SuSE Linux 的详细安装介绍,涵盖了 Linux 安装前的准备、目录结构、文件系统概念、磁盘分区等多个方面的知识点。通过本文,读者可以系统地了解 SuSE Linux 的安装过程,并且对 Linux 操作系统的基本概念...
根据提供的文件信息,“SUSE Linux 64”作为标题、描述和标签,我们可以推断出这份文档主要关注的是SUSE Linux这一操作系统,并且特指64位版本。下面将详细介绍与SUSE Linux 64相关的知识点。 ### SUSE Linux 简介 ...
**SUSE Linux Enterprise 11 SP4 系统安装指南** SUSE Linux Enterprise 11 Service Pack 4(SP4)是一款由SUSE公司提供的企业级Linux操作系统,它提供了稳定性和安全性,适用于服务器、工作站以及云计算环境。在...
《SUSE Linux 11 Bible》是一本深入探讨SUSE Linux发行版的全面指南,主要聚焦于OpenSUSE 11.0和SUSE Linux Enterprise Server。本书由Roger Whittaker和Justin Davies合著,由Wiley Publishing, Inc.出版。这本书...
在SUSE Linux上安装MySQL是一项基础的系统管理任务,尤其对于需要使用数据库服务的开发者和运维人员来说至关重要。本文档提供了详细的步骤来指导你完成MySQL的安装过程。 首先,你需要下载MySQL的安装文件。在本例...