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 2320
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********@t de-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********@t de-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 based off those logs. Does Postgres do anything like this? I saw in the documentation
transactional logging but I don't know if it is the same. Where can I find info about disaster recovery in Postgres. Thank you in advance
for any info given.
...
|
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 directory during a
ROLLBACK (for example in a crash recovery), but was wondering if it is
the same during a ROLLFORWARD recovery too.
TIA
Raquel.
|
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 db2, and copied
everything under the db2inst1/db2inst1/NODE0000 directory to another server.
When I restarted db2 on the first server the rows were still missing.
But on the second server they were still there :-(
I repeated the exercise several...
|
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
PID:1692(db2syscs.exe) TID:2860 Appid:AC10040A.GD5F.00FC56D8BEC5
base sys utilities sqledint Probe:30
Crash Recovery is needed.
2004-05-05-15.28.31.890000 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 this error 0xFFFFF707.
I have attached the related details. Any suggestions is much
appreciated.
|
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. I've had to do
this in the past but have not had this happen before. I've searched the
archives and found a message/reply from Andrew Sullivan about this which
implies that it may be more a file system problem. We're using
postgresql 7.4.1 on a...
|
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 = 1
|
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.
2007-01-13-18.55.08.262174 Instance:db2inst1 Node:000
PID:467078(db2agent (mumar) 0) TID:1
Appid:GA010302.O03F.01101B9A3444
base sys utilities sqledint Probe:30
|
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 would like it similiar to the
functionality in word when a PC goes offline (power failure, etc) it will
ask to recover open files, I would like to have this same functionality.
Does anyone have any suggestions or point me in the right direction?...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |