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 > db2cc not showing up on Solaris

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-05-06, 04:20
vaddadik vaddadik is offline
Registered User
 
Join Date: Oct 2003
Location: Hyderabad, India
Posts: 14
Angry 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
Reply With Quote
  #2 (permalink)  
Old 07-06-06, 01:32
guyprzytula guyprzytula is offline
Registered User
 
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
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