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 > DB2stop & DB2start problems

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-20-04, 05:12
RTC RTC is offline
Registered User
 
Join Date: Nov 2004
Posts: 1
Unhappy DB2stop & DB2start problems

Hello,

i'm from germany and my english is not very good. But I hope you will understand a little bit.

I have a problem with ja DB2 on Solaris.
We had a rollback for 2 days and i think the rollback was not rolledback well.
So we restart the machine. Now if i want to say "db2start" or "db2stop"
it says the "SQL1026N The database manager is already active." or "SQL1032N No start database manager command was issued. SQLSTATE=57019".
If i want to activate the database there happens nothing at the first time.
Then i killed 2 "db2sysc" and then i retry.
Then i become the message "SQL30081N A communication error has been detected. Communication protocol
being used: "*". Communication API being used: "*". Location where the error
was detected: "". Communication function detecting the error: "create_agent".
Protocol specific error code(s): "54", "*", "*". SQLSTATE=08001"

Has anyone a little tip what i should do?

I hope you understand what i mean. If not i wil try to explain better.

Thank You.

Greets

Rolf
Reply With Quote
  #2 (permalink)  
Old 11-20-04, 12:28
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
It would be good to know your OS and DB2 version... Also, have a look at your db2diag.log - there may be useful messages there.
Reply With Quote
  #3 (permalink)  
Old 11-20-04, 22:04
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Quote:
Originally Posted by RTC
Hello,

i'm from germany and my english is not very good. But I hope you will understand a little bit.

I have a problem with ja DB2 on Solaris.
We had a rollback for 2 days and i think the rollback was not rolledback well.
So we restart the machine. Now if i want to say "db2start" or "db2stop"
it says the "SQL1026N The database manager is already active." or "SQL1032N No start database manager command was issued. SQLSTATE=57019".
If i want to activate the database there happens nothing at the first time.
Then i killed 2 "db2sysc" and then i retry.
Then i become the message "SQL30081N A communication error has been detected. Communication protocol
being used: "*". Communication API being used: "*". Location where the error
was detected: "". Communication function detecting the error: "create_agent".
Protocol specific error code(s): "54", "*", "*". SQLSTATE=08001"

Has anyone a little tip what i should do?

I hope you understand what i mean. If not i wil try to explain better.

Thank You.

Greets

Rolf
Kill not such a great idea. Since you must be on unix or linux, there's a script in the IBM install directory, I think it's called ipclean or something like that... run it to clear up the shared memory and such.
__________________
--
Jonathan Petruk
DB2 Database Consultant
Reply With Quote
  #4 (permalink)  
Old 11-21-04, 09:24
chavadb2 chavadb2 is offline
Registered User
 
Join Date: Aug 2004
Posts: 138
try to do ipcs | grep instancename
if you see lot of message queues and shared memory segments clear them
using ipcrm -q queueid and ipcrm -m memorysegmentid

this should take care of it.
Reply With Quote
  #5 (permalink)  
Old 11-22-04, 13:26
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Quote:
Originally Posted by chavadb2
try to do ipcs | grep instancename
if you see lot of message queues and shared memory segments clear them
using ipcrm -q queueid and ipcrm -m memorysegmentid

this should take care of it.
FYI, that's what ipclean does. A lot easier, since you may have a lot of entries.
__________________
--
Jonathan Petruk
DB2 Database Consultant
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