If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > db2start not working

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-01-10, 16:33
blazer789 blazer789 is offline
Registered User
 
Join Date: Jun 2009
Posts: 221
db2start not working

DB2 AIX WSE V9.5 FP2a

Database was not brought down and our AIX team member has rebooted the server. The server had two instances, after the server came up. We started instances. One of them started and another wouldn't start.

After issuing db2start, no error is seen in diag.log for 10 mins and after 10 mins, this error comes out

2010-07-01-16.15.02.343257-240 I300354A347 LEVEL: Warning
PID : 360612 TID : 1 PROC : db2bp
INSTANCE: teiemsnz NODE : 000
EDUID : 1
FUNCTION: DB2 UDB, Connection Manager, sqleUCappImpConnect, probe:150
MESSAGE : ZRC=0x81360012=-2127167470=SQLZ_RC_CMERR, SQLT_SQLJC
"External Comm error"



Any help would be appreciated.
Reply With Quote
  #2 (permalink)  
Old 07-01-10, 16:48
blazer789 blazer789 is offline
Registered User
 
Join Date: Jun 2009
Posts: 221
I tried doing ps/kill, ipcs/ipcrm, ipclean, db2nkill{as it is wse}, db2ftok [create new file] and even then instance wouldn't start. When I do ipcs -a | grep -i [instname] . I see these leftover messages which wouldn't go with ipcrm. Are those the one creating problem



m 1048576 0xffffffff D-rw-rw-rw- teiemsnz db2admqt teiemsnz db2admqt 1 140848008 577566 577566 14:41:11 14:50:46 14:41:35
m 3 0xffffffff D-rw------- teiemsnz db2admqt teiemsnz db2admqt 1 72548352 577566 577566 14:38:22 14:50:46 14:41:35
m 4 0xffffffff D-rw------- db2fenc1 db2fadm1 teiemsnz db2admqt 1 268435456 553026 553026 14:38:22 14:41:35 14:41:35
Reply With Quote
  #3 (permalink)  
Old 07-01-10, 17:15
blazer789 blazer789 is offline
Registered User
 
Join Date: Jun 2009
Posts: 221
Finally it started.

I did db2stop on the other instance of that server and killed all the processes of that instance and cleared all the db2 processes running on the box. After doing that, the above three messages disappeared and db2 started sucessfully. Not sure what caused it not to start.
Reply With Quote
  #4 (permalink)  
Old 07-02-10, 15:41
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Those three shared memory segments were defunct (D in the first position under mode column). From "man ipcs":

D
If the associated shared memory segment has been removed. It disappears when the last process attached to the segment
detaches it.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On