问题一: SQL6031N  Error in the db2nodes.cfg file at line number "5".  Reason code "12".

[db2inst1@ivan sqllib]$ db2start
SQL6031N  Error in the db2nodes.cfg file at line number "5".  Reason code "12".

The port value at line line of the db2nodes.cfg file in the sqllib directory is not in the valid port range defined for your DB2 instance id in the services file (/etc/services on UNIX-based systems).

Reason:

配置的端口问题

node 设置, cat sqllib/db2nodes.cfg

0 ivan.ibm.com 0
1 ivan.ibm.com 1
2 ivan.ibm.com 2
3 ivan.ibm.com 3
4 ivan.ibm.com 4
5 bela.ibm.com 0

端口设置, cat /etc/services

DB2_db2inst1    60004/tcp
DB2_db2inst1_1    60005/tcp
DB2_db2inst1_2    60006/tcp
DB2_db2inst1_END    60007/tcp

在当前server 上设置了5 个node, 但是实际上端口设置了4个 所以报错

问题二:DPF 启动时,报SQL5043N  错误

[db2inst1@ivan ~]$ db2start
10/11/2016 16:58:11     1   0   SQL1063N  DB2START processing was successful.
10/11/2016 16:58:11     3   0   SQL1063N  DB2START processing was successful.
10/11/2016 16:58:18     0   0   SQL5043N  Support for one or more communications protocols specified in the DB2COMM environment variable failed to start successfully. However, core database manager functionality started successfully.
10/11/2016 16:58:19     2   0   SQL5043N  Support for one or more communications protocols specified in the DB2COMM environment variable failed to start successfully. However, core database manager functionality started successfully.
SQL1063N  DB2START processing was successful.

[db2inst1@ivan ~]$ cat sqllib/db2nodes.cfg
0 ivan.ibm.com 0
1 ivan.ibm.com 1
2 bela.ibm.com 0
3 bela.ibm.com 1

DB2_db2inst1    60004/tcp
DB2_db2inst1_1    60005/tcp
DB2_db2inst1_2    60006/tcp
DB2_db2inst1_3  60007/tcp
DB2_db2inst1_END    60008/tcp

查看了 svcename 的设置 DB2_db2inst1. 该端口用于分区的实例端口,而svcename 主要是FCM端口,用于分区管理的。
添加了一个特别的端口
DB2_FCM         50000/tcp

并设置svcename 为DB2_FCM

[db2inst1@ivan ~]$ netstat -na | grep -i 500
tcp        0      0 0.0.0.0:50000               0.0.0.0:*                   LISTEN

[db2inst1@ivan ~]$ netstat -na | grep -i 600
tcp        0      0 192.168.24.129:60004        0.0.0.0:*                   LISTEN      
tcp        0      0 192.168.24.129:60005        0.0.0.0:*                   LISTEN

[root@bela ~]# netstat -na | grep -i 600
tcp        0      0 192.168.24.130:60004        0.0.0.0:*                   LISTEN      
tcp        0      0 192.168.24.130:60005        0.0.0.0:*                   LISTEN

最新文章

  1. java中文乱码解决之道(四)-----java编码转换过程
  2. [课程设计]Scrum 1. 8多鱼点餐系统开发进度(完善整个订餐页面工作)
  3. 一些正则验证-JS
  4. UVa 11752 (素数筛选 快速幂) The Super Powers
  5. APACHE如何里一个站点绑定多个域名?用ServerAlias
  6. 分布式助手Zookeeper(一)
  7. 1011. A+B和C
  8. Ubuntu-升级linux软件源,安装vim/五笔
  9. HTTP请求响应机制与响应状态码
  10. codeforces 893A Chess For Three 模拟
  11. js和jquery设置disabled属性为true使按钮失效
  12. python 检测nginx状态,若无法访问发邮件通知
  13. Mybatis 系列2
  14. Java中Sax解析XML
  15. udp_server函数
  16. jpa实例
  17. DDMS调试信息
  18. MySQL事务一致性理解
  19. PowerDesigner16工具学习笔记-创建RQM
  20. 【OCP-12c】2019年CUUG OCP 071考试题库(74题)

热门文章

  1. 基于etcd插件的CoreDNS动态域名添加
  2. Oracle学习笔记(十三)
  3. jquery.fn.extend() 与 $.jquery 作用及区别
  4. Word2007发布博客
  5. Linux中许多常用命令是必须掌握的,这里将我学linux入门时学的一些常用的基本命令分享给大家一下,希望可以帮助你们。
  6. 23 DesignPatterns学习笔记:C++语言实现
  7. Give $20/month and provide 480 hours of free education
  8. Mysql错误: ERROR 1205: Lock wait timeout exceeded try restarting transaction解决办法
  9. PyQt4 QListWidget 使用教程
  10. unity 移动物体的方式