473,686 Members | 2,291 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 7580
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
4609
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 have tried the following: - db2text stop/start
6
26469
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
3737
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
16356
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 specific error code(s): "10065", "*", "*". SQLSTATE=08001
2
4179
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 PROC : db2med.30074.0 0
9
13309
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
5706
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
10640
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
6488
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, REASON CODE = 0x0200000F, RETURN CODE 1 = 0x0000C200, RETURN CODE 2 = 0x00000000,
0
8585
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8517
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9057
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, 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...
0
8780
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7603
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6441
isladogs
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...
1
2947
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
2
2208
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1940
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.