473,385 Members | 1,168 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,385 software developers and data experts.

DB2 install on Gentoo Linux

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 message:

tail: cannot open `+2' for reading: No such file or directory
lcount = 0
DBI1069E Unexpected error. Function = chk_fsystype, Return code =
22.

Explanation:

An unexpected error occurred during the execution of this
program.

User Response:

If the problem persists, contact IBM Support with the following
information:

o Message number

o Function name

o Return code

o Problem description


DBI1079I Output is saved in the log file /tmp/dascrt.log.18686.

Explanation:

All processed and failed operations have been saved into this log
file.

User Response:

Do not modify this file in any way. This file is for IBM
Technical Support reference.
The get the same error message when I try to create an instance like
that:

/opt/IBM/db2/V8.1/instance/db2icrt -a server -u db2fenc1 db2inst1
Does anybody have a solution for this problem? Especially for Gentoo
Linux?
Thanks
darktemplaaa
Nov 12 '05 #1
7 8233
darktemplaaa wrote:
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 message:

tail: cannot open `+2' for reading: No such file or directory
lcount = 0
DBI1069E Unexpected error. Function = chk_fsystype, Return code =
22.

Explanation:

An unexpected error occurred during the execution of this
program.

User Response:

If the problem persists, contact IBM Support with the following
information:

o Message number

o Function name

o Return code

o Problem description


DBI1079I Output is saved in the log file /tmp/dascrt.log.18686.

Explanation:

All processed and failed operations have been saved into this log
file.

User Response:

Do not modify this file in any way. This file is for IBM
Technical Support reference.
The get the same error message when I try to create an instance like
that:

/opt/IBM/db2/V8.1/instance/db2icrt -a server -u db2fenc1 db2inst1
Does anybody have a solution for this problem? Especially for Gentoo
Linux?


What is your version of tail? Can you see if you can get a different
one? I've seen this problem on other Linux platforms with other
distros, and upgrading the distro solved the problem. I understand
Gentoo doesn't quite work the same as other distros, so I pretty much
have to leave the solution as an excersise for the reader, since, as is
normal in these circumstances, the author has no clue ;-)

This one works (RHEL3U3):

$ tail --version
tail (coreutils) 4.5.3
Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering.

Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Nov 12 '05 #2
Darin McBride wrote:
darktemplaaa wrote:

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 message:

tail: cannot open `+2' for reading: No such file or directory
lcount = 0
DBI1069E Unexpected error. Function = chk_fsystype, Return code =
22.

Explanation:

An unexpected error occurred during the execution of this
program.

User Response:

If the problem persists, contact IBM Support with the following
information:

o Message number

o Function name

o Return code

o Problem description


DBI1079I Output is saved in the log file /tmp/dascrt.log.18686.

Explanation:

All processed and failed operations have been saved into this log
file.

User Response:

Do not modify this file in any way. This file is for IBM
Technical Support reference.
The get the same error message when I try to create an instance like
that:

/opt/IBM/db2/V8.1/instance/db2icrt -a server -u db2fenc1 db2inst1
Does anybody have a solution for this problem? Especially for Gentoo
Linux?

What is your version of tail? Can you see if you can get a different
one? I've seen this problem on other Linux platforms with other
distros, and upgrading the distro solved the problem. I understand
Gentoo doesn't quite work the same as other distros, so I pretty much
have to leave the solution as an excersise for the reader, since, as is
normal in these circumstances, the author has no clue ;-)

This one works (RHEL3U3):

$ tail --version
tail (coreutils) 4.5.3
Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering.

Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


The current stable version of tail on Gentoo is 5.2.1 (just checked my
server). The major version jump probably explains the incompatibility:
here's the relevant section for the 5.2.1 info page:

<<<
On older systems, `tail' supports an obsolete option
`-COUNTOPTIONS', which is recognized only if it is specified first.
COUNT is a decimal number optionally followed by a size letter (`b',
`k', `m') as in `-c', or `l' to mean count by lines, or other option
letters (`cfqv'). Some older `tail' implementations also support an
obsolete option `+COUNT' with the same meaning as `-+COUNT'. POSIX
1003.1-2001 (*note Standards conformance::) does not allow these
options; use `-c COUNT' or `-n COUNT' instead.


My guess is that the DB2 command line utilities need to use "-n 2"
instead of "+2" for the newer versions of tail. I've seen the same sort
of problems trying to install some of the old Lokisoft packages; usually
takes an iterative approach to fix them up.

Dan
Nov 12 '05 #3
da**********@arcor.de (darktemplaaa) wrote in message news:<3d**************************@posting.google. com>...
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 message:

tail: cannot open `+2' for reading: No such file or directory
lcount = 0
DBI1069E Unexpected error. Function = chk_fsystype, Return code =
22.

Explanation:

An unexpected error occurred during the execution of this
program.

User Response:

If the problem persists, contact IBM Support with the following
information:

o Message number

o Function name

o Return code

o Problem description


DBI1079I Output is saved in the log file /tmp/dascrt.log.18686.

Explanation:

All processed and failed operations have been saved into this log
file.

User Response:

Do not modify this file in any way. This file is for IBM
Technical Support reference.
The get the same error message when I try to create an instance like
that:

/opt/IBM/db2/V8.1/instance/db2icrt -a server -u db2fenc1 db2inst1
Does anybody have a solution for this problem? Especially for Gentoo
Linux?
Thanks
darktemplaaa


If you Linux distribution is Release 9, then please search the
newsgroup archives for a solution previously posted (probably
concerning RH 9).

You may need to re-isntall.
Nov 12 '05 #4
Anyone else any idea? It would be very nice getting IBM DB2 running on
Gentoo because of performance optimizing.
Nov 12 '05 #5
darktemplaaa wrote:
Anyone else any idea? It would be very nice getting IBM DB2 running on
Gentoo because of performance optimizing.


Besides the fact that Gentoo isn't officially supported by IBM ...

You can go into /opt/IBM/db2/V8.1/instance, and find all calls to
"tail" in all the shell scripts there and change them to be "tail -n"
instead. So, if it's "tail +2", change it to be "tail -n +2". Of
course, I can't easily test this supposition.
Nov 12 '05 #6
Darin McBride <dm******@naboo.to.org.no.spam.for.me> wrote in message news:<8Ixbd.717664$M95.375302@pd7tw1no>...
darktemplaaa wrote:
Anyone else any idea? It would be very nice getting IBM DB2 running on
Gentoo because of performance optimizing.


Besides the fact that Gentoo isn't officially supported by IBM ...

You can go into /opt/IBM/db2/V8.1/instance, and find all calls to
"tail" in all the shell scripts there and change them to be "tail -n"
instead. So, if it's "tail +2", change it to be "tail -n +2". Of
course, I can't easily test this supposition.

O.K. now I understand what you mean. I'm gonna check it out and will
post my experiences right here in this group.

Thank you

darktemplaaa
Nov 12 '05 #7
da**********@arcor.de (darktemplaaa) wrote in message news:<3d*************************@posting.google.c om>...
Darin McBride <dm******@naboo.to.org.no.spam.for.me> wrote in message news:<8Ixbd.717664$M95.375302@pd7tw1no>...
darktemplaaa wrote:
Anyone else any idea? It would be very nice getting IBM DB2 running on
Gentoo because of performance optimizing.
Besides the fact that Gentoo isn't officially supported by IBM ...

You can go into /opt/IBM/db2/V8.1/instance, and find all calls to
"tail" in all the shell scripts there and change them to be "tail -n"
instead. So, if it's "tail +2", change it to be "tail -n +2". Of
course, I can't easily test this supposition.

O.K. now I understand what you mean. I'm gonna check it out and will
post my experiences right here in this group.

Thank you


darktemplaaa

Yeeesss!! I got it! I changed all calls to "tail" with the "-n" option
as you said. Now it works and the best database runs with the best
linux distribution ;)

Thank you very very much!!!

darktemplaaa
Nov 12 '05 #8

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

Similar topics

0
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,...
5
by: jsmilan | last post by:
Hi, all; I'm strictly an amateur developer who has dabbled in a half dozen languages on eight or nine systems over 20 years or so. I have never devoted the time or energy to thoroughly learn...
0
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),...
1
by: Christian Traber | last post by:
Hi, I'm really happy to see that pgadmin3 will run on Linux! I tried to build it on Gentoo but got errors. Was anybody of you able to build it for Gentoo or will there be an emerge file? ...
8
by: Hans Horn | last post by:
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...
10
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...
4
by: Fabian Braennstroem | last post by:
Hi, I am pretty new to python and will use it mainly in combination with scientific packages. I am running ubuntu breezy right now and see that some packages are out of date. Do you have any...
1
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...
4
by: Amber | last post by:
The installer tells it faild to config db2inst1, the db2setup.err is as following: /usr/share/themes/Clearlooks/gtk-2.0/gtkrc:60: Engine "clearlooks" is unsupporte d, ignoring Jun 15, 2007...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
0
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 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.