Linux install of Db2 UDB 
Author Message
 Linux install of Db2 UDB

Hello,

I am trying to install DB2 UDB for Linux, and am having some
condsiderable difficulty.

I receive the following when I try to do the db2_install proc from the
CD.

I have a copy of ksh (kshell) in the /bin directory, and have copied
it almost everywhere I can think of in trying to resolve this problem.
 HEEEEELP!!!!!

:)

What am I doing wrong?  I need to have this up as soon as possible.
If you respond, please copy my on email, as Google takes for EVER in
posting the replies.  :)


(Mairhtin O'Feannag)


Specify one or more of the following keywords, \nseparated by spaces,
to install DB2 products.\n

DB2.ENTP - DB2 UDB Enterprise Edition
DB2.CENT - DB2 UDB Connect Enterprise Edition
DB2.SDK - Application Development Client
DB2.CAE - Administration Client
Enter "help" to redisplay product names, enter "quit" to exit.
***********************************************************
DB2.ENTP
Installing ./db2/db2cliv71-7.1.0-0.i386.rpm ...
error: failed dependencies:
        /bin/ksh is needed by db2cliv71-7.1.0-0
Installing ./db2/db2cucs71-7.1.0-0.i386.rpm ...
error: failed dependencies:
        db2cliv71 >= 7.1.0-0 is needed by db2cucs71-7.1.0-0
        /bin/ksh is needed by db2cucs71-7.1.0-0



Sat, 31 Jul 2004 14:23:42 GMT
 Linux install of Db2 UDB

are you actually running the install script from within ksh shell though ???

ksh is not the default on linux, before you run db2_install make sure you
just
type

#ksh
#./db2_install



Sat, 31 Jul 2004 18:01:02 GMT
 Linux install of Db2 UDB
<posted & mailed>

Quote:

> Hello,

> I am trying to install DB2 UDB for Linux, and am having some
> condsiderable difficulty.

> I receive the following when I try to do the db2_install proc from the
> CD.

> I have a copy of ksh (kshell) in the /bin directory, and have copied
> it almost everywhere I can think of in trying to resolve this problem.
>  HEEEEELP!!!!!

How did you install ksh?  I've not been able to figure out how to get
RPM to notice /bin/ksh unless it is physically installed via RPM.  Grab
the pdksh RPM and install that.
Quote:
> :)

> What am I doing wrong?  I need to have this up as soon as possible.
> If you respond, please copy my on email, as Google takes for EVER in
> posting the replies.  :)


> (Mairhtin O'Feannag)



Sat, 31 Jul 2004 20:00:53 GMT
 Linux install of Db2 UDB

Quote:

> <posted & mailed>


> > Hello,

> > I am trying to install DB2 UDB for Linux, and am having some
> > condsiderable difficulty.

> > I receive the following when I try to do the db2_install proc from the
> > CD.

> > I have a copy of ksh (kshell) in the /bin directory, and have copied
> > it almost everywhere I can think of in trying to resolve this problem.
> >  HEEEEELP!!!!!

> How did you install ksh?  I've not been able to figure out how to get
> RPM to notice /bin/ksh unless it is physically installed via RPM.  Grab
> the pdksh RPM and install that.

I didn't install ksh.  That may be the problem!  I was under the
impression that it came installed.  My bad!

How do I "grab the pdksh RPM" ??

I'm really quite new to Linux, so I thought it might be as easy as
Solaris or AIX, but I guess that's not the case.  I'm not above
learning, but I need SOME direction! :)

When I do a :  kshell ./db2_install    ... it appears to launch
something, but I get no console output.  BLEAH!  I had three processes
running this morning that identified themselves as db2_install, but I
dont' recall firing them off last night.  I *DID*, howerver, have
three glasses of wine with dinner, so that may have been it.

M

- Show quoted text -

Quote:

> > :)

> > What am I doing wrong?  I need to have this up as soon as possible.
> > If you respond, please copy my on email, as Google takes for EVER in
> > posting the replies.  :)


> > (Mairhtin O'Feannag)



Sat, 31 Jul 2004 22:58:32 GMT
 Linux install of Db2 UDB
Mairhtin,

Some things -

1) Which version (distribution) or Linux are you running.  That will
determine where you should get the pdksh RPM package.  For example if it
is Red Hat then you'd get it from the Red Hat FTP site.  The RPM package
will be called something like -

pdksh-5.2.14-3.i386.rpm  (that's the one on Red Hat 7.2)

You should also find it on your distribution CD.

To install it you should run -

rpm -Uvh package-name

2) You said you ran db2_install.  You should actually have run ./db2setup
for the install to work properly.

3) As well as the Korn shell the other thing that DB2 needs to be on the
machine are the ncurses packages.

If you need any help and can give me an ssh access to your box (or can
phone and let me talk you through the process) then drop me an email.
I've installed DB2 more times than I care to remember, so I should be
able to do it with my eyes shut !!!

Phil Nelson
ScotDB Limited

Quote:



>> <posted & mailed>


>> > Hello,

>> > I am trying to install DB2 UDB for Linux, and am having some
>> > condsiderable difficulty.

>> > I receive the following when I try to do the db2_install proc from
>> > the CD.

>> > I have a copy of ksh (kshell) in the /bin directory, and have copied
>> > it almost everywhere I can think of in trying to resolve this
>> > problem.
>> >  HEEEEELP!!!!!

>> How did you install ksh?  I've not been able to figure out how to get
>> RPM to notice /bin/ksh unless it is physically installed via RPM.  Grab
>> the pdksh RPM and install that.

> I didn't install ksh.  That may be the problem!  I was under the
> impression that it came installed.  My bad!

> How do I "grab the pdksh RPM" ??

> I'm really quite new to Linux, so I thought it might be as easy as
> Solaris or AIX, but I guess that's not the case.  I'm not above
> learning, but I need SOME direction! :)

> When I do a :  kshell ./db2_install    ... it appears to launch
> something, but I get no console output.  BLEAH!  I had three processes
> running this morning that identified themselves as db2_install, but I
> dont' recall firing them off last night.  I *DID*, howerver, have three
> glasses of wine with dinner, so that may have been it.

> M

>> > :)

>> > What am I doing wrong?  I need to have this up as soon as possible.
>> > If you respond, please copy my on email, as Google takes for EVER in
>> > posting the replies.  :)


>> > (Mairhtin O'Feannag)



Sun, 01 Aug 2004 06:21:57 GMT
 Linux install of Db2 UDB

Quote:



>> <posted & mailed>


>> > Hello,

>> > I am trying to install DB2 UDB for Linux, and am having some
>> > condsiderable difficulty.

>> > I receive the following when I try to do the db2_install proc from the
>> > CD.

>> > I have a copy of ksh (kshell) in the /bin directory, and have copied
>> > it almost everywhere I can think of in trying to resolve this problem.
>> >  HEEEEELP!!!!!

>> How did you install ksh?  I've not been able to figure out how to get
>> RPM to notice /bin/ksh unless it is physically installed via RPM.  Grab
>> the pdksh RPM and install that.

> I didn't install ksh.  That may be the problem!  I was under the
> impression that it came installed.  My bad!

Depends on what you chose to install.  Note that ksh is not freely
available.  At least, not to the liking of the GNU community.  So they
wrote their own shell that added features to Bourne Shell: the Bourne
Again Shell (bash).  This has become the de facto standard shell for
Linux.

Later, someone seems to have written their own Korn Shell and placed it
in the public domain.  But it was too late for Linux ... so most
distributions don't bother putting ksh on your system automatically,
but they will do it if you ask.

Quote:
> How do I "grab the pdksh RPM" ??

Generally, it's on your Linux CD.  Sometimes it's not on the first
disk.  Mount your cd, and run "find /mnt/cdrom -name pdksh*rpm",
assuming your cd is mounted on /mnt/cdrom (a popular, but not
exclusive, choice).  If it comes back with nothing, try the next cd,
and the next (if there are more).  I believe it's usually on disk 1 or
2.

If not anywhere there, you can usually steal it from the RedHat site,
and that should work fine, too.

Quote:
> I'm really quite new to Linux, so I thought it might be as easy as
> Solaris or AIX, but I guess that's not the case.  I'm not above
> learning, but I need SOME direction! :)

> When I do a :  kshell ./db2_install    ... it appears to launch
> something, but I get no console output.  BLEAH!  I had three processes
> running this morning that identified themselves as db2_install, but I
> dont' recall firing them off last night.  I *DID*, howerver, have
> three glasses of wine with dinner, so that may have been it.

Just out of curiosity more than anything else, but why do you prefer
db2_install to db2setup?  While there's no doubt that we'll continue
supporting db2_install as long as we can, I want to see that should we
decide to move away from db2_install, we can still meet user
requirements.


Sun, 01 Aug 2004 10:11:04 GMT
 Linux install of Db2 UDB

Quote:

> 1) Which version (distribution) or Linux are you running.  That will
> determine where you should get the pdksh RPM package.  For example if it
> is Red Hat then you'd get it from the Red Hat FTP site.  The RPM package
> will be called something like -

> pdksh-5.2.14-3.i386.rpm  (that's the one on Red Hat 7.2)

> You should also find it on your distribution CD.

> To install it you should run -

> rpm -Uvh package-name

Or go to rpmfind.net or kornshell.com and get the real Korn shell!

Quote:
> 2) You said you ran db2_install.  You should actually have run ./db2setup
> for the install to work properly.

Just installed Linux DB2-7.1 PDE and all the fixpacks last night on
RHL7.2.  db2setup worked just fine and I had no problems.

Quote:
> 3) As well as the Korn shell the other thing that DB2 needs to be on the
> machine are the ncurses packages.

You can go to google.com and search on "db2 howto" and click on the
"I'm feeling lucky" button.  If your installing on RHL 7.2, then don't
bother loading the compat-libs-* and making a link to get a fake
ncurses4 as you are directed in the howto.  You can get the real thing
by installing the ncurses4-* package on the second disc.

--
Forte International, P.O. Box 1412, Ridgecrest, CA  93556-1412

President, CEO                             Fax: (760) 499-9152
My GPG fingerprint: C3AF 4BE9 BEA6 F1C2 B084  4A88 8851 E6C8 69E3 B00B



Tue, 24 Aug 2004 05:47:53 GMT
 
 [ 7 post ] 

 Relevant Pages 

1. DB2 UDB PE for Linux 7.2 install problems (segfaults)

2. DB2 Connect PE and DB2 UDB Workgroup on Linux

3. Error in Java Program, when it accesses DB2 UDB 7.2 from DB2 UDB 5.2 Client

4. DB2 UDB 7.2 and DB2 UDB for AS/400 V5R1

5. Problems with installation DB2 UDB 8.1 WE for Linux

6. Problems with installation DB2 UDB 8.1 WE for Linux

7. Segmentation Fault with db2 library in Red Hat Linux 7.3 with UDB 7.1 Enterprise

8. DB2 UDB PE Version 8.1 & Linux

9. DB2 UDB 7.2 and RedHat Linux

10. IBM DB2 UDB EEE for Linux

11. DB2 UDB/Linux Prefetch Behavior

12. DB2 UDB/Linux Deactivate DB Behavior


 
Powered by phpBB® Forum Software