If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > control center in unix, db2advis tool

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-20-08, 08:53
ani_dbforum ani_dbforum is offline
Registered User
 
Join Date: Nov 2007
Posts: 32
control center in unix, db2advis tool

Hi,

1. I want to run the db2 control center in UNIX server. I issued db2cc command and it's giving the following error.

Exception in thread "main" java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:177)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvir onment(GraphicsEnvironment.java:90)
at java.awt.Font.initializeFont(Font.java:332)
at java.awt.Font.<init>(Font.java:367)


I'm not understanding this error information and don't know how to open the CC. I'm new to Unix and finding to work with CC in Unix. Does UNIX has the GUI control Center or anything else?

Can anybody clarify me?

2. When I issue the command - db2advis with the below format:
db2advis -d teb200dwqa1 -i db2advis.txt

I'm getting below error:

Explain tables not set up properly for schema STARS
The insert into the ADVISE_INSTANCE table has failed.

Please help for this also.
Reply With Quote
  #2 (permalink)  
Old 02-20-08, 09:05
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
the java error, because of non-graphical screen (telnet)
you must export DISPLAY and use x-manager on windows to display the control center
or start db2cc from a windows environment..
the second error, because for this user, you did not create the explain tables
the sample job is supplied - see doc for details...
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
  #3 (permalink)  
Old 02-20-08, 09:17
ani_dbforum ani_dbforum is offline
Registered User
 
Join Date: Nov 2007
Posts: 32
Many thanks
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On