免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6642 | 回复: 9
打印 上一主题 下一主题

db2实例无法创建,求助! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-04-23 18:32 |只看该作者 |倒序浏览
[root@localhost instance]# ./db2icrt -a server -u db2fenc1 db2inst1
DBI1281E The database manager configuration file could not be
          initialized.  

Explanation:

An error occurred when attempting to initialize the database
manager configuration file. A DB2 instance could not be created
or migrated.  

User Response:

Refer to the log file for problem determination. Resolve the
problem and try the command again. If the problem persists,
please contact IBM Support.  


DBI1079I Output is saved in the log file /tmp/db2icrt.log.11052.  

Explanation:

All processed and failed operations have been saved into this log
file.  

User Response:

Do not modify this file in any way. This file is for IBM
Technical Support reference.

[ 本帖最后由 caiyudong 于 2008-4-24 09:53 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2008-04-23 22:41 |只看该作者

回复 #1 caiyudong 的帖子

检查下主机名和相关的主机信息文件是否一致

论坛徽章:
0
3 [报告]
发表于 2008-04-23 22:54 |只看该作者
谢谢!!

论坛徽章:
0
4 [报告]
发表于 2008-04-24 08:36 |只看该作者
要看具体的log:
/tmp/db2icrt.log.11052.

论坛徽章:
0
5 [报告]
发表于 2008-04-24 09:39 |只看该作者
[root@localhost ~]# hostname
localhost.localdomain

[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

必须要改机器名称吗??

vi db2icrt.log.11052

       Program name = db2idbm
Instance home dir = /home/db2inst1,   Sysadm group = db2iadm1
Instance type = 1,  Auth type = server

SQL6048N  A communication error occurred during START or STOP DATABASE MANAGER
processing.
Update DBM cfg SYSADM_GROUP errcode = 8
DBI1281E The database manager configuration file could not be
          initialized.

Explanation:

An error occurred when attempting to initialize the database
manager configuration file. A DB2 instance could not be created
or migrated.

User Response:

Refer to the log file for problem determination. Resolve the
problem and try the command again. If the problem persists,
please contact IBM Support.


"db2icrt.log.11052" 36L, 950C                 

各位大哥 帮我看一下  跪谢!!

[ 本帖最后由 caiyudong 于 2008-4-24 09:41 编辑 ]

论坛徽章:
11
数据库技术版块每日发帖之星
日期:2016-06-25 06:20:00数据库技术版块每日发帖之星
日期:2016-06-24 06:20:00数据库技术版块每日发帖之星
日期:2016-05-03 06:20:00数据库技术版块每日发帖之星
日期:2016-04-21 06:20:00数据库技术版块每日发帖之星
日期:2016-01-23 06:20:00数据库技术版块每日发帖之星
日期:2015-12-03 06:20:00综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-19 06:20:00数据库技术版块每日发帖之星
日期:2015-08-20 06:20:002015年辞旧岁徽章
日期:2015-03-03 16:54:15数据库技术版块每日发帖之星
日期:2016-07-30 06:20:00
6 [报告]
发表于 2008-04-24 11:45 |只看该作者
创建实例
#/opt/ibm/db2/V9.1/instance/db2icrt -s ese -u db2fenc1 db2inst1

这个呢?

论坛徽章:
0
7 [报告]
发表于 2008-04-24 12:54 |只看该作者
SQL6048N,一项一项检查看看。

User Response:

Do the following:

o   Ensure that the node has the proper authorization defined in  
    the .rhosts or the host.equiv files.  

o   Ensure that the application is not using more than (500 +     
    (1995 - 2 * total_number_of_nodes)) file descriptors at the   
    same time.  

o   Ensure all the Enterprise Server Edition environment        
    variables are defined in the profile file.  

o   Ensure the profile file is written in the Korn Shell script  
    format.  

o   Ensure that all the host names defined in the db2nodes.cfg   
    file in the sqllib directory are defined on the network and   
    are running.  

o   Ensure that the DB2FCMCOMM registry variable is set  
    correctly.

论坛徽章:
0
8 [报告]
发表于 2008-05-04 23:05 |只看该作者
你看看是不是/home/db2inst1目录下已经有了sqllib这个文件夹了?在没有创建实例的情况下,/home/db2inst1下面不应该有sqllib文件夹。否则创建实例失败。

论坛徽章:
0
9 [报告]
发表于 2008-05-06 00:51 |只看该作者
what's the file name in /etc/hosts? usually it caused by the incorrect name in the hosts file

论坛徽章:
0
10 [报告]
发表于 2008-05-14 21:52 |只看该作者
以前遇过类似问题,/etc/hosts的问题吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP