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 > DB2- Connection disabled

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-04-12, 02:57
maniv.dk maniv.dk is offline
Registered User
 
Join Date: Jan 2012
Posts: 14
DB2- Connection disabled

Hi,
My objective is to do backup operation and i have done following steps.

1.db2cmd db2stop force
2.db2cmd db2start
3.db2cmd db2 backup db TestDB user db2admin using pa$$w0rd to "C:\"
after execurting this, the backup was completed successfully. But when i try to connect to my database for executing an query.... it throws an error,
"Connectioin is disabled"

Inner exception was : IsKeepAlive(Exception)

is any one has any idea on this ?

Last edited by maniv.dk; 01-04-12 at 04:05.
Reply With Quote
  #2 (permalink)  
Old 01-04-12, 03:02
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
do backup operation ..
you execute restore ??
probably the db is in rollforward pending
try to connect and you will see the message - execute rollforward..
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #3 (permalink)  
Old 01-04-12, 04:09
maniv.dk maniv.dk is offline
Registered User
 
Join Date: Jan 2012
Posts: 14
Quote:
Originally Posted by przytula_guy View Post
do backup operation ..
you execute restore ??
probably the db is in rollforward pending
try to connect and you will see the message - execute rollforward..
Sorry earlier when i pasted the code, i added restore comment. Now i have updated in the forum...
Reply With Quote
  #4 (permalink)  
Old 01-04-12, 04:24
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
can you do a local connect ? what is the message when doing local connect
maybe this is only a problem for remote connections ?
related to listener...tcpip..
try : start - db2cmd - db2 connect to xxx
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
Reply

Tags
db2 9.7

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