DB2 on Linux - how to start the Control Centre 
Author Message
 DB2 on Linux - how to start the Control Centre
Hello,

I've just gone through the install of DB2 on Linux, using the DB2SETUP
utility.  All went well.

My question is :  NOW WHAT?!?!?!  :)

I'm way not a *nix person, so I don't know how to start the Control
Centre, nor how to do all of the things that I usually know how to do
SOOO well on NT or OS/2.

Can someone help me, or point me to something other than the Quick
Beginnings guide, which SUX?

:)

Mairhtin O'Feannag

Sent via Deja.com http://www.***.com/
Before you buy.



Fri, 02 May 2003 03:00:00 GMT
 DB2 on Linux - how to start the Control Centre

Log on as the instance owner (default instance owner ID is "db2inst1")
and issue the following command:

bash$ db2cc

If that doesn't work, then perhaps the DB2 JDBC server didn't start up
automatically. Try something like:

bash$ db2jstrt 6799
bash$ db2cc 6799

where '6799' refers to an unused TCP/IP port on your system (6799, by
the way, is a fairly safe bet.)

An alternative to the Quick Beginnings guide is the DB2 V7.1 HOWTO at
http://www.linuxdoc.org/HOWTO/DB2-HOWTO/index.html, but it's really
geared towards installation information and answering FAQ.

hth,
Dan

Quote:

> Hello,

> I've just gone through the install of DB2 on Linux, using the DB2SETUP
> utility.  All went well.

> My question is :  NOW WHAT?!?!?!  :)

> I'm way not a *nix person, so I don't know how to start the Control
> Centre, nor how to do all of the things that I usually know how to do
> SOOO well on NT or OS/2.

> Can someone help me, or point me to something other than the Quick
> Beginnings guide, which SUX?

> :)

> Mairhtin O'Feannag

> Sent via Deja.com http://www.deja.com/
> Before you buy.



Fri, 02 May 2003 03:00:00 GMT
 DB2 on Linux - how to start the Control Centre
You also may need to do:
xhost +

to allow Xwindows to run DB2cc.....
Good Luck

Amir


Quote:
> Log on as the instance owner (default instance owner ID is "db2inst1")
> and issue the following command:

> bash$ db2cc

> If that doesn't work, then perhaps the DB2 JDBC server didn't start up
> automatically. Try something like:

> bash$ db2jstrt 6799
> bash$ db2cc 6799

> where '6799' refers to an unused TCP/IP port on your system (6799, by
> the way, is a fairly safe bet.)

> An alternative to the Quick Beginnings guide is the DB2 V7.1 HOWTO at
> http://www.linuxdoc.org/HOWTO/DB2-HOWTO/index.html, but it's really
> geared towards installation information and answering FAQ.

> hth,
> Dan


> > Hello,

> > I've just gone through the install of DB2 on Linux, using the DB2SETUP
> > utility.  All went well.

> > My question is :  NOW WHAT?!?!?!  :)

> > I'm way not a *nix person, so I don't know how to start the Control
> > Centre, nor how to do all of the things that I usually know how to do
> > SOOO well on NT or OS/2.

> > Can someone help me, or point me to something other than the Quick
> > Beginnings guide, which SUX?

> > :)

> > Mairhtin O'Feannag

> > Sent via Deja.com http://www.deja.com/
> > Before you buy.



Sat, 03 May 2003 03:00:00 GMT
 DB2 on Linux - how to start the Control Centre
Mairhtin:

It means that the db2cc script can't find the "jre" command (jre stands
for Java Runtime Environment, I believe).

I'm not in Linux at the moment, but try typing "which jre" and see if
the "jre" command is currently available within your $PATH setting. If
not, that's potentially a problem.

What version of the JDK are you using? Did you read the section of the
DB2 HOWTO that describes how to set up either IBM JDK 1.1.8 or JDK 1.3
(and modify the db2cc script if necessary)?

Dan

Quote:
> Dan,

> The following happens when I do what you suggested :

> ./db2cc: jre: command not found

> I started the DB2jstrt with port 6799  ....

> What does that mean?

> Mairhtin

> on 11/13/2000, Dan Scott was blathering ....

>> Log on as the instance owner (default instance owner ID is "db2inst1") and issue the following command:

>>  bash$ db2cc

>>  If that doesn't work, then perhaps the DB2 JDBC server didn't start up automatically. Try something like:

>>  bash$ db2jstrt 6799
>>  bash$ db2cc 6799

>>  where '6799' refers to an unused TCP/IP port on your system (6799, by the way, is a fairly safe bet.)

>>  An alternative to the Quick Beginnings guide is the DB2 V7.1 HOWTO at http://www.linuxdoc.org/HOWTO/DB2-HOWTO/index.html, but it's really geared towards
>>  installation information and answering FAQ.

>>  hth,
>>  Dan

> Mairhtin O'Feannag



Sun, 04 May 2003 03:00:00 GMT
 DB2 on Linux - how to start the Control Centre
Whooops...

I didn't see this reply.  I use Deja.com so sometimes its way late.

I did a which jre and found nothing either.

I didn't read the HOW TO yet... suppose I should do that next...

I am way out of my league, being an OS/2 and NT kind of guy, not a Linux
or Unix person.. it seems there is SOOOO much customization on these
platforms.. kinda like rolling your own on EACH component.. sigh.

Mairhtin



Quote:
> Mairhtin:

> It means that the db2cc script can't find the "jre" command (jre
stands
> for Java Runtime Environment, I believe).

> I'm not in Linux at the moment, but try typing "which jre" and see if
> the "jre" command is currently available within your $PATH setting. If
> not, that's potentially a problem.

> What version of the JDK are you using? Did you read the section of the
> DB2 HOWTO that describes how to set up either IBM JDK 1.1.8 or JDK 1.3
> (and modify the db2cc script if necessary)?

> Dan

> > Dan,

> > The following happens when I do what you suggested :

> > ./db2cc: jre: command not found

> > I started the DB2jstrt with port 6799  ....

> > What does that mean?

> > Mairhtin

> > on 11/13/2000, Dan Scott was blathering ....

> >> Log on as the instance owner (default instance owner ID is

"db2inst1") and issue the following command:
Quote:

> >>  bash$ db2cc

> >>  If that doesn't work, then perhaps the DB2 JDBC server didn't

start up automatically. Try something like:
Quote:

> >>  bash$ db2jstrt 6799
> >>  bash$ db2cc 6799

> >>  where '6799' refers to an unused TCP/IP port on your system (6799,

by the way, is a fairly safe bet.)
Quote:

> >>  An alternative to the Quick Beginnings guide is the DB2 V7.1 HOWTO

at http://www.linuxdoc.org/HOWTO/DB2-HOWTO/index.html, but it's really
geared towards

Quote:
> >>  installation information and answering FAQ.

> >>  hth,
> >>  Dan

> > Mairhtin O'Feannag

Sent via Deja.com http://www.deja.com/
Before you buy.


Mon, 05 May 2003 03:00:00 GMT
 DB2 on Linux - how to start the Control Centre

Quote:

> Whooops...

> I didn't see this reply.  I use Deja.com so sometimes its way late.

> I did a which jre and found nothing either.

> I didn't read the HOW TO yet... suppose I should do that next...

> I am way out of my league, being an OS/2 and NT kind of guy, not a Linux
> or Unix person.. it seems there is SOOOO much customization on these
> platforms.. kinda like rolling your own on EACH component.. sigh.

> Mairhtin



> > Mairhtin:

> > It means that the db2cc script can't find the "jre" command (jre
> stands
> > for Java Runtime Environment, I believe).

> > I'm not in Linux at the moment, but try typing "which jre" and see if
> > the "jre" command is currently available within your $PATH setting. If
> > not, that's potentially a problem.

> > What version of the JDK are you using? Did you read the section of the
> > DB2 HOWTO that describes how to set up either IBM JDK 1.1.8 or JDK 1.3
> > (and modify the db2cc script if necessary)?

> > Dan

> > > Dan,

> > > The following happens when I do what you suggested :

> > > ./db2cc: jre: command not found

> > > I started the DB2jstrt with port 6799  ....

> > > What does that mean?

> > > Mairhtin

> > > on 11/13/2000, Dan Scott was blathering ....

> > >> Log on as the instance owner (default instance owner ID is
> "db2inst1") and issue the following command:

> > >>  bash$ db2cc

> > >>  If that doesn't work, then perhaps the DB2 JDBC server didn't
> start up automatically. Try something like:

> > >>  bash$ db2jstrt 6799
> > >>  bash$ db2cc 6799

> > >>  where '6799' refers to an unused TCP/IP port on your system (6799,
> by the way, is a fairly safe bet.)

> > >>  An alternative to the Quick Beginnings guide is the DB2 V7.1 HOWTO
> at http://www.linuxdoc.org/HOWTO/DB2-HOWTO/index.html, but it's really
> geared towards
> > >>  installation information and answering FAQ.

> > >>  hth,
> > >>  Dan

> > > Mairhtin O'Feannag

> Sent via Deja.com http://www.deja.com/
> Before you buy.

Somebody may bring a big stick on me here, but I didn't know jre is a
command.
I thought java would be one, and since Java 2 the java binary/program is
the same as that of
the JDK. If you use IBM JDK 1.3 for Linux, the java in ???/bin/java is just
a symbolic link
(or $hortcut, for M$ guy$) to ???/jre/bin/java. So if 'which java' tells
you zip, you probably
don't have a JDK/JRE, or it's not in your PATH. Then find one, install it,
and take it from there.

Cheers :-)



Sat, 10 May 2003 03:00:00 GMT
 DB2 on Linux - how to start the Control Centre
Here's what I needed to do.
Added these in /etc/profile at the appropriate spots
  JAVA_HOME=/usr/jdk118
  PATH="$PATH:$JAVA_HOME/bin"
  export JAVA_HOME

In ~/.bash_profile (could probably have been in
/etc/profile, but I didn't need the settings for every user
at this point.
  # Get the settings for db2inst1
  . /home/db2inst1/sqllib/db2profile

--
"Do you believe that my being stronger or faster has anything
 to do with my muscles in this place?" ... "Free your mind."
Laurence Fishburne as Morpheus in 'The Matrix'.

Fred A. Kulack  -  AS/400e  Java and Java DB2 access, Jdbc, JTA, etc...
IBM in Rochester, MN               (Phone: 507.253.5982   T/L 553-5982)

AOL Instant Messenger           Home:FKulack            Work:FKulackWrk



Sat, 10 May 2003 03:00:00 GMT
 
 [ 7 post ] 

 Relevant Pages 

1. Control Centre on Linux

2. starting the db2 control center on linux red hat 6.0

3. Control Centre:Connections:DB2 Administration Server not defined.

4. db2 Control Centre

5. how to make os(Linux) know db2's user and a query start/top

6. Linux Server Freezes During Install - Starting DB2 Instance

7. installing db2 on suse linux hangs while starting instance

8. DB2 6.1 PE won't start under Linux (RH6.1)

9. creating UDF using the control centre

10. Start up DB2 control center on AIX

11. Help - Cant see tables in control centre

12. Dropping a database from Control Centre


 
Powered by phpBB® Forum Software