473,385 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

cataloging database after unistalling -> installing db2

Hi all,
I uninstalled db2 without dropping old instance. I have one database which i
want to access again through new db2 i installed.
I opted for fresh db2 directory while installing instead keeping old
directory.
I created new instance during installation of db2 which is different from
old one.
I tried catalog database for old database from new instance but did not able
to access database

Is there any one who has similar problem, can help me?

Warm regards,
Jagdip Singh
Nov 12 '05 #1
2 2260
A relatively simple approach is:
1. Create another instance matching the old, not in use, instance name
2. Using tihs secondary instance; catalog the database
3. Back up the database
4. Restore the database backup to the "new" instance owner

Of couse, being a farsighted administrator; you DID backup the database
before uninstalling. You can skip steps 1-3 above and just do step 4
with your existing backup.

Directly cataloging the original database to a new instance owner is
difficult because:
1. The old database's location does not match the location that is used
for storing the new instance's databases.
2. Ownership of the databases physical datasets should also be an issue
especially on Unix-like systems.

Jagdip Singh wrote:
Hi all,
I uninstalled db2 without dropping old instance. I have one database which i
want to access again through new db2 i installed.
I opted for fresh db2 directory while installing instead keeping old
directory.
I created new instance during installation of db2 which is different from
old one.
I tried catalog database for old database from new instance but did not able
to access database

Is there any one who has similar problem, can help me?

Warm regards,
Jagdip Singh


Nov 12 '05 #2
Hi,
I created instance with same name as old as old instance was not existing

It is listening on same port where old instance was listening( I edited
/etc/services) file

I tried db2 list db directory on /usr/tsample as old database was created
there

I tried cataloging from new instance using catalog db tsample on
/usr/tsample

And tried connecting to tsample

It gave me error SQL5005C System Error.

I really do not know what it could be

Regards,

Jagdip

"Phil Sherman" <ps******@ameritech.net> wrote in message
news:<E5**********************@newssvr28.news.prod igy.com>...
A relatively simple approach is: 1. Create another instance matching the old, not in use, instance name 2. Using tihs secondary instance; catalog the database 3. Back up the database 4. Restore the database backup to the "new" instance owner Of couse, being a farsighted administrator; you DID backup the database before uninstalling. You can skip steps 1-3 above and just do step 4 with your existing backup. Directly cataloging the original database to a new instance owner is difficult because: 1. The old database's location does not match the location that is used for storing the new instance's databases. 2. Ownership of the databases physical datasets should also be an issue especially on Unix-like systems. Jagdip Singh wrote:
Hi all, I uninstalled db2 without dropping old instance. I have one database which i
want to access again through new db2 i installed. I opted for fresh db2 directory while installing instead keeping old directory. I created new instance during installation of db2 which is different from
old one. I tried catalog database for old database from new instance but did not able
to access database Is there any one who has similar problem, can help me? Warm regards, Jagdip Singh


Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Monica Roman | last post by:
Hello, Disclaimer: I'm a TOTAL rookie. I just went through unistalling Oracle to be able to install Discoverer, which was succesful. (Our in-house Oracle support person said that if I did the...
5
by: Pongthai | last post by:
Hi, I got a backup file from my friend which needs 11 GB to hold the transaction log. I tried to restore this database but an error message: "MODIFY FILE encountered operating system error...
5
by: Ricardo Silva | last post by:
I have a DB2 v8.1 FP4 instances that have been running fine on an AIX server for quite some time. I installed FP7a, but for some reason when I do a "db2 list db directory" on the server as the...
1
by: pintur | last post by:
The message is: SQL1036C Errore di I/O durante l' accesso al database. SQLSTATE=58030 what is the proble? what for restore tables? thanks
3
by: Michael S | last post by:
only my server get the report whitout the dialogue database login. I think it is where the database is localhost and the crystal report know not the connection string. how I can crystal reports...
2
by: Prisy | last post by:
While i save a record the database stores the character > as it's html equivalent which is >. But when i update that record it saves the character as > itself. Why would this happen? -- Thanks...
0
by: viepia | last post by:
Hi, My project writes records to a new SQL Server 2005 database with currently 18 tables. When I change the Database Diagram for my database I save the copy the list of changed tables to a...
0
by: GetgoodV | last post by:
Hi all, I wonder if anybody can help with a problem I have accessing (caaloging) databases on my network (drive V) I have installed DB2 V8 on Windows XP: -...
0
by: Massimiliano Campagnoli | last post by:
We are using an unsupported configuration: DB2 V7.2 WSE fixpak 14 for OS/2 WARP. Several database applications written in VisualAge C++ with Data Access Builder (DAX) We have discovered this...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.