By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,557 Members | 1,067 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,557 IT Pros & Developers. It's quick & easy.

db2v81 PE inst on gentoo(linux),amd64

P: n/a
as the title says: trying to install PE on gentoo (2.6.11-r7).
ends with : "Installing DB2 file sets:......Failure"

the error log file (/tmp/db2setup.err) is empty.

any clues what's going on there?

H.
Nov 12 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
Hi,

Hans Horn wrote:

any clues what's going on there?


1. gentoo is not officially supported
2. No clue so far. Guesses follow...
3. rpm installed? If not, do "emerge rpm"
4. install using db2_install
5. create instances by hand with db2icrt
6. To avoid the "tail -n"-Problem" with newer tail (and head)-Versions
set "EXPORT _POSIX2_VERSION=199209" instead of editing all tail or head
commands in the db2-scripts.
7. Good luck.

regards,

Norbert

PS:
I have not tried it on AMD64-gentoo yet. The above is from a previous
x86 install.

PPS: except the rpm binary installation, the above should work with most
Linux-Distributions.
Nov 12 '05 #2

P: n/a
Norbert,

Norbert Munkel wrote:
Hi,

Hans Horn wrote:

any clues what's going on there?
1. gentoo is not officially supported
2. No clue so far. Guesses follow...
3. rpm installed? If not, do "emerge rpm"


is installed
4. install using db2_install was using db2setup!
db2_install tells me that /bin/sh is missing!
of course, it's there (linked to /bin/bash)

used rpm -ivh --nodeps to get around that!

are there any links made by the install script, that I'd not get by just
using rpm?
5. create instances by hand with db2icrt of course, I've got no clue about what args I should give db2icrt!

6. To avoid the "tail -n"-Problem" with newer tail (and head)-Versions
set "EXPORT _POSIX2_VERSION=199209" instead of editing all tail or
head commands in the db2-scripts.
7. Good luck.

regards,

Norbert

PS:
I have not tried it on AMD64-gentoo yet. The above is from a previous
x86 install.

PPS: except the rpm binary installation, the above should work with
most Linux-Distributions.

Nov 12 '05 #3

P: n/a
Hi,

Hans Horn wrote:
4. install using db2_install
was using db2setup!


OK. So you made it half way through
db2_install tells me that /bin/sh is missing!
of course, it's there (linked to /bin/bash)
strange. Donīt remember that one..
used rpm -ivh --nodeps to get around that!
should work
are there any links made by the install script, that I'd not get by just
using rpm?


not that I am aware of. Symbolic links are only created during instance
creation.
5. create instances by hand with db2icrt


of course, I've got no clue about what args I should give db2icrt!


http://publib.boulder.ibm.com/infoce...help/index.jsp

search for db2icrt and you get all you want or start db2icrt without any
options and get online help.

example: instance-owner inst1, group adm1 , fenced user fenc1. group fadm1.
create users and groups as needed, then

db2icrt -w 32 -u fenc1 inst1

creates a 32bit instance "inst1"

"-w 64" would create a 64-bit instance..

regards,

Norbert

BTW: I found a pretty good site on the benefits of gentoo. Warning: Kind
of _explicit_: http://funroll-loops.org/

SCNR
Nov 12 '05 #4

P: n/a
Norbert,

is export _POSIX2_VERSION=199209
meant to make complaints about "tail/head '-1' option is obsolete..." go
away?

if yes, looks like this is not honored under gentoo!

in other words, it looks like as if I need to patch all db2 scripts -
bullshoot!

H.
Nov 12 '05 #5

P: n/a
Hans Horn wrote:
as the title says: trying to install PE on gentoo (2.6.11-r7).
ends with : "Installing DB2 file sets:......Failure"

the error log file (/tmp/db2setup.err) is empty.

any clues what's going on there?

H.


Hey.. I installed DB2 WS on a slackware machine. Also a non-rpm distro.
It was quite easy. rpm -ivh --force --nodeps *.rpm in the db2/linux dir.
Be sure also to install the IBM jre.
As root create an instance, put db2profile in user profile of the
instance user, and we have a running system. (Be sure to check whether
the starting of db2 alters the sysctl or not. If not, alter it manually).

The db2_install makes no symlinks or anything special. Just a nice slow
frontend to rpm.

-R-

Nov 12 '05 #6

P: n/a
Hi,

Hans Horn wrote:
Norbert,

is export _POSIX2_VERSION=199209
meant to make complaints about "tail/head '-1' option is obsolete..." go
away?
should.
if yes, looks like this is not honored under gentoo!
oops. I ran a gentoo distro months ago. I can not remember patching the
scripts and personally would not like it (think about next Fixpack
replacing the scripts...)
in other words, it looks like as if I need to patch all db2 scripts -
bullshoot!


Well. Good Luck.

Norbert

Nov 12 '05 #7

P: n/a


Norbert Munkel wrote:
Hi,

Hans Horn wrote:
Norbert,

is export _POSIX2_VERSION=199209
meant to make complaints about "tail/head '-1' option is obsolete..." go
away?


should.
if yes, looks like this is not honored under gentoo!


oops. I ran a gentoo distro months ago. I can not remember patching the
scripts and personally would not like it (think about next Fixpack
replacing the scripts...)
in other words, it looks like as if I need to patch all db2 scripts -
bullshoot!


Well. Good Luck.

Norbert


Next time, try the DB2 HOWTO at http://tldp.org/HOWTO/DB2-HOWTO/
(there's a section on installing DB2 on Gentoo from January, based on
x86-32 with DB2 8.2).

You might also want to try a newer version of DB2 -- say, DB2 8.2.2 --
where the scripts just might work for you out of the box.

Dan

Nov 12 '05 #8

P: n/a
Dan,

Dan Scott wrote:
You might also want to try a newer version of DB2 -- say, DB2 8.2.2 --
where the scripts just might work for you out of the box.


Well. I did this. Installed PE, installed latest Fixpack and then
created the instances. Maybee thatīs why it worked for me.

Thank you for refreshing my memory. ;-)

Norbert
Nov 12 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.