473,583 Members | 4,428 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 7552
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
4606
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 now have a problem with operations involving text indexes. For example, when We try to update an index, we get the error message "CTE0190 Executable program "cteadmsv" could not be started." We...
6
26438
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 get these error: SQL10007N Message "-1390" could not be retrieved. Reason code: "6". Where is the problem?
2
3735
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 answer) . Small recap : My db2 is a 7.x with a redhat Linux 6.2 . My errors : 2005-07-11-07.40.20.316547 Instance:db2inst1 Node:000
2
16343
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 database is running on a trail version on Linux and client (administration client) installed on Windows. #_____________________________________________________________________ Protocol...
2
4176
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 other details. db2diag.log has a series of error messages, starting with following message - 2006-01-07-14.24.57.173819-300 I4955C325 LEVEL: Error PID : 34928 TID : 1 ...
9
13297
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 exception SQL1337N The service "db2inst1" was not found. I checked the /etc/services file also, it has entry in it. Any idea how to resolve this?
2
5691
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 SQL" by Knut Stolze: http://tinyurl.com/3bhrnn I've managed to compile and link the C code from "Listing 5", the regexpSimple() wrapper (see link). The build options are pretty much
2
10624
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 SQL1092N "EMOB" does not have the authority to perform the requested command. $ grep emob /etc/passwd emob:x:500:101:Emob User:/home/emob:/bin/bash $ grep -e "^d" /etc/group
1
6479
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)) Appid:none drda_as sqljp_ddm_dict_search Pdrobe:413 Error DIA5000C A DRDA as Token "RECOVERABLE" was detected. The diagnostic data returned is (SRVDGN) : FUNCTION ID = 0144 , PROBE POINT = 0413,...
0
7894
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7825
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8323
jinu1996
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...
0
8191
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5372
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...
0
3816
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...
1
2331
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
1
1431
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.