Depends upon whether you want to migrate the V8 databases or whether you
want to start fresh with V9.5. You probably won't be able to use the V8
databases if you don't migrate them ... unless you back them up and
restore them.
Your best bet is to consult the V9.5 Quick Beginnings for Servers Guide
for how to move from V8.1 to V9.5 and for info on the db2_install command.
Larry E.
> Hi,
> I have DB2 V8.1 running on solaris box but I wanted to install DB2
[quoted text clipped - 12 lines]
>
> Thanks.
> Hi,
> I have DB2 V8.1 running on solaris box but I wanted to install DB2
[quoted text clipped - 7 lines]
> ./db2_install: /../bin/db2usrinf: not found
> ./db2_install: test: argument expected
What happens if you run /usr/bin/pwd from that directory? Apparently,
that's failing, and the rest of the script just dies from there.
Note that "pwd" and "/usr/bin/pwd" are very different. "pwd" is the shell
built-in that uses the internal environment to the shell to print out the
current directory, but does not resolve symlinks, or touch the filesystem
in any way; "/usr/bin/pwd", as an external executable, can't access that
internal shell memory, and must touch the filesystem, and, in doing so,
resolves all symlinks to get the real path you're in. It's that
touch-the-filesystem stage that can confound /usr/bin/pwd.
> Also do I need to uncatalog database followed by instance drop and
> uninstall V9.1 before to start V9.5 installation?
No. Check the information center on "Migration" - it should go through the
steps required to move your data from your old version to your new version.
In fact, in order to migrate properly, you pretty much need to keep the old
version around until migration is complete.
(And are you moving from 8.1 or 9.1? :->)
Raj Kumar - 31 Jan 2008 01:42 GMT
On Jan 30, 4:37 pm, Darin McBride
<dmcbr...@naboo.to.org.no.spam.for.me> wrote:
> > Hi,
> > I have DB2 V8.1 running on solaris box but I wanted to install DB2
[quoted text clipped - 28 lines]
>
> (And are you moving from 8.1 or 9.1? :->)
Hi,
Currently I am using DB2 V9.1. Here is the output of
ketc01-dbiadm:/usr/bin/pwd
pwd: cannot determine current directory!
I cheked documentation of V9.5, in that they mentioned about Linux and
Windows but not UNIX. So I just wondering where I will find
documentation to installed on UNIX box.
Darin McBride - 31 Jan 2008 02:23 GMT
> On Jan 30, 4:37 pm, Darin McBride
> <dmcbr...@naboo.to.org.no.spam.for.me> wrote:
[quoted text clipped - 35 lines]
> ketc01-dbiadm:/usr/bin/pwd
> pwd: cannot determine current directory!
You'll have to get your system adminstrator to look into that.
If /usr/bin/pwd fails, I can't begin to imagine what else may be going
on ;-) If your SA can't figure it out, open a problem report with Sun -
this has nothing to do with DB2 at this point because /usr/bin/pwd is what
comes with Solaris, not DB2.
> I cheked documentation of V9.5, in that they mentioned about Linux and
> Windows but not UNIX. So I just wondering where I will find
> documentation to installed on UNIX box.
The documentation for Linux should be the same as Unix. You should paste in
URLs of what you're looking at so we can see what you're seeing ;-) e.g.,
http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/topic/com.ibm.db2.luw.qb.se
rver.doc/doc/t0006833.html
is the topic for db2_install with DB2 9.5 - and its title explicitly
says "Linux and UNIX". I'm not sure what topic you were looking at.