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 > Hello everybody !!! - Problem with db2cc #connection to ":0.0" refused by server#

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-13-06, 12:35
rooot rooot is offline
Registered User
 
Join Date: Dec 2006
Posts: 2
Arrow Hello everybody !!! - Problem with db2cc #connection to ":0.0" refused by server#

I'm rooot
I'm using db2 v9.1 on Redhat AS 4
when i try start DB2 Control Center :
#
[db2inst1@localhost adm]$ db2cc
#

---->

#
[1] 14398
[db2inst1@localhost adm]$ Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Exception in thread "main" java.lang.NoClassDefFoundError: sun.awt.X11.XToolkit
at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:127)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:131)
at java.awt.Toolkit$2****n(Toolkit.java:864)
at java.security.AccessController.doPrivileged(Access Controller.java:191)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:84 7)
at javax.swing.UIManager.initialize(UIManager.java:12 96)
at javax.swing.UIManager.maybeInitialize(UIManager.ja va:1279)
at javax.swing.UIManager.getDefaults(UIManager.java:5 90)
at javax.swing.UIManager.get(UIManager.java:852)
at com.ibm.db2.tools.common.CommonUIManager.initializ e(Unknown Source)
at CC.setLookAndFeel(Unknown Source)
at CC.<init>(Unknown Source)
at CC.main(Unknown Source)
DB2JAVIT : RC = 1


#

Please help me ? Thank !!!
Reply With Quote
  #2 (permalink)  
Old 12-13-06, 12:37
rooot rooot is offline
Registered User
 
Join Date: Dec 2006
Posts: 2
Arrow Hello everybody !!! - Problem with db2cc

I'm rooot
I'm using db2 v9.1 on Redhat AS 4
when i try start DB2 Control Center :
#
[db2inst1@localhost adm]$ db2cc
#
---->
#
[1] 14398
[db2inst1@localhost adm]$ Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Exception in thread "main" java.lang.NoClassDefFoundError: sun.awt.X11.XToolkit
at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:127)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:131)
at java.awt.Toolkit$2****n(Toolkit.java:864)
at java.security.AccessController.doPrivileged(Access Controller.java:191)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:84 7)
at javax.swing.UIManager.initialize(UIManager.java:12 96)
at javax.swing.UIManager.maybeInitialize(UIManager.ja va:1279)
at javax.swing.UIManager.getDefaults(UIManager.java:5 90)
at javax.swing.UIManager.get(UIManager.java:852)
at com.ibm.db2.tools.common.CommonUIManager.initializ e(Unknown Source)
at CC.setLookAndFeel(Unknown Source)
at CC.<init>(Unknown Source)
at CC.main(Unknown Source)
DB2JAVIT : RC = 1


#

Please help me ? Thank !!!
Reply With Quote
  #3 (permalink)  
Old 12-13-06, 12:55
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Your problem is that you do not have X privaleges.
Do set the privalege, as root, type "xhost +"

HTH

Andy
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