安装DB2(V9.1)时出现如下错误
错误:为具有端口 "50000" 的服务名称 "db2c_DB2" 而更新系统上的服务文件时出错。
baidu无果,转求google,英文错误为
An error occurred while updating the services file on the system for the service name 'db2c_DB2' with port '50000'.
在IBM的网站找到答案,地址:http://publib.boulder.ibm.com/infocenter/tivihelp/v4r1/index.jsp?topic=%2Fcom.ibm.tpc_V41.doc%2Ffqz0_r_tbs_install_db2_intelxeon.html
原文如下:
To work around this issue, follow these steps:
Run the following DB2 command from the DB2 command prompt window:
db2 get dbm cfg
You will see the following output:
TCP/IP Service name (SVCENAME) = db2c_DB2
Change the port number. Run the following DB2 commands from the DB2 command prompt window:
db2 update dbm cfg using SVCENAME 50000
db2stop
db2start
Run the following DB2 command again to verify that the service port is correct:
db2 get dbm cfg
This command should return the following output:
TCP/IP Service name (SVCENAME) = 50000
Run the IBM? Tivoli? Storage Productivity Center installation program again.
只要显示为 TCP/IP Service name (SVCENAME) = 50000就可以