Rational Portfolio Manager 7.1 常见错误分析

停止数据库失败

错误消息'Error occurred during the shutdown of RPM database.'

分析:安装 RPM 数据库前,DB2 未启动。因此安装脚本视图停止 DB2 时失败。

解决方法:启动 DB2,并重新运行安装程序。

 

创建缓冲池失败

错误消息'Error occurred during buffer pool creation.'

分析
查看日志文件,发现在 bufferpools.log 中,提示错误:

DB21034E The command was processed as an SQL statement because it was not 
a valid Command Line Processor command. During SQL processing it returned:
SQL1024N A database connection does not exist. SQLSTATE=08003

再查看 usr_connect.log,其中提示错误:

SQL30082N Security processing failed with reason "24" 
("USERNAME AND/OR PASSWORD INVALID"). SQLSTATE=08001

解决方法:确认 DB2 实例用户名和密码,并重新运行安装程序。


DB2 环境变量未定义

错误消息'Error occurred during the creation of RPM CQ Integration default attributes.'
'Error occurred during the creation of RPM default records for custom pivots.'

分析
查看日志文件,发现在 cq_atr_insert.log 中,提示错误:

SQL0444N Routine "DB2ADMIN.SP_I_ATR" (specific name "SQL071102185959600") is implemented 
with code in library or path "FUNCTION/IBMRPM", 
function "SP_I_ATR" which cannot be accessed. Reason code: "4". SQLSTATE=42724

再看 bindall.log,其中提示:

Error: not defined

因此,查看 csp/bindall.bat,发现原来是由于缺少 DB2 的一个环境变量 DB2TEMPDIR。这个变量记录了 DB2 的安装路径,如果这个变量未定义,将导致 Rational Portfolio Manager 数据库安装出错。

解决方法:在 Windows 系统中添加变量:

名称:DB2TEMPDIR
值:C:/Program Files/IBM/SQLLIB/

删除存储过程错误

错误消息'Error occurred during the deletion of RPM store procedures and/or UDFs.'

分析
查看日志文件,发现在 dropsp.log 中,提示错误:

DB21034E The command was processed as an SQL statement because it was not a valid Command
 Line Processor command. During SQL processing it returned:
SQL0204N "DB2ADMIN.PMO_OTFCDY1" is an undefined name. SQLSTATE=42704

这是在创建存储过程之前的操作,此时存储过程还不存在,出现警告是正常的。

解决方法:忽略。


无法连接 RPM 服务器


错误消息

“You are unable to connect to the database, possible reasons: …”

分析
如果您的 Rational Portfolio Manager 安装过程没有错误,那么很有可能是客户端的连接配置出错了。请检查 Server Name(localhost:9080/IBMRPM):

  1. 没有“http://”前缀
  2. 端口号争取
  3. 没有“/”后缀

解决方法:确认连接信息正确后,再次连接。

 
原文链接: http://blog.csdn.net/jaminwm/article/details/1998916

你可能感兴趣的:(Rational Portfolio Manager 7.1 常见错误分析)