I had a crash on my w2k machine. I installed w2k in a new directory.
Then I installed DB2 V8.1 in the same directory as before. Now DB2 is
not able to start. It tells me that the environment is inconsistent,
because the instance is not valid. DB2INSTANCE is DB2, and the old
instance is e:\db2. DB2 is installed on drive E:, too.
What can I do to get the old data (no, I don't have a backup of all
data, only of the most important table).
Regards,
--
Burkhard Schultheis
Tele Data Electronic, Wagnerstr. 10, D-76448 Durmersheim
Email: sc********@tde-online.de
Phone: +49-7245-9287-21, Fax: +49-7245-9287-30 3 2305
Burkhard,
The e:\db2 is your database path.
When I had this type of problem, I was able to drop the DB2 instance
(db2idrop db2) and then create it again (db2icrt db2).
Dropping the instance does not affect any databases under the instance.
However, you will have to catalog the database entry again after you
re-create the DB2 instance: db2 catalog database xxxxx as yyyyyy on e:
"Burkhard Schultheis" <sc********@tde-online.de> wrote in message
news:bv************@ID-100086.news.uni-berlin.de... I had a crash on my w2k machine. I installed w2k in a new directory. Then I installed DB2 V8.1 in the same directory as before. Now DB2 is not able to start. It tells me that the environment is inconsistent, because the instance is not valid. DB2INSTANCE is DB2, and the old instance is e:\db2. DB2 is installed on drive E:, too.
What can I do to get the old data (no, I don't have a backup of all data, only of the most important table).
Regards, -- Burkhard Schultheis Tele Data Electronic, Wagnerstr. 10, D-76448 Durmersheim Email: sc********@tde-online.de Phone: +49-7245-9287-21, Fax: +49-7245-9287-30
change diaglevel to 4
try to restart DB2
see db2diag.log
DB2 LIST DATABASE DIRECTORY [ON drive]
(e: in your case, you should see the db's that were there before.)
check
DBM CFG dftdbpath
those could help
re-catalog nodes
re-catalog databases
PM
"Burkhard Schultheis" <sc********@tde-online.de> a écrit dans le message de
news:bv************@ID-100086.news.uni-berlin.de... I had a crash on my w2k machine. I installed w2k in a new directory. Then I installed DB2 V8.1 in the same directory as before. Now DB2 is not able to start. It tells me that the environment is inconsistent, because the instance is not valid. DB2INSTANCE is DB2, and the old instance is e:\db2. DB2 is installed on drive E:, too.
What can I do to get the old data (no, I don't have a backup of all data, only of the most important table).
Regards, -- Burkhard Schultheis Tele Data Electronic, Wagnerstr. 10, D-76448 Durmersheim Email: sc********@tde-online.de Phone: +49-7245-9287-21, Fax: +49-7245-9287-30
Burkhard Schultheis schrieb: I had a crash on my w2k machine. I installed w2k in a new directory. Then I installed DB2 V8.1 in the same directory as before. Now DB2 is not able to start. It tells me that the environment is inconsistent, because the instance is not valid. DB2INSTANCE is DB2, and the old instance is e:\db2. DB2 is installed on drive E:, too.
What can I do to get the old data (no, I don't have a backup of all data, only of the most important table).
After some thinking overnight I solved the problem like I did it on AIX
some times ago: I deinstalled DB2, renamed DB2 to DB2.old, installed DB2
with all fixpaks, created the sample database (that created the instance
DB2), created an empty database with the correct name, dropped the
sample database, stopped db2, renamed DB2.old to DB2, started DB2, and
all was OK.
Then I made an offline backup :-)
Regards,
--
Burkhard Schultheis
Tele Data Electronic, Wagnerstr. 10, D-76448 Durmersheim
Email: sc********@tde-online.de
Phone: +49-7245-9287-21, Fax: +49-7245-9287-30 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jason Tesser |
last post by:
We are evaluating Postgres and would like some input about disaster recovery. I know in MsSQL they have a feature called transactional
logs that would enable a database to be put back together...
|
by: Raquel |
last post by:
During a ROLLFORWARD recovery, are the log datasets copied from the
archive log directory to the active log directory? I know the log datasets
are copied from archive log directory to active log...
|
by: Neil Truby |
last post by:
There's something clearly missing in my understanding of recovery:
I set up a small sample datavase and deleted all the rows from a table.
Crucially, I omitted the "commit". I then shut down...
|
by: xixi |
last post by:
i have db2 udb v8.1 on windows 64 bit 2003 server, after db2 server
start , i found this in the db2diag.log, is this error?
2004-05-05-15.28.30.780000 Instance:DB2 Node:000...
|
by: jignesh shah |
last post by:
Hi all,
Is there a way to recover a single container if its been corrupted or
mark bad without restoring whole tablespace?
environment: db28.1/aix5.1/tsm/rs-6000.
Regards
Jignesh
|
by: NG |
last post by:
Hi,
We are having DB2-V7.2 DB on AIX 5.2 machine. Recently we upgraded our
system to fixpack 13 and activated activate AIX asynchronous IO
function.
Our DB is going to crash recovery with...
|
by: Ron St-Pierre |
last post by:
We're developing a java app and are using postgres as the database. On
our dev server I started the app, closed it, but the java process was
still open so I killed it, which caused the above error....
|
by: Michel Esber |
last post by:
Hello,
Linux V8 FP12 with a 64 bit instance.
My DBA called me and said our instance crashed and recovery would never
end.
$ db2 list utilities show detail
ID ...
|
by: Racerx |
last post by:
Hi All :
I use db2 8.1 fixpack 3 on AIX.
I recieved the following message in the diaglog
======================================================
ADM7513W Database manager has started.
...
|
by: John Wright |
last post by:
I want to create an autosave and crash recovery module for my program. I
imagine I would have to use a timer control on the form to call the autosave
functionality but I need a starting point. I...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |