Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2012
    Posts
    16

    Unanswered: 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 05:05.

  2. #2
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    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
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

  3. #3
    Join Date
    Jan 2012
    Posts
    16
    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...

  4. #4
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    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
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •