From: xiaoning.sunx on
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

From: Knut Stolze on
xiaoning.sunx(a)gmail.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
From: Darin McBride on
xiaoning.sunx(a)gmail.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.
From: xiaoning.sunx on
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:
> xiaoning.sunx(a)gmail.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

From: Knut Stolze on
xiaoning.sunx(a)gmail.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?buildid=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