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. 8 2152
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.
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.
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
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.
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-
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
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Nicholas Pappas |
last post by:
Hello all.
I am having some trouble getting JDK1.5 working under Gentoo Linux, and
am hoping someone might know a few tricks.
I previously had some problems getting the .BIN to work at all,...
|
by: Buster McFadden |
last post by:
I've run into a problem on this platform (amd64) with code that works
elsewhere, on x86, sparc, and ppc platforms. The shelve module is throwing
an error raised from the anydbm call inside it:
...
|
by: Lonnie Princehouse |
last post by:
I've spent the last couple of hours trying to figure out how to set
breakpoints in Python C extensions under gdb 6.2 using Gentoo Linux,
and finally figured it out. So for posterity (aka Google),...
|
by: Tamer Higazi |
last post by:
Hi!
After I installed with the instruction (as it is described in the
README) Apache 2.0 I tried to compile php.
The configure command:
../configure --with-apxs2=/usr/local/apache2/bin/apxs...
|
by: mathieu.malaterre |
last post by:
Hello,
I am trying to build an executable that link against python
libraries. If I only link to python lib I get thoses errors(*). This
machine is a gentoo AMD64. I installed python by doing...
|
by: darktemplaaa |
last post by:
Hello!
I got IBM DB2 V8.1 successfully installed via rpm on my gentoo system
except the DAS and the instance. When I run:
/opt/IBM/db2/V8.1/instance/dascrt -u dasusr1
I get following error...
|
by: Christine Desmuke |
last post by:
Hello:
At the risk of starting a flame-war, I'd like some more details on the
use of Gentoo Linux for a production PostgreSQL server. There have been
a couple of comments lately that it is not...
|
by: Sorin Schwimmer |
last post by:
Hi All,
After a disaster in which I lost my whole harddrive,
I decided to install the newest everything that I use.
I put the latest Gentoo Linux, with gcc 4.1.1,
installed
tcl/tk 8.4.14 and...
|
by: Helmut Jarausch |
last post by:
Hi,
trying to build Python-3.0b1 on my Gentoo Linux box fails with
Failed to find the necessary bits to build these modules:
_gestalt
Looking at setup.py it seems that module '_gestalt'
is...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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...
|
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: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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...
| | |