Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1042509
  • 博文数量: 239
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 3618
  • 用 户 组: 普通用户
  • 注册时间: 2012-11-12 13:17
文章分类

全部博文(239)

文章存档

2021年(1)

2016年(1)

2015年(30)

2014年(91)

2013年(116)

分类: LINUX

2013-08-06 19:07:08

问题描述:修改了redhat虚拟机hostname,db2 启动不了,报错SQL6048N A communication error occurred during START or STOP DATABASE MANAGE


解决思路:首先通过命令db2 ? SQL6048N查看错误代码具体解释,然后决定下一步怎么做
db2 ? SQL6048N
SQL6048N  A communication error occurred during START or STOP DATABASE
      MANAGER processing.


Explanation: 
A TCP/IP communication error occurred while the START or STOP DATABASE
MANAGER command was trying to establish connection with all the nodes
defined in the sqllib/db2nodes.cfg file including the new node you
attempted to add.


User response: 
Do the following: 
*  Ensure that the node has the proper authorization defined in the
   .rhosts or the host.equiv files.
*  Ensure that the application is not using more than (500 + (1995 - 2 *
   total_number_of_nodes)) file descriptors at the same time.
*  Ensure all the Enterprise Server Edition environment variables are
   defined in the profile file.
*  Ensure the profile file is written in the Korn Shell script format.
*  Ensure that all the host names defined in the db2nodes.cfg file in
   the sqllib directory are defined on the network and are running.
*  Ensure that the DB2FCMCOMM registry variable is set correctly.

解决方案:通过读取错误解释,发现db2 已经给出了6个建设性解决方案。结合实际情况,我是修改了hostname,那么应该选择第5种解决方案。Ensure that all the host names defined in the db2nodes.cfg file in
   the sqllib directory are defined on the network and are running.

提到了db2nodes.cfg文件中的指定hostname要正在运行。

 vi /db2data/db2inst1/sqllib/db2nodes.cfg
0 localhost.localdomain 0

这个文件中指定的hostname竟然还是修改前的hostname,问题原因应该在这里。果断修改为现在的hostname。

经测试,问题解决。

阅读(1950) | 评论(0) | 转发(0) |
0

上一篇:linux vi

下一篇:IHS转发单个WAS

给主人留下些什么吧!~~