Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2007

    Unanswered: control center in unix, db2advis tool


    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(
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvir onment(
    at java.awt.Font.initializeFont(
    at java.awt.Font.<init>(

    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.

  2. #2
    Join Date
    Jun 2006
    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

  3. #3
    Join Date
    Nov 2007
    Many thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts