[OmniOS-discuss] opendj in a zone

Johan Kragsterman johan.kragsterman at capvert.se
Tue May 12 17:08:19 UTC 2015


Hi!


Right now I'm trying to do some things that are not really within my knowledge.

So I need to bother you guys a little bit, for advices...

I'm setting up OpenDJ from Forgerock in a zone(151014). OpenDJ is a directory server, with SUN heritage, and it is java based.

I seem to have managed to get the server up and running, but I can't reach the management console, I get some java errors.

So if anyone of you got any input on this, pls let me know....(I'm a complete nooob with java...):





root at z1:/etc/opendj/bin# ./control-panel
Could not launch Control Panel.  Check that you have access to the display.
Check file /var/tmp/opendj-control-panel-1827401860598694601.log for details.
root at z1:/etc/opendj/bin# cat /var/tmp/opendj-control-panel-1827401860598694601.log
May 12, 2015 4:52:28 PM org.opends.guitools.controlpanel.util.ControlPanelLog initLogFileHandler
INFO: Application launched May 12, 2015 4:52:28 PM UTC
May 12, 2015 4:52:28 PM org.opends.guitools.controlpanel.ControlPanelLauncher$1 run
WARNING: Error setting look and feel: java.awt.AWTError: Toolkit not found: sun.awt.X11.XToolkit
java.awt.AWTError: Toolkit not found: sun.awt.X11.XToolkit
        at java.awt.Toolkit$2.run(Toolkit.java:876)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:861)
        at java.awt.Toolkit.getEventQueue(Toolkit.java:1752)
        at java.awt.EventQueue.isDispatchThread(EventQueue.java:1018)
        at javax.swing.SwingUtilities.isEventDispatchThread(SwingUtilities.java:1360)
        at org.opends.quicksetup.ui.UIFactory.initializeLookAndFeel(UIFactory.java:722)
        at org.opends.guitools.controlpanel.ControlPanelLauncher.initLookAndFeel(ControlPanelLauncher.java:240)
        at org.opends.guitools.controlpanel.ControlPanelLauncher.access$000(ControlPanelLauncher.java:61)
        at org.opends.guitools.controlpanel.ControlPanelLauncher$1.run(ControlPanelLauncher.java:178)
        at java.lang.Thread.run(Thread.java:745)

May 12, 2015 4:52:28 PM org.opends.guitools.controlpanel.ControlPanelLauncher$1 run
WARNING: Error launching GUI: java.awt.HeadlessException
May 12, 2015 4:52:28 PM org.opends.guitools.controlpanel.ControlPanelLauncher$1 run
WARNING: java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)
java.awt.Window.<init>(Window.java:535)
java.awt.Frame.<init>(Frame.java:420)
java.awt.Frame.<init>(Frame.java:385)
org.opends.quicksetup.SplashScreen.<init>(SplashScreen.java:104)
org.opends.guitools.controlpanel.ControlPanelSplashScreen.<init>(ControlPanelLauncher.java:300)
org.opends.guitools.controlpanel.ControlPanelSplashScreen.main(ControlPanelLauncher.java:316)
org.opends.guitools.controlpanel.ControlPanelLauncher$1.run(ControlPanelLauncher.java:185)
java.lang.Thread.run(Thread.java:745)

root at z1:/etc/opendj/bin# 



There are definitly no port access problems, the ports in use are 389 and 4444:


root at z1:/etc/opendj/bin# netstat -an

UDP: IPv4
   Local Address        Remote Address      State
-------------------- -------------------- ----------
      *.111                               Idle
      *.*                                 Unbound
      *.37411                             Idle
      *.111                               Idle
      *.*                                 Unbound
      *.50848                             Idle

UDP: IPv6
   Local Address                     Remote Address                   State      If
--------------------------------- --------------------------------- ---------- -----
      *.111                                                         Idle       
      *.*                                                           Unbound    
      *.37411                                                       Idle       

TCP: IPv4
   Local Address        Remote Address    Swind Send-Q Rwind Recv-Q    State
-------------------- -------------------- ----- ------ ----- ------ -----------
      *.111                *.*                0      0 128000      0 LISTEN
      *.*                  *.*                0      0 128000      0 IDLE
      *.111                *.*                0      0 128000      0 LISTEN
      *.*                  *.*                0      0 128000      0 IDLE
      *.22                 *.*                0      0 128000      0 LISTEN
      *.54631              *.*                0      0 128000      0 LISTEN
      *.58404              *.*                0      0 128000      0 LISTEN
      *.4444               *.*                0      0 128000      0 LISTEN
      *.389                *.*                0      0 128000      0 LISTEN

TCP: IPv6
   Local Address                     Remote Address                 Swind Send-Q Rwind Recv-Q   State      If
--------------------------------- --------------------------------- ----- ------ ----- ------ ----------- -----
      *.111                             *.*                             0      0 128000      0 LISTEN      
      *.*                               *.*                             0      0 128000      0 IDLE        
      *.22                              *.*                             0      0 128000      0 LISTEN      
      *.58404                           *.*                             0      0 128000      0 LISTEN      
      *.4444                            *.*                             0      0 128000      0 LISTEN      
      *.389                             *.*                             0      0 128000      0 LISTEN      

Active UNIX domain sockets
Address  Type          Vnode     Conn  Local Addr      Remote Addr
ffffff03f2f99048 stream-ord 0000000 0000000                               
ffffff03f2f99b58 stream-ord 0000000 0000000                               
ffffff03f282fb48 stream-ord ffffff03f27b4580 0000000 /var/run/.inetd.uds                
root at z1:/etc/opendj/bin# 






Best regards from/Med vänliga hälsningar från

Johan Kragsterman

Capvert



More information about the OmniOS-discuss mailing list