473,663 Members | 2,867 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ESE 8.1 install on Linux

I'm following the instructions from "Up and Running With DB2 for
Linux". I created these users/groups:

db2inst1:x:201: 101::/home/db2inst1:/bin/bash
db2fenc1:x:202: 102::/home/db2fenc1:/bin/bash
dasusr1:x:203:1 03::/home/dasusr1:/bin/bash

db2iadm1:x:101: db2inst1
db2fadm1:x:102: db2fenc1
db2asgrp:x:103: dasusr1

I untarred db2-udb-ee-8.1-linux-x86.tar, changed to the
009_ESE_LNX_32_ NLV directory, and ran db2_install. I got a bunch of
output like this:

Preparing...
############### ############### ############### #####
IBM_db2msen81
############### ############### ############### #####
IBM_db2cliv81.. .

and no errors.

I executed:
/opt/IBM/db2/V8.1/instance/db2icrt -u db2fenc1 db2inst1
and it says that the instance already exists (someone attempted an
install earlier).
db2iset -l shows the instance "db2inst1" exists.

I execute:
/opt/IBM/db2/V8.1/cfg/db2ln

I configure TCP/IP.

The next instruction is to execute sqllib/db2profile as the instance
owner, but there is no sqllib directory anywhere on the machine.

Where is that directory, or what can I do next?

Nov 14 '05 #1
5 3522
Okay, realized that sqlilib was manually deleted.
So, I dropped the db2inst1 instance and re-created it, and now I have
my sqllib directory.

Now I try:
../sqllib/db2profile
db2 update dbm cfg using SVCENAME db2c_db2inst1

and receive:
SQL10007N Message "-1390" could not be retrieved. Reason code: "1".

echo $DB2INSTANCE
db2inst1

Nov 15 '05 #2
I am somewhat new on the job and have been put into the position to
have to learn DB2 and learn it more so on Linux. I tried running that
same method of install and it gave me headaches. The very best way for
me to do it was like this:

Run ./db2setup
If no suitable JVM was found, then I went into the 'java' dir and
installed the IBMJava SDK RPM. After this, I ran ./db2setup

After this, an IBM DB2 start-up screen showed and then I simply
installed it as I would on a Windows machine.

I found it better to not create the users and groups and just let the
setup program do all of that. It was much easier and gave me just as
much functionality and flexibility as if I would have done it myself.
However, if you're the type who likes to bang their head and learn the
hard way, do the individual rpm installs (nothing wrong with that
method if you like it).

After this, log into your db2 instance user's account on VNC, SSH or
directly on the box if you like, and you'll be able to run db2cc (DB2
Control Center) rather easily. If you don't allow DB2 setup to do this,
you'll have to set all the paths and Java class paths yourself to get
it run properly.

Any other questions, please come back or feel free to email me
directly. I can use some help and don't mind providing it as we are in
the middle of converting Windows Websphere applications over to Linux.
This of course includes DB2 and IDS as we are an exclusive IBM shop.

Good Luck!

Harlin Seritt

Nov 15 '05 #3
Hi Jason:

Try:

.. ./sqllib/db2profile

(yes, dot, space, dot/sqllib/db2profile -- the first dot says "apply
all of the environment changes to the current shell"; if you leave that
dot out, then the environment changes apply only for the duration that
the db2profile script runs and therefore none of the settings are
applied).

source /home/db2inst1/sqllib/db2profile also seems to work.

Dan

Nov 15 '05 #4
Thanks everyone for their replies.
.. ./sqllib/db2profile
worked.

Then, I did:
/opt/IBM/db2/V8.1/instance/dascrt -u dasusr1
DBI1103E The Administration Server already exists.

and:
db2 create tools catalog toolscat create new database toolsdb
SQL22205C The DB2 Administration Server encountered an unexpected
error while
executing a request.

Nov 15 '05 #5
JasonFriedman80 238 wrote:
Thanks everyone for their replies.
. ./sqllib/db2profile
worked.
Note that you should not do this as root - only as a non-root user. Running
db2 commands as root can cause weird side effects (such as files being
created with the wrong permissions, basically preventing anyone else,
including the instance owner, from doing anything with that file).
Then, I did:
/opt/IBM/db2/V8.1/instance/dascrt -u dasusr1
DBI1103E The Administration Server already exists.
Same issue as your regular instance - you probably removed the ~dasusr1/das
directory. I think dasdrop will clear that out.
and:
db2 create tools catalog toolscat create new database toolsdb
SQL22205C The DB2 Administration Server encountered an unexpected
error while
executing a request.


Run this last command as your instance owner, or someone with sufficient
permissions (sysadm), not as root.
Nov 15 '05 #6

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

Similar topics

1
2874
by: danu kusmana | last post by:
Im using Python 2.3.4 and Mandrake linux 10.0. I don't know whats wrong when Im trying to install the PyOpengl-2.0.1.08. I got the message: gcc -pthread -shared build/temp.linux-i686-2.3/src/interface/GLUT.o -L/usr/lib -L/usr/local/lib -L/usr/X11/lib -L/usr/X11R6/lib -Lbuild/temp.linux-i686-2.3 -lGL -lX11 -lXext -lGLU -lglut -lXi -lXmu -linterface_util -o build/lib.linux-i686-2.3/OpenGL/GLUT.so
0
3306
by: Randell D. | last post by:
Folks, I have installed MySQL v4 (client, server and development rpm's). I've tried and failed to use the recommended mysqladmin to set a root password after the installation (I have another post open on the MySQL newsgroup about this). I'm attempting an alternative solution and using webmin (www.webmin.com) to create/manage access to my databases. Webmin reports "Warning: The Perl module DBD::mysql is not installed on your system, so...
0
1471
by: Yun Guan | last post by:
Hello mysql gurus, I am trying to run perl on mysql database on Red Hat box. I want to install DBI and DBD:mysql using CPAN: perl -MCPAN -e shell cpan>install DBI The above succeeded, but cpan>install DBD::mysql
1
2616
by: Yun Guan | last post by:
Hello, I have problems installing DBD:mysql on Red Hat Linux 9, either from CPAN, or mannual install. The error is the same, something related to this Kid.pm file under perl. Should I reinstall Perl? Perl came with Red Hat Linux 9 installation. Please help. 1.) from CPAN: perl -MCPAN -e shell
3
1757
by: Google Mike | last post by:
On Linux, I need to ask what your favorite installation options are for a PHP app as a kind of poll. In this first part, I discuss the Install Wizard choices. In Part 2, I discuss the database configuration choices. Consider SugarCRM. It's really an SDK that you customize. Knowing that, you might want to download about 4 to 30 different PHP/CRM products, try out which one you like, and then try to customize 3-4 of your top choices,...
1
1853
by: Peter Hartmann | last post by:
How do I influence the platform type during install? Could you look at this and tell me what I'm doing wrong? It's still using information from get_platform instead of using my preference. # python setup.py install --install-purelib=lib.linux=i686-2.3 --install-lib=/usr/lib/python2.3/site-packages running install running build running build_py
6
2603
by: kabrit | last post by:
Entrez "aide" pour afficher à nouveau les noms de produits. Entrez "quitter" pour quitter. *********************************************************** DB2.PE IBM_db2msen81... Preparing... ################################################## IBM_db2msen81
1
3455
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 tried Python 2.5. I tried with and without the suggested -fwrapv compiler option, and make gave me the same:
4
7091
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 6:32:36 PM java.util.prefs.FileSystemPreferences$3 run INFO: Created system preferences directory in java.home.
1
4294
by: deborahb | last post by:
On a linux Red Hat Enterprise Linux AS release 4 (Nahant Update 5) box, I've installed DB2 V9 Client at the fixpak3 level. The install was successfull but 2 additional log files were produced with messages that make me wonder if there is a problem. Or are these informational messages and ones that are expected? I also tried installing with fixpak 3a with the same results. Same results on a different linux box. The contents are copied...
0
8345
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8858
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8771
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8548
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7371
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4182
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4349
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2000
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1757
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.