473,382 Members | 1,717 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,382 software developers and data experts.

Recovering from a failed installation

Wanting to look at V9, I attempted to install Db2 Express-C on a Suse Linux
box I use as a sandbox. Since I was less that thorough when removing
previous installations of V8 and V7, the installation failed creating the
admin server. I now have a phantom instance that I can't access or drop so
the de_install fails but the installation is essentially useless. Is there
a reasonable way to remove all traces of V9 so that I can start over?

--
Will Honea
May 9 '07 #1
4 3433
aj
Just a guess:

use rpm -e against all rpm -qa | grep db2 entries ??

HTH

aj

Will Honea wrote:
Wanting to look at V9, I attempted to install Db2 Express-C on a Suse Linux
box I use as a sandbox. Since I was less that thorough when removing
previous installations of V8 and V7, the installation failed creating the
admin server. I now have a phantom instance that I can't access or drop so
the de_install fails but the installation is essentially useless. Is there
a reasonable way to remove all traces of V9 so that I can start over?
May 10 '07 #2
aj wrote:

Being an engineer and mechanic as well a a programmer stuck with evaluating
this stuff, I did resort to the BMFH approach. Worked - but on three boxes
I'm getting the same result. At least now I can see the pattern and
problem: creation of the admin instance is failing. Really strange - the
control center opens and is apparently functional - I can add and make full
use of the client side functions.

Strange part is that while the Control Center refuses to acknowledge the
existence of the local instance (db2inst1 - I'm sticking the the strictly
default installation until I sort this out), a command line db2 session not
only recognizes it, it allows access to the toolsdb database created by the
installation, is happy to create the sample database, and merrily runs the
scripts to migrate existing V7.2 databases. The main object of all this
messing around is to get off the OS/2 V7.2 server we have without cutting
off several OS/2 clients we can't change for a while.

I have all the logs, so now it's time to track down just what the error was
during installation and see what has to be done to fix it. It appears to
be a problem with groups and permissions while creating the admin instance.
At least, this gives me something interesting to do for a few days <g>.

FYI, the installation is wierd - no rpms show up. Brute force purging of
files as root, a long scan for references to db2 and db2inst1 and any
reference to the db2??? users and groups seems to finally clean up the
mess. Much different installation process than what I've seen with V7 or
V8.
Just a guess:

use rpm -e against all rpm -qa | grep db2 entries ??

HTH

aj

Will Honea wrote:
>Wanting to look at V9, I attempted to install Db2 Express-C on a Suse
Linux
box I use as a sandbox. Since I was less that thorough when removing
previous installations of V8 and V7, the installation failed creating the
admin server. I now have a phantom instance that I can't access or drop
so
the de_install fails but the installation is essentially useless. Is
there a reasonable way to remove all traces of V9 so that I can start
over?
--
Will Honea
May 10 '07 #3
Will Honea wrote:
Wanting to look at V9, I attempted to install Db2 Express-C on a Suse
Linux
box I use as a sandbox. Since I was less that thorough when removing
previous installations of V8 and V7, the installation failed creating the
admin server. I now have a phantom instance that I can't access or drop
so
the de_install fails but the installation is essentially useless. Is
there a reasonable way to remove all traces of V9 so that I can start
over?
Ideally, prior to uninstalling, you'd run "DB2DIR/bin/db2greg -clean" where
DB2DIR is wherever you've installed DB2 v9. This should clean up any
non-existing instances/das from the global registry. If you have already
toasted v9, and don't have v8 installed, either, don't worry, we can do
that later. (In fact, we can work around it altogether, but we won't get
into that until the bottom of this post.)

If you manage to clean up, you should be good to go. If not, next time you
install, ignore the das errors, and run the above clean command. Then das
creation should go through cleanly when you run "DB2DIR/bin/dascrt -u
[user]"
I have all the logs, so now it's time to track down just what the error
was during installation and see what has to be done to fix it.
Well, don't hold us in suspense! ;-)
FYI, the installation is wierd - no rpms show up. *
You didn't read the What's New documentation for v9, eh? :-)
http://publib.boulder.ibm.com/infoce...c/c0023235.htm

Following the links gets this summary:
http://publib.boulder.ibm.com/infoce...c/c0023236.htm
Brute force purging of files as root,
That works ... (unlike v8 where it leaves the RPM database in a confused
state)
a long scan for references to db2 and db2inst1 and any
reference to the db2??? users and groups seems to finally clean up the
mess. Much different installation process than what I've seen with V7 or
V8.
Yes, as the above links show, DB2 moved off RPM to allow you to install
anywhere, with multiple copies at any fixpack level you want, with all
products, not just ESE.

The one place you may be missing is /var/db2/global.reg - if you have no v8
or v9 products installed at all, you can simply delete the file rather than
cleaning it up. If you do have v8 or v9 installed and you don't want to
kill them, you'll have to use their bin/db2greg to clean it up.

May 11 '07 #4
Darin McBride wrote:
Yes, as the above links show, DB2 moved off RPM to allow you to install
anywhere, with multiple copies at any fixpack level you want, with all
products, not just ESE.

The one place you may be missing is /var/db2/global.reg - if you have no
v8 or v9 products installed at all, you can simply delete the file rather
than cleaning it up. Â*If you do have v8 or v9 installed and you don't want
to kill them, you'll have to use their bin/db2greg to clean it up.
That global.reg file was the key, far as I can tell. Comparing the logs and
history files between a newly installed OS and the failing ones got me down
to the point of failure coming when creation of the admin instance
attempted to manipulate the group id of the DASADMIN which appears in the
file with modifiers for both V8 and V9 - even after cleanly uninstalling
V8. The version 8 install also crashed with the exact same error history
after a failed V9 install.

I was looking for procedural differences and saw the reference to the
changed install - that's what triggered the brute force effort.

Off and running now. It appears that I have adequate interoperability all
the way across from OS/2 7.2 - both server and clients - to 9.1 LUW as long
as I stick to the command line and avoid the jdbc layer. Good enough for
now.

Thanks for the tip.

--
Will Honea
May 11 '07 #5

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

Similar topics

0
by: Sven Hilmahr | last post by:
Hello, I tried to do a Python 2.3.4 framework installation on my Mac OS X 10.3.5. I configured as described in /Mac/OSX/ReadMe: ../configure --enable-framework But on make test, one test...
0
by: Axel Kowald | last post by:
Hi everybody, by a stupid mistake I deleted some important files for my .NET 2002 installation that I had on a w2k machine. So I de-installed VisualStudio.NET completely and tried to re-install...
0
by: pcgxk | last post by:
Due to some bugs in .NET SP1 which we are currently review with MS under separate cover, I am having to regress the patching levels of several of my desktops to rebuild and retest several versions...
11
by: MLH | last post by:
I don't know how it happened. I have hundreds of hours worth of work invested in a file I foolishly named DB9.mdb. I was intending on renaming the file soon. But I neglected to do so before...
8
by: | last post by:
Wel, I am rebuilding the VC# 2002 project that I have deployment problems with the 2003 version, hoping this solves the problems, but now I encounter this wierd bug??? If I have the project, and...
5
by: Matthew Louden | last post by:
I wrote ASP.NET application that access SQL Server database. When I run the application, it yields "Login failed for user '<COMPUTER_NAME>\ASPNET'" error message. I then did the following, but...
0
by: Nicolas Noakes | last post by:
Hello, I posted this 2005-01-16 in microsoft.public.sqlserver.setup, but have had no replies yet... We are running SBS 2003 Standard Edition with SP1, and WSUS (Windows Server Update...
4
by: Amber | last post by:
The installer tells it faild to config db2inst1, the db2setup.err is as following: /usr/share/themes/Clearlooks/gtk-2.0/gtkrc:60: Engine "clearlooks" is unsupporte d, ignoring Jun 15, 2007...
2
by: Don Li | last post by:
Info: the machine's OS is XP Professional with SP2 sql server 2000 developer's edition installed and running a bit of 'history' last night I first tried to install sql server 2005 express but...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.