From: xiaoning.sunx on

Knut Stolze wrote:
> 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?
>
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(using 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

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

Knut Stolze wrote:
> xiaoning.sunx(a)gmail.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(using 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

From: Mark A on
xiaoning.s...(a)gmail.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

From: swami on

set JAVA_HOME

swami



On Jan 11, 7:17 pm, "Mark A" <m00...(a)yahoo.com> wrote:
> xiaoning.s...(a)gmail.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