Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2003
    Location
    Hyderabad, India
    Posts
    14

    Angry Unanswered: db2cc not showing up on Solaris

    Hi,
    I have recently installed db28.1 on Solaris 9. After installation i added up the necessary paths to the Path and Classpath.

    I tried to open the db2cc to set up other database but db2cc is not showing up on the solaris box. Can any one throw some pointers on why its not showing up.

    Here are the path settings
    bash-2.05$ echo $PATH
    /usr/bin:/bin:/usr/sbin:/opt/SUNWrtvc/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/jav
    a1.2/bin:/export/home/db2inst1/sqllib/java12:/export/home/db2inst1/sqllib/bin:/e
    xport/home/db2inst1/sqllib/adm:/export/home/db2inst1/sqllib/misc

    Here the LD_LIBRARY_PATH settings
    bash-2.05$ echo $LD_LIBRARY_PATH
    /usr/lib:/usr/dt/lib:/usr/ucblib:/export/home/db2inst1/sqllib/lib:/export/home/d
    b2inst1/sqllib/lib/libdb2jdbc.so

    Here are Classpath Settings
    bash-2.05$ echo $CLASSPATH
    /export/home/db2inst1/sqllib/java/db2java.zip:/export/home/db2inst1/sqllib/java/
    db2jcc.jar:/export/home/db2inst1/sqllib/function:/opt/IBM/db2/V8.1/tools/runtime
    .jar:.

    bash-2.05$ echo $DISPLAY
    10.4.14.154:0.0

    bash-2.05$ db2set
    DB2ENVLIST=EXTSHM
    DB2COMM=tcpip
    DB2AUTOSTART=YES

    bash-2.05$ java -version
    java version "1.4.2_04"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
    Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)

    bash-2.05$ which java
    /usr/bin/java

    I tried to add the paths mentioned in the IBM site but nothing worked.

    Please let me know what could be the issue

    Looking forward for an early reply

    Thanks
    Krishna

  2. #2
    Join Date
    Jun 2006
    Posts
    471

    db2cc

    is any error displayed when invoking db2cc
    are you on the graphical console or telnet terminal (if so : export DISPLAY.. to be set for routing the graphical screen to xmanager)
    Best Regards, Guy Przytula
    DB2 UDB LUW certified V6/7/8

Posting Permissions

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