免费注册 查看新帖 |

Chinaunix

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

RHEL5.5 V9.5 创建实例遇到以下问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-08-15 00:43 |只看该作者 |倒序浏览
[root@db2server instance]# ./db2icrt -a server -u db2fenc1 db2inst1
/home/ibm/db2/V9.5/instance/db2iutil: line 4700:  5175 Segmentation fault      ${DB2DIR?}/instance/db2isrv -addfcm -i ${INSTNAME?}

2011-08-15-00.26.46.866634-420 I1G1264            LEVEL: Event
PID     : 5559                 TID  : 3048789696  PROC : db2bp
INSTANCE: db2inst1             NODE : 000
FUNCTION: DB2 UDB, RAS/PD component, pdLogInternal, probe:120
START   : New Diagnostic Log file
DATA #1 : Build Level, 128 bytes
Instance "db2inst1" uses "32" bits and DB2 code release "SQL09050"
with level identifier "03010107".
Informational tokens are "DB2 v9.5.0.0", "s071001", "LINUXIA3295", Fix Pack "0".
DATA #2 : System Info, 436 bytes
System: Linux db2server 6 2 i686
CPU: total:2 online:2 Cores per socket:1 Threading degree per core:1
Physical Memory(MB): total:1011 free:682
Virtual  Memory(MB): total:3059 free:2730
Swap     Memory(MB): total:2048 free:2048
Kernel   Params: msgMaxMessageSize:65536 msgMsgMap:65536 msgMaxQueueIDs:16
                 msgNumberOfHeaders:65536 msgMaxQueueSize:65536
                 msgMaxSegmentSize:16 shmMax:4294967295 shmMin:1 shmIDs:4096
                 shmSegments:4096 semMap:32000 semIDs:128 semNum:32000
                 semUndo:32000 semNumPerID:250 semOps:32 semUndoSize:20
                 semMaxVal:32767 semAdjustOnExit:32767
Information in this record is only valid at the time when this file was
created (see this record's time stamp)

2011-08-15-00.26.46.852557-420 I1266G703          LEVEL: Severe
PID     : 5559                 TID  : 3048789696  PROC : db2bp
INSTANCE: db2inst1             NODE : 000
FUNCTION: DB2 UDB, base sys utilities, sqleInitApplicationEnvironment, probe:32
MESSAGE : ZRC=0xFFFFE871=-6031
DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
sqlcaid : SQLCA     sqlcabc: 136   sqlcode: -6031   sqlerrml: 4
sqlerrmc: 0 11
sqlerrp : SQLFRCFG
sqlerrd : (1) 0x00000000      (2) 0x00000000      (3) 0x00000000
           (4) 0x00000000      (5) 0x00000000      (6) 0x00000000
sqlwarn : (1)      (2)      (3)      (4)        (5)       (6)   
           (7)      (      (9)      (10)        (11)     
sqlstate:      

2011-08-15-00.26.46.897898-420 I1970G319          LEVEL: Severe
PID     : 5559                 TID  : 3048789696  PROC : db2bp
INSTANCE: db2inst1             NODE : 000
FUNCTION: DB2 UDB, command line process, clp_bp_main, probe:2
DATA #1 : Hexdump, 4 bytes
0xBFDB05F8 : 71E8 FFFF                                  q...

2011-08-15-00.27.46.859583-420 I2290G375          LEVEL: Error
PID     : 5557                 TID  : 12691136    PROC : db2
INSTANCE: db2inst1             NODE : 000
FUNCTION: DB2 UDB, command line process, clp_start_bp, probe:3
MESSAGE : CLP frontend unable to get REQUEST queue handle
DATA #1 : Hexdump, 4 bytes
0xBFDEB9F8 : 4200 0F87                                  B...
DBI1703E  No valid service name or port number found.

Explanation:

No valid service name or port number for this instance can be found in
the TCP/IP services file. This information is either missing or is
invalid.

If you installed "DB2 Extended Server Edition" product, a service name
must be specified for the instance before using this command.

User response:

Specify valid service name and port number for this instance and enter
this command again.




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

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.

我的服务是这样的,但不知道怎么指定服务名和端口号
[root@db2server instance]# cat /etc/services | grep db2
ibm-db2         523/tcp                         # IBM-DB2
ibm-db2         523/udp                         # IBM-DB2
questdb2-lnchr  5677/tcp                        # Quest Central DB2 Launchr
questdb2-lnchr  5677/udp                        # Quest Central DB2 Launchr

加上-p的参数是同样的问题
请问如何解决?

论坛徽章:
0
2 [报告]
发表于 2011-08-24 10:32 |只看该作者
先检查下5000这个端口有没有被占用,
cat /etc/services | grep 50000
如果没有被占用,用下面的命令创建实例:
./db2icrt -p 50000 -u db2fenc1 db2inst1
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP