Linux安装DB2报错:The specified service name or port number conflicts with existing values in the T

本文讲述了在SUSE 15上部署DB2-11时遇到的TCP/IP服务冲突问题,通过注释掉/etc/services中冲突端口配置,解决了冲突并完成了DB2的实例化过程。最后,详细记录了安装步骤和相关错误信息。
摘要由CSDN通过智能技术生成

1.背景

打算在Suse15上安装部署DB2-11,在实例化过程中报错

DBI1702E  The specified service name or port number conflicts with
      existing values in the TCP/IP services file.

localhost:/opt/ibm/db2/V11.1/instance # ./db2icrt -p 50000 -u db2fenc1 db2inst1
DBI1446I  The db2icrt command is running.


DB2 installation is being initialized.

 
DBI1702E  The specified service name or port number conflicts with
      existing values in the TCP/IP services file.

Explanation: 

The service name or port number conflicts with existing values in the
services file. The service name might already be used with a different
port number, or the port number might already be used with a different
service name.

User response: 

Specify a service name and port number that does not conflict with
existing entries in the services file.


A major error occurred during the execution that caused this program to
terminate prematurely. If the problem persists, contact your technical service
representative.

For more information see the DB2 installation log at "/tmp/db2icrt.log.799".
DBI1264E  This program failed. Errors encountered during execution were
      written to the installation log file. Program name:
      db2icrt. Log file name: /tmp/db2icrt.log.799.

Explanation: 

This message is returned when some processes and operations have failed.
Detailed information about the error was written to the log file.

User response: 

Contact IBM support to get assistance in resolving this issue. Keep the
log file intact as this file is an important reference for IBM support.


   Related information:
   Contacting IBM Software Support

2.解决方案

注释掉/etc/services关于50000端口的配置

3.重新执行命令成功

localhost:/opt/ibm/db2/V11.1/instance # ./db2icrt -p 50000 -u db2fenc1 db2inst1
DBI1446I  The db2icrt command is running.


DB2 installation is being initialized.

 Total number of tasks to be performed: 4 
Total estimated time for all tasks to be performed: 309 second(s) 

Task #1 start
Description: Setting default global profile registry variables 
Estimated time 1 second(s) 
Task #1 end 

Task #2 start
Description: Initializing instance list 
Estimated time 5 second(s) 
Task #2 end 

Task #3 start
Description: Configuring DB2 instances 
Estimated time 300 second(s) 
Task #3 end 

Task #4 start
Description: Updating global profile registry 
Estimated time 3 second(s) 
Task #4 end 

The execution completed successfully.

For more information see the DB2 installation log at "/tmp/db2icrt.log.12807".
DBI1070I  Program db2icrt completed successfully.

 参考:

IBM Docs

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

架构师之路魂

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值