472,353 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

ERROR:Could not switch current DB2INSTANCE to "db2inst1"

Help - Please! I am trying to run the V8 db2setup script *again* (maybe for
the third or fourth time) and it will not re-create the sqllib directory. It
always stops with this error: ERROR:Could not switch current DB2INSTANCE to
"db2inst1". The return code is "-2029059916".

Then it follows with : ERROR:DBI1122E Instance db2inst1 cannot be updated.
In between attempts we have uninstalled all DB2 products (using SMIT) - we
have killed off all DB2 processes - we have removed the old DAS and SQLLIB
directories - and I even ran a /usr/sbin/slibclean script. What could be
wrong? Is there something truely running that we can't see? How can I get a
clean environment to try the install again?

Nov 12 '05 #1
3 7298
Try removing /var/db2/v81. That may help.

Mike
stash wrote:
Help - Please! I am trying to run the V8 db2setup script *again* (maybe for the third or fourth time) and it will not re-create the sqllib directory. It always stops with this error: ERROR:Could not switch current DB2INSTANCE to "db2inst1". The return code is "-2029059916".

Then it follows with : ERROR:DBI1122E Instance db2inst1 cannot be updated.

In between attempts we have uninstalled all DB2 products (using SMIT) - we have killed off all DB2 processes - we have removed the old DAS and SQLLIB directories - and I even ran a /usr/sbin/slibclean script. What could be wrong? Is there something truely running that we can't see? How can I get a clean environment to try the install again?


Nov 12 '05 #2
you may also try removing the whole user accounts and group entries
from this machine. although not related to the above, but also remove
the port entries from the /etc/services file. logout and relogin may be
a good idea, just to make sure the environment has been re-initialised
properly. move/remove the old db2setup related log/lock files in /tmp
to some other location, so that fresh log/lock files are opened.
regards,
dotyet

Nov 12 '05 #3
After your steps above having killed al db2 processes have you run ipcs
command
eg ipcs | grep -i db2inst1
if there are and non directory ipcs keys use ipcrm to clean up.
Before removing DAS or sqllib directories use db2ilist , db2idrop
commands as appropriate.

Nov 12 '05 #4

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

Similar topics

3
by: Lars Haugseth | last post by:
Setup: SuSE Linux 8.2 running IBM DB2 v8.1 with Net Search Extender. We had to hard reset our server, and did a successfull crash recovery. We...
6
by: Wito | last post by:
hi, I want to backup database (db2, aix 5.1) using script. When I exec script logging to user db2inst1 then is everything ok, but from cron, I...
2
by: Andy K | last post by:
Hi everyone , I'm getting a small error with db2 . I have been looking for it on internet and found almost nothing (some webpage without any...
2
by: Madhu | last post by:
Hello All, I am getting the below error message when I am trying to connect from client to remote database server installed on Linux. DB2 UDB ESE...
2
by: P. Adhia | last post by:
Hello All, I am trying to redirect-restore a backup of a DB2 V6.x system (AIX 4.x) on DB2 V8.2 system (AIX 5.2). I get the above error with no...
9
by: ganesh4all | last post by:
Hi: I am trying to connect to DB with the following command db2 connect to <dbnameuser <usernameusing <password> It throws the following...
2
by: Serman D. | last post by:
Hi all, I'm trying to complete the samples from the excellent 2003 developerWorks article "Bringing the Power of Regular Expression Matching to...
2
by: MaxDraxyl | last post by:
Hi, I am installing DB2 Express-C on Fedora Core 6. Installation went smoothly, but I cannot create a database. $ db2 create database test...
1
by: matias.cornejo | last post by:
I was looking de db2diag.log (DB2 V7, AIX) and I have this error and It's creating every 5 minutes the file .000 PID:312050(db2agent (idle))...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

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.