Cognos商业智能论坛

Cognos商业智能论坛

条新动态, 点击查看
曾力

曾力 回答了问题 • 2013-07-09 13:59 • 1 个回复 不感兴趣

Cognos 和 DB2 client的结合

赞同来自:

在Cognos BI Server端加装db2 client ,然后进行数据库本地实例化别名
与此同时,还需要在fm端加装db2 client,然后进行数据库实例化别名
不然在fm建立数据源之后,测试连接是通过的,但是要使用这个数据源时,就会报错,错误是让你输... 显示全部 »
在Cognos BI Server端加装db2 client ,然后进行数据库本地实例化别名
与此同时,还需要在fm端加装db2 client,然后进行数据库实例化别名
不然在fm建立数据源之后,测试连接是通过的,但是要使用这个数据源时,就会报错,错误是让你输入用户id和密码,并提示invalid,这时候如果不在本实例化别名则会出现以上错误,则此时不管你输入数据源连接已经设定的id passwrod则都不会通过该数据。

Db2 client中命令如下:
catalog tcpip node nodeone remote 172.168.9.243 server 50000 remote_instance db2
--nodeone 是自定义名称
--db2 是实例名

catalog db bidbdw as db243 at node nodeone
--bidbdw 是服务器上数据库名
--db243 是自定义名

connect to db243 user db2admin using db2admin
曾力

曾力 回答了问题 • 2013-07-09 13:58 • 1 个回复 不感兴趣

Sun_one Directory Server安装问题总结

赞同来自:

1.安装的操作系统
尽量使用XP Windows Server2003等环境,避免使用win7 因为高版本的操作系统在5.0/5.2的版本下无法支持安装。
SODS5.2支持的平台有:
Sun Solaris 8 for UltraSPARC(32 和 64... 显示全部 »
1.安装的操作系统
尽量使用XP Windows Server2003等环境,避免使用win7 因为高版本的操作系统在5.0/5.2的版本下无法支持安装。
SODS5.2支持的平台有:
Sun Solaris 8 for UltraSPARC(32 和 64 位)
Sun Solaris 9 for SPARC(32 和 64 位)
Sun Solaris 9 for x86 (IA-32)
Microsoft Windows 2000 Server 和 Advanced Server SP 3 (IA-32)
RedHat Linux 7.2 (IA-32)
Sun Linux 5.0 (Sun LX50)
Hewlett-Packard HP-UX 11.i PA-RISC 1.1 或 2.0(32 位和 64 位)
IBM AIX 5.1(Power PC)(32 位)

2.安装无法读取本机名称
以下路径下(C:\Windows\system32\drivers\etc\hosts)添加以下信息:localhost ldap.domain.com)

3.安装路径
5.0的版本使用的jdk1.4 所以不能有空格,不然会导致安装失败,jdk1.4不能区分空格
5.2的版本没有尝试过类似Progam files之类的路径。
另外,所有版本的安装路径中最好不要有中文,会产生严重异常。SUN ONE的安装文件,一定要装在英文目录下。否则JAVA安装的时候,会到中文路径下去寻找安装文件,而JAVA本身并不支持在中文下搜索程序的能力,因此会一直在搜索,所以安装的时候会提示整个界面一直卡住,而JAVA又报java.lang错误,提示超出最大长度。实际上,不是由于超出长度,而是由于中文不被识别。

4.残留文件问题
重复安装安装sunone,需要把原有文档中剩余的内容删除干净,重启后完成,

5.缺少dll问题:Error messages: serverConfigure [Ljava.lang.String;@1e193f2" returned status : 128Configuration of the Directory Server failed.Error Directory Server configuration failureChecking connection to the Directory Server... failed.The Administration Server cannot be configured.Error Administration Server configuration failureError Configuration of the server(s) failed.Other possible errors :"The application has failed to start because nss3.dll was not found"The Sun installer may also complain about "libplc4.dll" or "libnspr4.dll" or "libadminutil52.dll" not found.---ds_create.exe ---"The procedure entry point PR_GetLibraryFilePathname could not be located in the dynamic link library libnspr4.dll."

Resolving the problem
1) Download Sun One Directory Server 5.2 Patch 4, or later, from the Sun website.
2) If it cannot be downloaded or if this does not solve the problem, here is a workaround :
[list]
[[i]]Uninstall SunOne DS 5.2- From the installation files, open folder \directory_server\setup_data\base, you will find a file called nsbasesys.zip- Open nsbasesys.zip, extract all the .dll files to %WINDIR%\system32- Double check that you have these files in %WINDIR%\system32 :===C:\WINDOWS\SYSTEM32> dir /b icu .dll lib .dll nsldap .dll nss3.dll sasl .dll smime3.dll ssl3.dllicudt2.dllicuin2.dllicuio2.dllicule2.dllicuuc2.dlllibadminutil52.dlllibadmsslutil52.dlllibnspr4.dlllibplc4.dlllibplds4.dllnsldap32v50.dllnsldappr32v50.dllnsldapssl32v50.dllnss3.dllsasl32.dllsmime3.dllssl3.dll===- From the installation files, run "setup", or if you wish to see debugging messages, run "setup -debug"- The installation should now terminate successfully. ]