473,585 Members | 2,501 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem for db2cc : db2javit not found

Hi,
i have a pb of configuer db2 express-C with ubuntu6.10 version
desktop. In fact, i had installed db2 9.1Express-C and i can't start
the control center and everytime it shows: ./db2cc 27 : db2javit not
found. but i had checked that there is the file db2javit, so i can't
understand why. In addtion, i also check the variable JDK_PATH, and it
points to the path of SDK ibm.
somebody can help me?
regards

Jan 10 '07 #1
15 12356
xi***********@g mail.com wrote:
Hi,
i have a pb of configuer db2 express-C with ubuntu6.10 version
desktop. In fact, i had installed db2 9.1Express-C and i can't start
the control center and everytime it shows: ./db2cc 27 : db2javit not
found. but i had checked that there is the file db2javit, so i can't
understand why. In addtion, i also check the variable JDK_PATH, and it
points to the path of SDK ibm.
Is "db2javit" in the PATH of your DB2 instance?

I believe Ubuntu is not an officially supported distribution. Hence the
question: what exactly have you done during install up to the point where
you create and start the DB2 instance?

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Jan 10 '07 #2
xi***********@g mail.com wrote:
Hi,
i have a pb of configuer db2 express-C with ubuntu6.10 version
desktop. In fact, i had installed db2 9.1Express-C and i can't start
the control center and everytime it shows: ./db2cc 27 : db2javit not
found. but i had checked that there is the file db2javit, so i can't
understand why. In addtion, i also check the variable JDK_PATH, and it
points to the path of SDK ibm.
somebody can help me?
regards
You shouldn't need the "./" prefix on db2cc - that tells me you don't have
the environment set up properly.

Did you create an instance? Log in as that instance owner and run db2cc.
Or, if the instance is "db2inst1" (the default), just run ".
~db2inst1/sqllib/db2profile" and then "db2cc" (no leading "./") should work
fine.
Jan 10 '07 #3
at first thanks for your reponse
i have chosen ubuntu for the test because this is a free version , and
i knew that it is not a version recommanded. But all of these versions
in the list IBM are not free and they are the versions for entreprise.
I have not choice. In addtion, i can create user and start DB2. And i
log in db2inst1, i can use the commands to do the requests of sample,
for ex, select * from employee. But i hope to use control center.
in fact, the intallation is done automatic by db2setup, i log in with
db2inst1, use db2admin start, and error for db2cc

thanks for another time
Knut Stolze wrote:
xi***********@g mail.com wrote:
Hi,
i have a pb of configuer db2 express-C with ubuntu6.10 version
desktop. In fact, i had installed db2 9.1Express-C and i can't start
the control center and everytime it shows: ./db2cc 27 : db2javit not
found. but i had checked that there is the file db2javit, so i can't
understand why. In addtion, i also check the variable JDK_PATH, and it
points to the path of SDK ibm.

Is "db2javit" in the PATH of your DB2 instance?

I believe Ubuntu is not an officially supported distribution. Hence the
question: what exactly have you done during install up to the point where
you create and start the DB2 instance?

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Jan 10 '07 #4
xi***********@g mail.com wrote:
at first thanks for your reponse
i have chosen ubuntu for the test because this is a free version , and
i knew that it is not a version recommanded. But all of these versions
in the list IBM are not free and they are the versions for entreprise.
What makes you think that? For example, you can download SLES here:
http://download.novell.com/Download?...d=ABUnQ9759c0~
I have not choice. In addtion, i can create user and start DB2. And i
log in db2inst1, i can use the commands to do the requests of sample,
for ex, select * from employee. But i hope to use control center.
in fact, the intallation is done automatic by db2setup, i log in with
db2inst1, use db2admin start, and error for db2cc
We are back to the original question: what exactly have you done during
installation and what was the output produced by DB2?

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Jan 11 '07 #5

Knut Stolze wrote:
xi***********@g mail.com wrote:
at first thanks for your reponse
i have chosen ubuntu for the test because this is a free version , and
i knew that it is not a version recommanded. But all of these versions
in the list IBM are not free and they are the versions for entreprise.

What makes you think that? For example, you can download SLES here:
http://download.novell.com/Download?...d=ABUnQ9759c0~
I have not choice. In addtion, i can create user and start DB2. And i
log in db2inst1, i can use the commands to do the requests of sample,
for ex, select * from employee. But i hope to use control center.
in fact, the intallation is done automatic by db2setup, i log in with
db2inst1, use db2admin start, and error for db2cc

We are back to the original question: what exactly have you done during
installation and what was the output produced by DB2?
after download and gzip, tar, i had used ./db2setup to lauch the
procedure of installation, no problem. During this time, i had created
the dasusr, db2inst,etc(usi ng the value default). After this, in the
path opt, there is package ibm/db2/V9.1. In this path, there are bin,
admin, etc. Moreover, there are three repertories: dasusr1, db2inst1,
db2fencl1. And i had logged in
db2inst to start db2.
that's all.
thanks
--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Jan 11 '07 #6
xi***********@g mail.com wrote:
after download and gzip, tar, i had used ./db2setup to lauch the
procedure of installation, no problem.
What exactly does the installation log show?
During this time, i had created
the dasusr, db2inst,etc(usi ng the value default). After this, in the
path opt, there is package ibm/db2/V9.1. In this path, there are bin,
admin, etc.
You mean that DB2 is installed in the path /opt/ibm/db2/V9.1?
Moreover, there are three repertories: dasusr1, db2inst1,
db2fencl1.
Do you mean that you created 3 user accounts? Were they also created
under /opt/ibm/db2/V9.1?!?
And i had logged in db2inst to start db2.
Have you set up the profile for db2inst1?
How exactly did you start DB2?

p.s: If you don't provide the details, you won't get many answers.

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Jan 11 '07 #7

Knut Stolze wrote:
xi***********@g mail.com wrote:
after download and gzip, tar, i had used ./db2setup to lauch the
procedure of installation, no problem.

What exactly does the installation log show?
There were not problems with the procedure of installation.
>
During this time, i had created
the dasusr, db2inst,etc(usi ng the value default). After this, in the
path opt, there is package ibm/db2/V9.1. In this path, there are bin,
admin, etc.

You mean that DB2 is installed in the path /opt/ibm/db2/V9.1?
Yes
>
Moreover, there are three repertories: dasusr1, db2inst1,
db2fencl1.

Do you mean that you created 3 user accounts? Were they also created
under /opt/ibm/db2/V9.1?!?
it has been created automaticaly with the setup and they are under
/home/
>
And i had logged in db2inst to start db2.

Have you set up the profile for db2inst1?
How exactly did you start DB2?
I have done: db2iupdt
db2istrt
with the db2inst1: ./db2admin start
and I have created the base sample
and I can see it on SQL: ./db2

but the probleme is: when I try to start ./db2cc with db2inst1 I got an
error: db2javit not found

Thank you in advance for your help.
Bsrt rgrds
>
p.s: If you don't provide the details, you won't get many answers.

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Jan 11 '07 #8
xiaoning.s...@g mail.com wrote:
I have done: db2iupdt
db2istrt
with the db2inst1: ./db2admin start
and I have created the base sample
and I can see it on SQL: ./db2

but the probleme is: when I try to start ./db2cc with db2inst1 I got an
error: db2javit not found

Thank you in advance for your help.
Bsrt rgrds
Check the JDK_PATH of the admin server:

db2 get admin cfg

Jan 11 '07 #9

set JAVA_HOME

swami

On Jan 11, 7:17 pm, "Mark A" <m00...@yahoo.c omwrote:
xiaoning.s...@g mail.com wrote:
I have done: db2iupdt
db2istrt
with the db2inst1: ./db2admin start
and I have created the base sample
and I can see it on SQL: ./db2
but the probleme is: when I try to start ./db2cc with db2inst1 I got an
error: db2javit not found
Thank you in advance for your help.
Bsrt rgrdsCheck the JDK_PATH of the admin server:

db2 get admin cfg
Jan 12 '07 #10

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

Similar topics

8
5787
by: Data Goob | last post by:
I searched far and wide for more information on how to correct this problem, but did not find any information on what to do. We have successfully installed DB2 8.1 on Linux. SuSE 9.0. Kernel 2.4.25 Dell PowerEdge 6650 Filesystem jfs
4
8491
by: Mairhtin O'Feannag | last post by:
Hello, According to the IBM website : http://www- 106.ibm.com/developerworks/linux/library/l-ss3-db2/ If you are using Red Hat 9, with its new thread library, Native POSIX Thread Library (NPTL), then the Java installation code used by DB2 will not work. You can force compatibility mode by setting the environment variable...
1
4155
by: aaa | last post by:
I installed DB2 8.1.1 FP 7 on an AIX system running AIX 5.2 in 32 bit mode. The DB2 control center started up fine until I changed the server to boot in 64 bit mode. Now db2cc fails. I have been told by one of our Java experts that the error messages mean that java is not finding its core libraries and he thinks the CLASSPATH is not being set...
6
3261
by: Smutny30 | last post by:
Hello, I have problem running the db2cc (Command Center) on AIX. I obtain SQL1224N error when trying to display some windows of the CC. Eg. I try to create database - OK, but then I try to watch details of some Bufferpool or tablespace and obtain this message.. I issue "db2admin start" before running db2cc. I am running db2cc on XWindows.
3
4617
by: dunleav1 | last post by:
I have an AMD Redhat 3.0 machine that is 64 bit. My kernel level is 2.4.21-21.0.1. I downloaded C58SBML.tar off of IBM's website. C58DBML.tar is listed as the 64 bit version of DB2 with the 2.4 Linux kernel support. I perform the install as root and the install works line. DB2 seems to be installed with no errors. When I log in as...
1
3144
by: szudor | last post by:
Hi, When I start db2cc, the program hangs with memory access violation in javaw.exe. Strating with trace option, in java trace file I found the following information: 0SECTION TITLE subcomponent dump routine NULL =============================== 1TISIGINFO signal 11 received 1TIDATETIME Date: ...
7
5298
by: Martijn | last post by:
Hi all, I installed following pkg. on my laptop (Fedora Core 6) : db2exc_91_LNX_x86.tar.gz After resolving some dependency-problems the install was fine. (I understand that a laptop isn't very well suited for DB2 but .... I just want to play around :-) ) After the install I started the control center. This also went
3
2891
by: bomahony | last post by:
I recently installed four AIX 5.3 boxes (ML03 and 04). I then installed various versions of db2 V8.1 -- FP9a and FP11 when i run db2cc on two of the boxes as the instance owner, it loads up. however when i run it on the other two boxes, it gives : sh: /usr/java14_64/jre/bin/java: not found. DB2JAVIT : RC = 12
2
5633
by: Gary | last post by:
I was using DB2 9.1 on Linux which came with db2cc The same level of DB2 on AIX 5.3 with the same install options and there is no db2cc in the sqllib. I know that db2cc is a script so trying to run the command on the AIX box gives: $ db2javit -j:CC -i: -l: -o:"-Xmx128m -Xms8m" -a:"$*" The java class is not found: CC
0
7908
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8199
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. ...
0
8212
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6606
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...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5389
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3835
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...
1
1447
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1175
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...

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.