OS error EEXIST was thrown when db2start was issued in a single node environment.

From:http://www-01.ibm.com/support/docview.wss?uid=swg21613865

Technote (FAQ)


Question

After db2start db2diag.log is reporting an OS error EEXIST.

2011-12-14-18.01.38.656079+120 E32782E328 LEVEL: Error (OS) 
PID : 26310 TID : 46912685380880PROC : db2star2 
INSTANCE: tamdbi02 NODE : 000 
FUNCTION: DB2 UDB, SQO Memory Management, sqloMemCreateSingleSegment, 
probe:100 
CALLED : OS, -, shmget OSERR: EEXIST (17) 

Cause

It means that a shared memory identifier exists for a key parameter.

Answer

DB2 is calling shmget when it is started, and that is when the EEXIST is returned by shmget indicating that shared memory exists at the time of the db2start.

That is a result of issuing db2start while the DB2 database server is already or still running. 

So maybe db2 was stopped not properly before (IPC ressources left), or started twice (i.e. through autostart and manual). 

To remove these messages, you can run the following: 

db2stop force 
ipclean -a 
db2start

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值