473,395 Members | 2,446 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,395 software developers and data experts.

AIX doesn't know DB2 is installed

I have a situation here : I have an AIX server with Db2 V8.2 ESE
FP13 installed and running multiple databases. When I tried to
install the FP14, the installer said DB2 not found. SMIT software
listing doesn't list DB2 either. I can see the /usr/opt/db2_08_01
directory and the instances start and database work without any
problem. It seems that AIX lost the DB2 entries on its repository
(whatever AIX equivalent is ).
How can I fix it ?

TIA

Roger

Sep 20 '07 #1
7 4267
Roger,
look at the DB2 install files like this:
file db2filename
and the output should looklike
db2filename: backup/restore format file
if it does not then most llikely DB2 was not installed via the
installp command.
what do I mean?
There are many programs that are packaged as gunzipped and tarred up
files.
If you uncompress and then un tar the files as an install then the ODM
nevers gets updated with the installed filesets.
Some people (not experienced AIX admins) just copy files and
subdirectories from other installed systems also
and this would not update the ODM.
AIX does not lose entries made in the LPP ODM repository unless the
files have been corrupted or
removed! you can run lslpp -l from commandline to see what filesetsare
installed. If this gives output then the
LPP ODM repository is not corrupt or missing. Also this repositry is
not a text file that can be easily added to it.

It would be better to double-check the install instructions to make
sure that you are installing it correctly.
If you are then contact DB2 support for the definitions that need to
be entered via the odmadd command

Hope that this helps

Sep 20 '07 #2
On Sep 20, 9:46 am, Roger <wondering...@gmail.comwrote:
I have a situation here : I have an AIX server with Db2 V8.2 ESE
FP13 installed and running multiple databases. When I tried to
install the FP14, the installer said DB2 not found. SMIT software
listing doesn't list DB2 either. I can see the /usr/opt/db2_08_01
directory and the instances start and database work without any
problem. It seems that AIX lost the DB2 entries on its repository
(whatever AIX equivalent is ).
How can I fix it ?

TIA

Roger
>From the command line, as root, run:
lslpp -l | grep -i db
or some other string, or leave off the grep. This will tell you if it
was indeed installed via installp.

However, software does not *have* to be installed via installp.
Someone could have copied the binaries.

Miles

Sep 20 '07 #3
aix
On Sep 20, 10:46 am, Roger <wondering...@gmail.comwrote:
I have a situation here : I have an AIX server with Db2 V8.2 ESE
FP13 installed and running multiple databases. When I tried to
install the FP14, the installer said DB2 not found. SMIT software
listing doesn't list DB2 either. I can see the /usr/opt/db2_08_01
directory and the instances start and database work without any
problem. It seems that AIX lost the DB2 entries on its repository
(whatever AIX equivalent is ).
How can I fix it ?

TIA

Roger
your best option at this point may be to go get the alternate install
filesets for the base level. this should let you (re)install db2 fp7
into /usr/opt/db2_08_FP7. from there, you can either get the alternate
install for fp14 and install them into /usr/opt/db2_08_FP14, or the
normal fixpack should let you, at that point, install the fixpack
into /usr/opt/db2_08_01.

either that, or get some additional downtime and completely reinstall
the original db2 filesets, then the fixpacks you want.

Sep 20 '07 #4
db2 was installed using db2install process, just like the other 20
servers we have. DB2 is completely functional too. When I do a lspp -l|
grep db2, it doesn't list anything. I also verfied the /usr/opt/
db2_08_01. all the files are there.

Is there a command to rebuild the ODM ?

Thanks
Sep 20 '07 #5
>Is there a command to rebuild the ODM ?

No ..

If no s/w updates have been installed since the last mksysb, then you
may be able to grab the accosicated ODM classes from the mksysb and
simply replace them, however, this would probably not be supported ..
your best option if it is really an issue to you would be to either re-
install db2 (just re-installing the binarys/lpps will not screw up any
of your instances if done properly), or restore your last mksysb that
did not have the issue.

HTH
Mark Taylor

Sep 21 '07 #6
Before you give up on whether the db2 installation is recorded in lpp,
you should
try one last command:

lslpp -w /complete/path/to/filename

and replace complete path to filename with the name of an executable
in your db2 installation. Make sure that you are referencing the
real
path and not path that is a link.

This should directly tell you if a file is owned by lpp.

But, as people have mentioned before, It is possible that something
else
has installed that file.

It may well be another problem.

A quick search on google leads me to the following text:
****************
The problem: After running the db2install.sh script, you get the
following errors:

../db2install.sh db2inst1 cyanea /tmp/wsam31/Installer-MS/scripts/db2
ksh: db2:
not found.

ksh: db2: not found.

Does this mean the script failed?

The reason: The script may have completed successfully, but the error
messages mean that the user does not have the correct information in
the ".profile". There needs to be a reference there that sources the
db2profile.
**********

Hope this helps
Casey

Sep 21 '07 #7
On Sep 21, 3:44 am, Mark Taylor <m...@talk21.comwrote:
Is there a command to rebuild the ODM ?

No ..

If no s/w updates have been installed since the last mksysb, then you
may be able to grab the accosicated ODM classes from the mksysb and
simply replace them, however, this would probably not be supported ..
your best option if it is really an issue to you would be to either re-
install db2 (just re-installing the binarys/lpps will not screw up any
of your instances if done properly), or restore your last mksysb that
did not have the issue.

HTH
Mark Taylor
thanks everybody for your input. I will reinstall the binary's
Sep 26 '07 #8

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

Similar topics

2
by: Dennis | last post by:
The setup: Windows XP Pro Python 2.3 GTK+ 2.2.1.2 and pyGTK 1.99.17 for Python 2.3 from http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ I've downloaded and installed per the instructions the...
149
by: Christopher Benson-Manica | last post by:
(Followups set to comp.std.c. Apologies if the crosspost is unwelcome.) strchr() is to strrchr() as strstr() is to strrstr(), but strrstr() isn't part of the standard. Why not? --...
8
by: Luminal | last post by:
Greetings Recently I've developed a C# application using an Access database. For this I use the Data.OleDb namespace. Now I have customer telling me that he can't use the application. The...
11
by: Brett | last post by:
I have an assembly on a shared LAN drive. On my developer machine, I give that assembly full trust from the .NET wizard. It works fine. I go to a user machine on the LAN, map to the shared...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
5
by: UJ | last post by:
I have a program that uses the Shockwave Flash Objects (ShockwaveFlashObjects) to display a SWF. Everything works fine. When IE7 is installed on the machine, suddenly we get an 'Invalid char line...
10
by: Sourcerer | last post by:
I wrote this very simple code in .NET VC++. I compiled it on my system, and tried to run it on my friend's computer (he doesn't have the compiler). We both have Windows XP Professional. I have .NET...
1
by: Kern | last post by:
I have done the download and install of KB946609 twice now and Windows Update still says it needs to be installed even though the Update History shows successful installation. However using IE7 on...
12
by: nik | last post by:
Hi, I've compiled my application on my vista machine, and it won't run at all on my xp machine. In the windows error report I get Exception code; 0xe0434f4d. I searched for that exception, but...
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:
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
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
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...
0
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...
0
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...
0
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,...

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.