Open art-lucas opened 5 years ago
First try removing the https:// from your IDRAC_HOST like this:
-e IDRAC_HOST=123.123.123.123
If it still doesn't work run it with -it instead of -d to attach to the container and get a log output like this:
docker run -it -p 5800:5800 -p 5900:5900 -e IDRAC_HOST=123.123.123.123 -e IDRAC_USER=root -e IDRAC_PASSWORD=1234 domistyle/idrac6
First of all, thanks for getting back to me so quickly. I have done as advised. This is the resulting log:
$ docker run -p 5800:5800 -p 5900:5900 -e IDRAC_HOST=123.123.123.123 -e IDRAC_USER=user -e IDRAC_PASSWORD=password domistyle/idrac6
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-app-niceness.sh: executing...
[cont-init.d] 00-app-niceness.sh: exited 0.
[cont-init.d] 00-app-script.sh: executing...
[cont-init.d] 00-app-script.sh: exited 0.
[cont-init.d] 00-app-user-map.sh: executing...
[cont-init.d] 00-app-user-map.sh: exited 0.
[cont-init.d] 00-clean-logmonitor-states.sh: executing...
[cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
[cont-init.d] 00-clean-tmp-dir.sh: executing...
[cont-init.d] 00-clean-tmp-dir.sh: exited 0.
[cont-init.d] 00-set-app-deps.sh: executing...
[cont-init.d] 00-set-app-deps.sh: exited 0.
[cont-init.d] 00-set-home.sh: executing...
[cont-init.d] 00-set-home.sh: exited 0.
[cont-init.d] 00-take-config-ownership.sh: executing...
[cont-init.d] 00-take-config-ownership.sh: exited 0.
[cont-init.d] 00-xdg-runtime-dir.sh: executing...
[cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
[cont-init.d] 10-certs.sh: executing...
[cont-init.d] 10-certs.sh: exited 0.
[cont-init.d] 10-cjk-font.sh: executing...
[cont-init.d] 10-cjk-font.sh: exited 0.
[cont-init.d] 10-nginx.sh: executing...
[cont-init.d] 10-nginx.sh: exited 0.
[cont-init.d] 10-vnc-password.sh: executing...
[cont-init.d] 10-vnc-password.sh: exited 0.
[cont-init.d] 10-web-index.sh: executing...
[cont-init.d] 10-web-index.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] starting s6-fdholderd...
[services.d] starting certsmonitor...
[services.d] starting nginx...
[services.d] starting xvfb...
[nginx] starting...
[certsmonitor] disabling service: secure connection not enabled.
[xvfb] starting...
[services.d] starting statusmonitor...
[services.d] starting logmonitor...
[statusmonitor] no file to monitor: disabling service...
[logmonitor] no file to monitor: disabling service...
[services.d] starting openbox...
[openbox] starting...
[services.d] starting x11vnc...
[services.d] starting app...
[x11vnc] starting...
[app] starting iDRAC 6...
28/07/2019 07:44:06 Starting
passing arg to libvncserver: -rfbport
Environment ok
Creating library folder
28/07/2019 07:44:06 passing arg to libvncserver: 5900
28/07/2019 07:44:06 passing arg to libvncserver: -rfbportv6
28/07/2019 07:44:06 passing arg to libvncserver: -1
28/07/2019 07:44:06 passing arg to libvncserver: -httpportv6
Downloading avctKVM
28/07/2019 07:44:06 passing arg to libvncserver: -1
28/07/2019 07:44:06 passing arg to libvncserver: -desktop
28/07/2019 07:44:06 passing arg to libvncserver: iDRAC 6
28/07/2019 07:44:06 x11vnc version: 0.9.14 lastmod: 2015-11-14 pid: 787
--2019-07-28 07:44:06-- https://123.123.123.123/software/avctKVM.jar
28/07/2019 07:44:06 Using X display :0
28/07/2019 07:44:06 rootwin: 0x25c reswin: 0x400001 dpy: 0x1773490
28/07/2019 07:44:06
28/07/2019 07:44:06 ------------------ USEFUL INFORMATION ------------------
Connecting to 123.123.123.123:443... failed: Connection refused.
Failed to download avctKVM.jar, please check your settings
[services.d] done.
28/07/2019 07:44:07 X DAMAGE available on display, using it for polling hints.
28/07/2019 07:44:07 To disable this behavior use: '-noxdamage'
28/07/2019 07:44:07
...
28/07/2019 07:44:07
28/07/2019 07:44:07 X FBPM extension not supported.
28/07/2019 07:44:07 X display is not capable of DPMS.
28/07/2019 07:44:07 --------------------------------------------------------
28/07/2019 07:44:07
28/07/2019 07:44:07 Default visual ID: 0x21
28/07/2019 07:44:07 Read initial data from X display into framebuffer.
28/07/2019 07:44:07 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
28/07/2019 07:44:07
28/07/2019 07:44:07 X display :0 is 32bpp depth=24 true color
28/07/2019 07:44:07
28/07/2019 07:44:07 Listening for VNC connections on TCP port 5900
28/07/2019 07:44:07
28/07/2019 07:44:07 Xinerama is present and active (e.g. multi-head).
28/07/2019 07:44:07 Xinerama: number of sub-screens: 1
28/07/2019 07:44:07 Xinerama: no blackouts needed (only one sub-screen)
28/07/2019 07:44:07
28/07/2019 07:44:07 fb read rate: 1635 MB/sec
28/07/2019 07:44:07 fast read: reset -wait ms to: 10
28/07/2019 07:44:07 fast read: reset -defer ms to: 10
28/07/2019 07:44:07 The X server says there are 10 mouse buttons.
28/07/2019 07:44:07 screen setup finished.
28/07/2019 07:44:07
The VNC desktop is: c9d4ac34f45c:0
PORT=5900
******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?
The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval. It should work with any VNC viewer. Try it by running:
x11vnc -ncache 10 ...
One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching
[services.d] stopping services
[services.d] stopping app...
[services.d] stopping x11vnc...
caught signal: 15
28/07/2019 07:44:09 deleted 40 tile_row polling images.
[services.d] stopping openbox...
[services.d] stopping logmonitor...
[services.d] stopping statusmonitor...
[services.d] stopping xvfb...
[services.d] stopping nginx...
[services.d] stopping certsmonitor...
[services.d] stopping s6-fdholderd...
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
It seems that the issue is that it does not find avctKVM.jar
: Failed to download avctKVM.jar, please check your settings
The jviewer.jnlp file contains occurrences to a jar file, should I use one of these, and if so, how to pass it as an argumentβor modify some parameter file?
Thanks again for your help.
All references to a jar file in jviewer.jnlp
:
<resources>
<j2se version="1.5+" initial-heap-size="128m" max-heap-size="256m" />
<jar href="release/JViewer.jar"/>
</resources>
<resources os="Windows" arch="x86">
<j2se version="1.5+"/>
<nativelib href="release/Win32.jar"/>
</resources>
<resources os="Windows" arch="amd64">
<j2se version="1.5+"/>
<nativelib href="release/Win64.jar"/>
</resources>
<resources os="Linux" arch="x86">
<j2se version="1.5+"/>
<nativelib href="release/Linux_x86_32.jar"/>
</resources>
<resources os="Linux" arch="i386">
<j2se version="1.5+"/>
<nativelib href="release/Linux_x86_32.jar"/>
</resources>
<resources os="Linux" arch="x86_64">
<j2se version="1.5+"/>
<nativelib href="release/Linux_x86_64.jar"/>
</resources>
<resources os="Linux" arch="amd64">
<j2se version="1.5+"/>
<nativelib href="release/Linux_x86_64.jar"/>
</resources>
This might be related to #1
Never got a response so no idea what causes it but I assume it's an outdated iDRAC.
What server are you running?
This indeed looks quite similar. Could you tell me how to edit/modify the download link? Is is possible via the command line as an argument?
Running iDRAC6, and the iDracView version is 2.52. I'm not sure about the other info as this is a remote dedicated server on lease.
I see.
The test branch from that issue is still available.
Try with image domistyle/idrac6:dell-m610 instead.
Getting closer! It connects to the server, and the path seems correct. However, it fails with permission denied:
Downloading required files
--2019-07-29 02:41:18-- https://123.123.123.123/Applications/dellUI/Java/release/JViewer.jar
...
Connecting to 123.123.123.123:443... failed: Connection refused.
Failed to download JViewer.jar, please check your settings
The same URL (https://123.123.123.123/Applications/dellUI/Java/release/JViewer.jar) through the browser works fine, i.e., it pulls/downloads the JViewer.jar file.
Connection refused means the server didn't respond. Can you check if iDRAC is indeed running on port 443 and if the host is correct?
It is indeed through 443/https. I will try again today, but I've been getting docker: Error response from daemon: Get https://registry-1.docker.io/v2/: Service Unavailable
errors since this morning...
Ok, it's working now... it must have been some network issues on my side I believe. I've re-run the command again, and this is the output:
mac:~$ docker run -it -p 5800:5800 -p 5900:5900 -e IDRAC_HOST=123.123.123.123 -e IDRAC_USER=user -e IDRAC_PASSWORD=password domistyle/idrac6:dell-m610
Unable to find image 'domistyle/idrac6:dell-m610' locally
dell-m610: Pulling from domistyle/idrac6
c67f3896b22c: Pull complete
7417ff4133f4: Pull complete
84b35d5eee4c: Pull complete
33d60b812404: Pull complete
de63263f53ed: Pull complete
c1b4d2be63aa: Pull complete
93c8f3d2a973: Pull complete
1f672e443b9a: Pull complete
ddc45ac582c2: Pull complete
c351b330df7e: Pull complete
c3acd26d61a4: Pull complete
c8716c4edf5b: Pull complete
160abbf88fc4: Pull complete
56d18bb8cdf6: Pull complete
599764c316f2: Pull complete
11fd8a2a265f: Pull complete
735355f41ea6: Pull complete
71b8e7b22c3f: Pull complete
e3ba535bfd5c: Pull complete
d679e4a73d74: Pull complete
Digest: sha256:09e998f95d0d76687de609cc0659ff74142aed9a0f96999376b04a11a399a1bb
Status: Downloaded newer image for domistyle/idrac6:dell-m610
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-app-niceness.sh: executing...
[cont-init.d] 00-app-niceness.sh: exited 0.
[cont-init.d] 00-app-script.sh: executing...
[cont-init.d] 00-app-script.sh: exited 0.
[cont-init.d] 00-app-user-map.sh: executing...
[cont-init.d] 00-app-user-map.sh: exited 0.
[cont-init.d] 00-clean-logmonitor-states.sh: executing...
[cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
[cont-init.d] 00-clean-tmp-dir.sh: executing...
[cont-init.d] 00-clean-tmp-dir.sh: exited 0.
[cont-init.d] 00-set-app-deps.sh: executing...
[cont-init.d] 00-set-app-deps.sh: exited 0.
[cont-init.d] 00-set-home.sh: executing...
[cont-init.d] 00-set-home.sh: exited 0.
[cont-init.d] 00-take-config-ownership.sh: executing...
[cont-init.d] 00-take-config-ownership.sh: exited 0.
[cont-init.d] 00-xdg-runtime-dir.sh: executing...
[cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
[cont-init.d] 10-certs.sh: executing...
[cont-init.d] 10-certs.sh: exited 0.
[cont-init.d] 10-cjk-font.sh: executing...
[cont-init.d] 10-cjk-font.sh: exited 0.
[cont-init.d] 10-nginx.sh: executing...
[cont-init.d] 10-nginx.sh: exited 0.
[cont-init.d] 10-vnc-password.sh: executing...
[cont-init.d] 10-vnc-password.sh: exited 0.
[cont-init.d] 10-web-index.sh: executing...
[cont-init.d] 10-web-index.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] starting s6-fdholderd...
[services.d] starting certsmonitor...
[services.d] starting nginx...
[services.d] starting xvfb...
[nginx] starting...
[certsmonitor] disabling service: secure connection not enabled.
[xvfb] starting...
[services.d] starting statusmonitor...
[services.d] starting logmonitor...
[statusmonitor] no file to monitor: disabling service...
[services.d] starting openbox...
[logmonitor] no file to monitor: disabling service...
[openbox] starting...
[services.d] starting x11vnc...
[services.d] starting app...
[x11vnc] starting...
[app] starting iDRAC...
Starting
Environment ok
Creating library folder
31/07/2019 01:16:14 passing arg to libvncserver: -rfbport
31/07/2019 01:16:14 passing arg to libvncserver: 5900
31/07/2019 01:16:14 passing arg to libvncserver: -rfbportv6
31/07/2019 01:16:14 passing arg to libvncserver: -1
31/07/2019 01:16:14 passing arg to libvncserver: -httpportv6
31/07/2019 01:16:14 passing arg to libvncserver: -1
31/07/2019 01:16:14 passing arg to libvncserver: -desktop
31/07/2019 01:16:14 passing arg to libvncserver: iDRAC
31/07/2019 01:16:14 x11vnc version: 0.9.14 lastmod: 2015-11-14 pid: 779
31/07/2019 01:16:14 Using X display :0
31/07/2019 01:16:14 rootwin: 0x43 reswin: 0x400001 dpy: 0x8a624a00
iDRAC version 5 detected
31/07/2019 01:16:14
31/07/2019 01:16:14 ------------------ USEFUL INFORMATION ------------------
[services.d] done.
31/07/2019 01:16:14 X DAMAGE available on display, using it for polling hints.
31/07/2019 01:16:14 To disable this behavior use: '-noxdamage'
31/07/2019 01:16:14
31/07/2019 01:16:14 Most compositing window managers like 'compiz' or 'beryl'
31/07/2019 01:16:14 cause X DAMAGE to fail, and so you may not see any screen
31/07/2019 01:16:14 updates via VNC. Either disable 'compiz' (recommended) or
31/07/2019 01:16:14 supply the x11vnc '-noxdamage' command line option.
31/07/2019 01:16:14 X COMPOSITE available on display, using it for window polling.
31/07/2019 01:16:14 To disable this behavior use: '-noxcomposite'
31/07/2019 01:16:14
31/07/2019 01:16:14 Wireframing: -wireframe mode is in effect for window moves.
31/07/2019 01:16:14 If this yields undesired behavior (poor response, painting
31/07/2019 01:16:14 errors, etc) it may be disabled:
31/07/2019 01:16:14 - use '-nowf' to disable wireframing completely.
31/07/2019 01:16:14 - use '-nowcr' to disable the Copy Rectangle after the
31/07/2019 01:16:14 moved window is released in the new position.
31/07/2019 01:16:14 Also see the -help entry for tuning parameters.
31/07/2019 01:16:14 You can press 3 Alt_L's (Left "Alt" key) in a row to
31/07/2019 01:16:14 repaint the screen, also see the -fixscreen option for
31/07/2019 01:16:14 periodic repaints.
31/07/2019 01:16:14 GrabServer control via XTEST.
31/07/2019 01:16:14
31/07/2019 01:16:14 Scroll Detection: -scrollcopyrect mode is in effect to
31/07/2019 01:16:14 use RECORD extension to try to detect scrolling windows
31/07/2019 01:16:14 (induced by either user keystroke or mouse input).
31/07/2019 01:16:14 If this yields undesired behavior (poor response, painting
31/07/2019 01:16:14 errors, etc) it may be disabled via: '-noscr'
31/07/2019 01:16:14 Also see the -help entry for tuning parameters.
31/07/2019 01:16:14 You can press 3 Alt_L's (Left "Alt" key) in a row to
31/07/2019 01:16:14 repaint the screen, also see the -fixscreen option for
31/07/2019 01:16:14 periodic repaints.
31/07/2019 01:16:14
31/07/2019 01:16:14 XKEYBOARD: number of keysyms per keycode 7 is greater
31/07/2019 01:16:14 than 4 and 51 keysyms are mapped above 4.
31/07/2019 01:16:14 Automatically switching to -xkb mode.
31/07/2019 01:16:14 If this makes the key mapping worse you can
31/07/2019 01:16:14 disable it with the "-noxkb" option.
31/07/2019 01:16:14 Also, remember "-remap DEAD" for accenting characters.
31/07/2019 01:16:14
31/07/2019 01:16:14 X FBPM extension not supported.
31/07/2019 01:16:14 X display is not capable of DPMS.
31/07/2019 01:16:14 --------------------------------------------------------
31/07/2019 01:16:14
31/07/2019 01:16:14 Default visual ID: 0x21
31/07/2019 01:16:14 Read initial data from X display into framebuffer.
31/07/2019 01:16:14 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
31/07/2019 01:16:14
31/07/2019 01:16:14 X display :0 is 32bpp depth=24 true color
31/07/2019 01:16:14
31/07/2019 01:16:14 Listening for VNC connections on TCP port 5900
31/07/2019 01:16:14
31/07/2019 01:16:14 Xinerama is present and active (e.g. multi-head).
31/07/2019 01:16:14 Xinerama: number of sub-screens: 1
31/07/2019 01:16:14 Xinerama: no blackouts needed (only one sub-screen)
31/07/2019 01:16:14
31/07/2019 01:16:14 fb read rate: 1617 MB/sec
31/07/2019 01:16:14 fast read: reset -wait ms to: 10
31/07/2019 01:16:14 fast read: reset -defer ms to: 10
31/07/2019 01:16:14 The X server says there are 10 mouse buttons.
31/07/2019 01:16:14 screen setup finished.
31/07/2019 01:16:14
The VNC desktop is: f833b7988178:0
PORT=5900
******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?
The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval. It should work with any VNC viewer. Try it by running:
x11vnc -ncache 10 ...
One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching
Downloading required files
--2019-07-31 01:16:15-- https://123.123.123.123/Applications/dellUI/Java/release/JViewer.jar
Connecting to 123.123.123.123:443... connected.
WARNING: cannot verify 123.123.123.123's certificate, issued by 'CN=iDRACdefault12345678,OU=iDRAC Group,O=Dell Inc.,L=Round Rock,C=US':
Self-signed certificate encountered.
WARNING: certificate common name 'iDRACdefault12345678' doesn't match requested host name '123.123.123.123'.
HTTP request sent, awaiting response... 200 OK
Length: 257586 (252K) [application/octet-stream]
Saving to: './JViewer.jar'
./JViewer.jar 100%[====================================================================================================>] 251.55K 122KB/s in 2.1s
Last-modified header invalid -- time-stamp ignored.
2019-07-31 01:16:19 (122 KB/s) - './JViewer.jar' saved [257586/257586]
--2019-07-31 01:16:19-- https://123.123.123.123/Applications/dellUI/Java/release/Linux_x86_32.jar
Connecting to 123.123.123.123:443... connected.
WARNING: cannot verify 123.123.123.123's certificate, issued by 'CN=iDRACdefault12345678,OU=iDRAC Group,O=Dell Inc.,L=Round Rock,C=US':
Self-signed certificate encountered.
WARNING: certificate common name 'iDRACdefault12345678' doesn't match requested host name '123.123.123.123'.
HTTP request sent, awaiting response... 200 OK
Length: 37247 (36K) [application/octet-stream]
Saving to: 'lib/Linux_x86_32.jar'
lib/Linux_x86_32.jar 100%[====================================================================================================>] 36.37K 34.6KB/s in 1.1s
Last-modified header invalid -- time-stamp ignored.
2019-07-31 01:16:21 (34.6 KB/s) - 'lib/Linux_x86_32.jar' saved [37247/37247]
--2019-07-31 01:16:21-- https://123.123.123.123/Applications/dellUI/Java/release/Linux_x86_64.jar
Connecting to 123.123.123.123:443... connected.
WARNING: cannot verify 123.123.123.123's certificate, issued by 'CN=iDRACdefault12345678,OU=iDRAC Group,O=Dell Inc.,L=Round Rock,C=US':
Self-signed certificate encountered.
WARNING: certificate common name 'iDRACdefault12345678' doesn't match requested host name '123.123.123.123'.
HTTP request sent, awaiting response... 200 OK
Length: 39578 (39K) [application/octet-stream]
Saving to: 'lib/Linux_x86_64.jar'
lib/Linux_x86_64.jar 100%[====================================================================================================>] 38.65K 37.7KB/s in 1.0s
Last-modified header invalid -- time-stamp ignored.
2019-07-31 01:16:23 (37.7 KB/s) - 'lib/Linux_x86_64.jar' saved [39578/39578]
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
[services.d] stopping services
[services.d] stopping app...
[services.d] stopping x11vnc...
caught signal: 15
31/07/2019 01:16:25 deleted 40 tile_row polling images.
[services.d] stopping openbox...
[services.d] stopping logmonitor...
[services.d] stopping statusmonitor...
[services.d] stopping xvfb...
[services.d] stopping nginx...
[services.d] stopping certsmonitor...
[services.d] stopping s6-fdholderd...
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
From what I see here, there's no error. From what I understand (and again, apologies for the newbie question), I should use a VNC client to connect to localhost:5900, is that right? I've tried with both a web browser to localhost:5900 and the VNC client on the same, but both do not connect. Could you kindly shed some light on the above?
Try http://localhost:5800 in your browser while keeping the container running in the background.
It dies right after being run. Don't know how to debug this, and http://localhost:5800 does not pull any data.
mac:~$ docker run -d -p 5800:5800 -p 5900:5900 -e IDRAC_HOST=123.123.123.123 -e IDRAC_USER=user -e IDRAC_PASSWORD=password domistyle/idrac6:dell-m610
Unable to find image 'domistyle/idrac6:dell-m610' locally
dell-m610: Pulling from domistyle/idrac6
c67f3896b22c: Pull complete
7417ff4133f4: Pull complete
84b35d5eee4c: Pull complete
33d60b812404: Pull complete
de63263f53ed: Pull complete
c1b4d2be63aa: Pull complete
93c8f3d2a973: Pull complete
1f672e443b9a: Pull complete
ddc45ac582c2: Pull complete
c351b330df7e: Pull complete
c3acd26d61a4: Pull complete
c8716c4edf5b: Pull complete
160abbf88fc4: Pull complete
56d18bb8cdf6: Pull complete
599764c316f2: Pull complete
11fd8a2a265f: Pull complete
735355f41ea6: Pull complete
71b8e7b22c3f: Pull complete
e3ba535bfd5c: Pull complete
d679e4a73d74: Pull complete
Digest: sha256:09e998f95d0d76687de609cc0659ff74142aed9a0f96999376b04a11a399a1bb
Status: Downloaded newer image for domistyle/idrac6:dell-m610
adcae90688b13485ca4966d8a1f561821c34ae37fa21a65f6e15946ece884dcd
mac:~$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
adcae90688b1 domistyle/idrac6:dell-m610 "/init" About a minute ago Exited (0) 28 seconds ago romantic_lewin
mac:~$ docker run -it -p 5800:5800 -p 5900:5900 -e IDRAC_HOST=123.123.123.123 -e IDRAC_USER=adrianolucca -e IDRAC_PASSWORD=676yD4m7xXNoAs7o domistyle/idrac6:dell-m610
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-app-niceness.sh: executing...
[cont-init.d] 00-app-niceness.sh: exited 0.
[cont-init.d] 00-app-script.sh: executing...
[cont-init.d] 00-app-script.sh: exited 0.
[cont-init.d] 00-app-user-map.sh: executing...
[cont-init.d] 00-app-user-map.sh: exited 0.
[cont-init.d] 00-clean-logmonitor-states.sh: executing...
[cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
[cont-init.d] 00-clean-tmp-dir.sh: executing...
[cont-init.d] 00-clean-tmp-dir.sh: exited 0.
[cont-init.d] 00-set-app-deps.sh: executing...
[cont-init.d] 00-set-app-deps.sh: exited 0.
[cont-init.d] 00-set-home.sh: executing...
[cont-init.d] 00-set-home.sh: exited 0.
[cont-init.d] 00-take-config-ownership.sh: executing...
[cont-init.d] 00-take-config-ownership.sh: exited 0.
[cont-init.d] 00-xdg-runtime-dir.sh: executing...
[cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
[cont-init.d] 10-certs.sh: executing...
[cont-init.d] 10-certs.sh: exited 0.
[cont-init.d] 10-cjk-font.sh: executing...
[cont-init.d] 10-cjk-font.sh: exited 0.
[cont-init.d] 10-nginx.sh: executing...
[cont-init.d] 10-nginx.sh: exited 0.
[cont-init.d] 10-vnc-password.sh: executing...
[cont-init.d] 10-vnc-password.sh: exited 0.
[cont-init.d] 10-web-index.sh: executing...
[cont-init.d] 10-web-index.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] starting s6-fdholderd...
[services.d] starting certsmonitor...
[services.d] starting nginx...
[services.d] starting xvfb...
[nginx] starting...
[certsmonitor] disabling service: secure connection not enabled.
[xvfb] starting...
[services.d] starting statusmonitor...
[statusmonitor] no file to monitor: disabling service...
[services.d] starting logmonitor...
[logmonitor] no file to monitor: disabling service...
[services.d] starting openbox...
[openbox] starting...
[services.d] starting x11vnc...
[services.d] starting app...
[x11vnc] starting...
01/08/2019 04:38:44 passing arg to libvncserver: -rfbport
01/08/2019 04:38:44 passing arg to libvncserver: 5900
01/08/2019 04:38:44 passing arg to libvncserver: -rfbportv6
01/08/2019 04:38:44 passing arg to libvncserver: -1
01/08/2019 04:38:44 passing arg to libvncserver: -httpportv6
01/08/2019 04:38:44 passing arg to libvncserver: -1
01/08/2019 04:38:44 passing arg to libvncserver: -desktop
01/08/2019 04:38:44 passing arg to libvncserver: iDRAC
01/08/2019 04:38:44 x11vnc version: 0.9.14 lastmod: 2015-11-14 pid: 778
[app] starting iDRAC...
01/08/2019 04:38:44 Using X display :0
01/08/2019 04:38:44 rootwin: 0x43 reswin: 0x400001 dpy: 0xe13e9a00
01/08/2019 04:38:44
01/08/2019 04:38:44 ------------------ USEFUL INFORMATION ------------------
Starting
Environment ok
Creating library folder
iDRAC version 5 detected
[services.d] done.
01/08/2019 04:38:44 X DAMAGE available on display, using it for polling hints.
01/08/2019 04:38:44 To disable this behavior use: '-noxdamage'
01/08/2019 04:38:44
01/08/2019 04:38:44 Most compositing window managers like 'compiz' or 'beryl'
01/08/2019 04:38:44 cause X DAMAGE to fail, and so you may not see any screen
01/08/2019 04:38:44 updates via VNC. Either disable 'compiz' (recommended) or
01/08/2019 04:38:44 supply the x11vnc '-noxdamage' command line option.
01/08/2019 04:38:44 X COMPOSITE available on display, using it for window polling.
01/08/2019 04:38:44 To disable this behavior use: '-noxcomposite'
01/08/2019 04:38:44
01/08/2019 04:38:44 Wireframing: -wireframe mode is in effect for window moves.
01/08/2019 04:38:44 If this yields undesired behavior (poor response, painting
01/08/2019 04:38:44 errors, etc) it may be disabled:
01/08/2019 04:38:44 - use '-nowf' to disable wireframing completely.
01/08/2019 04:38:44 - use '-nowcr' to disable the Copy Rectangle after the
01/08/2019 04:38:44 moved window is released in the new position.
01/08/2019 04:38:44 Also see the -help entry for tuning parameters.
01/08/2019 04:38:44 You can press 3 Alt_L's (Left "Alt" key) in a row to
01/08/2019 04:38:44 repaint the screen, also see the -fixscreen option for
01/08/2019 04:38:44 periodic repaints.
01/08/2019 04:38:44 GrabServer control via XTEST.
01/08/2019 04:38:44
01/08/2019 04:38:44 Scroll Detection: -scrollcopyrect mode is in effect to
01/08/2019 04:38:44 use RECORD extension to try to detect scrolling windows
01/08/2019 04:38:44 (induced by either user keystroke or mouse input).
01/08/2019 04:38:44 If this yields undesired behavior (poor response, painting
01/08/2019 04:38:44 errors, etc) it may be disabled via: '-noscr'
01/08/2019 04:38:44 Also see the -help entry for tuning parameters.
01/08/2019 04:38:44 You can press 3 Alt_L's (Left "Alt" key) in a row to
01/08/2019 04:38:44 repaint the screen, also see the -fixscreen option for
01/08/2019 04:38:44 periodic repaints.
01/08/2019 04:38:44
01/08/2019 04:38:44 XKEYBOARD: number of keysyms per keycode 7 is greater
01/08/2019 04:38:44 than 4 and 51 keysyms are mapped above 4.
01/08/2019 04:38:44 Automatically switching to -xkb mode.
01/08/2019 04:38:44 If this makes the key mapping worse you can
01/08/2019 04:38:44 disable it with the "-noxkb" option.
01/08/2019 04:38:44 Also, remember "-remap DEAD" for accenting characters.
01/08/2019 04:38:44
01/08/2019 04:38:44 X FBPM extension not supported.
01/08/2019 04:38:44 X display is not capable of DPMS.
01/08/2019 04:38:44 --------------------------------------------------------
01/08/2019 04:38:44
01/08/2019 04:38:44 Default visual ID: 0x21
01/08/2019 04:38:44 Read initial data from X display into framebuffer.
01/08/2019 04:38:44 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
01/08/2019 04:38:44
01/08/2019 04:38:44 X display :0 is 32bpp depth=24 true color
01/08/2019 04:38:44
01/08/2019 04:38:44 Listening for VNC connections on TCP port 5900
01/08/2019 04:38:44
01/08/2019 04:38:44 Xinerama is present and active (e.g. multi-head).
01/08/2019 04:38:44 Xinerama: number of sub-screens: 1
01/08/2019 04:38:44 Xinerama: no blackouts needed (only one sub-screen)
01/08/2019 04:38:44
01/08/2019 04:38:44 fb read rate: 1411 MB/sec
01/08/2019 04:38:44 fast read: reset -wait ms to: 10
01/08/2019 04:38:44 fast read: reset -defer ms to: 10
01/08/2019 04:38:44 The X server says there are 10 mouse buttons.
01/08/2019 04:38:44 screen setup finished.
01/08/2019 04:38:44
The VNC desktop is: 5635f16e4863:0
PORT=5900
******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?
The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval. It should work with any VNC viewer. Try it by running:
x11vnc -ncache 10 ...
One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching
Downloading required files
--2019-08-01 04:38:45-- https://123.123.123.123/Applications/dellUI/Java/release/JViewer.jar
Connecting to 123.123.123.123:443... connected.
WARNING: cannot verify 123.123.123.123's certificate, issued by 'CN=iDRACdefaultA4BADB013B1B,OU=iDRAC Group,O=Dell Inc.,L=Round Rock,C=US':
Self-signed certificate encountered.
WARNING: certificate common name 'iDRACdefaultA4BADB013B1B' doesn't match requested host name '123.123.123.123'.
HTTP request sent, awaiting response... 200 OK
Length: 257586 (252K) [application/octet-stream]
Saving to: './JViewer.jar'
./JViewer.jar 100%[====================================================================================================>] 251.55K 122KB/s in 2.1s
Last-modified header invalid -- time-stamp ignored.
2019-08-01 04:38:49 (122 KB/s) - './JViewer.jar' saved [257586/257586]
--2019-08-01 04:38:49-- https://123.123.123.123/Applications/dellUI/Java/release/Linux_x86_32.jar
Connecting to 123.123.123.123:443... connected.
WARNING: cannot verify 123.123.123.123's certificate, issued by 'CN=iDRACdefaultA4BADB013B1B,OU=iDRAC Group,O=Dell Inc.,L=Round Rock,C=US':
Self-signed certificate encountered.
WARNING: certificate common name 'iDRACdefaultA4BADB013B1B' doesn't match requested host name '123.123.123.123'.
HTTP request sent, awaiting response... 200 OK
Length: 37247 (36K) [application/octet-stream]
Saving to: 'lib/Linux_x86_32.jar'
lib/Linux_x86_32.jar 100%[====================================================================================================>] 36.37K 35.6KB/s in 1.0s
Last-modified header invalid -- time-stamp ignored.
2019-08-01 04:38:51 (35.6 KB/s) - 'lib/Linux_x86_32.jar' saved [37247/37247]
--2019-08-01 04:38:51-- https://123.123.123.123/Applications/dellUI/Java/release/Linux_x86_64.jar
Connecting to 123.123.123.123:443... connected.
WARNING: cannot verify 123.123.123.123's certificate, issued by 'CN=iDRACdefaultA4BADB013B1B,OU=iDRAC Group,O=Dell Inc.,L=Round Rock,C=US':
Self-signed certificate encountered.
WARNING: certificate common name 'iDRACdefaultA4BADB013B1B' doesn't match requested host name '123.123.123.123'.
HTTP request sent, awaiting response... 200 OK
Length: 39578 (39K) [application/octet-stream]
Saving to: 'lib/Linux_x86_64.jar'
lib/Linux_x86_64.jar 100%[====================================================================================================>] 38.65K 37.7KB/s in 1.0s
Last-modified header invalid -- time-stamp ignored.
2019-08-01 04:38:53 (37.7 KB/s) - 'lib/Linux_x86_64.jar' saved [39578/39578]
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
[services.d] stopping services
[services.d] stopping app...
[services.d] stopping x11vnc...
caught signal: 15
01/08/2019 04:38:55 deleted 40 tile_row polling images.
[services.d] stopping openbox...
[services.d] stopping logmonitor...
[services.d] stopping statusmonitor...
[services.d] stopping xvfb...
[services.d] stopping nginx...
[services.d] stopping certsmonitor...
[services.d] stopping s6-fdholderd...
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
mac:~$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5635f16e4863 domistyle/idrac6:dell-m610 "/init" 20 seconds ago Exited (0) 2 seconds ago jovial_boyd
adcae90688b1 domistyle/idrac6:dell-m610 "/init" About a minute ago Exited (0) About a minute ago romantic_lewin
mac:~$
Hi,
I have the same issue, I've tested it on Ubuntu 18.04, 20.04 and MacOS Catalina and Big Sur. Container dies after couple seconds while using domistyle/idrac6
and shows error Failed to download JViewer.jar, please check your settings
when using domistyle/idrac6:dell-m610
.
I'm trying to connect to Dell C6220.
This might be related to #1
Never got a response so no idea what causes it but I assume it's an outdated iDRAC.
What server are you running?
Hi everyone,
I had the same problem as mentioned in #1, and probably the above discussion. I have remixed various scripts to get it working on my set of M610 servers. Here is what I came up with:
https://github.com/yasiupl/bootleg-idrac6-client
The basic lesson learned is, that the iDRAC 6 of the M610 is in fact a iDRAC 5 with changed paths to the .jar files. Feel free to integrate this into this docker image.
EDIT: I'm running latest available iDRAC Firmware version. I don't even need docker to run any special java version, it just works with Java 7 OpenJDK installed on my machine (Manjaro Linux). All functionalities of the JViewer are working fine as far as my use case is concerned.
To any future readers, here is how I came up with this solution:
If you have problem with your iDRAC version, try decompiling the firmware file using binwalk
and extract any sqashfs
partitions. One of them will contain the catalog structure (albeit with the files encrypted) of your specific iDRAC implementation. With this information you can try downloading the .jar files from the web panel, and run them using any of the already available scripts.
In the case of M610, the iDRAC6 is in fact iDRAC 5 .jars placed under Applications/dellUI/Java/release
catalog.
I've managed to solve this in a bit of a simpler way - I think. The IDRAC self-signed certificate is not accepted by modern OSes and the 'no-check-certificates' on the wget calls in startapp.sh doesn't bypass this. If you manually try to download the jar files from your IDRAC in the browser, you'll be able to accept the certificate and get the files but via the startapp script there's no easy way to do this. The IDRAC6 also has weak key which is not trusted by modern versions of openssl either. If you try to do wget the file from a terminal you will see these errors.
You could probably set up your docker container to reduce the security levels for openssl within the container but I didn't bother - instead, I just used a browser to download the files from the IDRAC and place them in the docker host's working app folder (the location they would be downloaded to via the script). This is trivial to setup if you use the provided docker-compose file. With the (3) .jar files in place, the container spun up just fine and the IDRAC was accessible flawlessly.
The files can be seen in the startapp.sh file but for reference they can be downloaded via your browser here:
https://${IDRAC_HOST}:${IDRAC_PORT}/software/avctKVM.jar
https://${IDRAC_HOST}:${IDRAC_PORT}/software/avctKVMIOLinux64.jar
https://${IDRAC_HOST}:${IDRAC_PORT}/software/avctVMLinux64.jar
Hope this helps!
Thank you for that @bhaver - helped me get over the bump of getting idrac6 working.
For others the following might be necessary. I downloaded the three mentioned jar files. However, the container still complained over this 1 > avctKVMIOLinux64
particularly. And I went into the folder I'd volume mapped -v
on my docker run ...
cmdline. I saw that a lib folder had been created with an 0 byte sized avctKVMIOLinux64 jar file.
So I moved avctKVMIOLinux64 and avctVMLinux64 to the lib folder and it made things work.
My initial error in the logs of the idrac6 container was Unable to establish SSL connection.
. It used to work so I don't know what happened. Nothing was changed on the server-side at least.
A fix for this would be great. Is there any @DomiStyle ... thank you. Also what @yasiupl mentions in his comments seems to be related and interesting.
Thank you all.
@larssb @bhaver Did you build the image by yourself? I can't reproduce the issue inside of the latest image on Docker Hub but I can reproduce it locally with newer OpenSSL:
OpenSSL: error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small
Unable to establish SSL connection.
Looking into it.
Thank you for looking into it @DomiStyle - to answer your questions.
Nope, I did not build the idrac6 container image myself. I also did docker pull ...
to get the latest container image of this project. No change.
So that's that π
Looking forward to finding out what you can find.
@bhaver 's fix worked for me.
You want to do a volume map to $FOO_PATH/app:/app
with a directory tree with the following:
$FOO_PATH/app
βββ avctKVM.jar
βββ lib
βββ avctKVMIOLinux64.jar
βββ avctVMLinux64.jar
The ssl problem happened to me on both iDrac6 2.91 and 2.92 (latest)
I was able to resolve this by changing to curl. I don't have a docker hub account but if you clone https://github.com/ssmoss/docker-idrac6 and then run the following command replacing the xxx
with the name you want to give your image:
docker build --pull --tag xxx/idrac6:latest .
I was able to connect to the iDRAC in my Dell R510.
I have created a PR (https://github.com/DomiStyle/docker-idrac6/pull/47) to merge my changed back into the mainline code.
sorry to be late to the party but has there been any update to this regarding the idrac 6 (but really 5) systems using jviewer.jar? I have an m1000e chassis with a bunch of m610 chassis like @yasiupl mentions in his comments/link. I've used the new :dell-m610 image but it does the same thing as shown above: starts download, does nothing and then just terminates without an error.
[services.d] starting app... [app] starting iDRAC... Starting Environment ok Creating library folder mkdir: can't create directory 'lib': File exists iDRAC version 5 detected [services.d] done. Downloading required files % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 [services.d] stopping services [services.d] stopping app... [services.d] stopping openbox... [services.d] stopping statusmonitor... [services.d] stopping x11vnc... caught signal: 15 07/09/2023 22:36:13 deleted 40 tile_row polling images. [services.d] stopping logmonitor... [services.d] stopping xvfb... [services.d] stopping nginx... [services.d] stopping certsmonitor... [services.d] stopping s6-fdholderd... [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] syncing disks. [s6-finish] sending all processes the TERM signal. [s6-finish] sending all processes the KILL signal and exiting.
If you'd like me to try anything else, provide any other logs, etc. please let me know.
I was able to get it working use OpenWebStart + amazon-corretto-8.232.09.1-linux-x64
in a container? I'm looking to spin up 12+ blades, possibly more in a lab/R&D environment so being able to spin up an instance for each that multiple engineers/techs can access would be ideal. I'm new to Docker so still trying to learn it so hoping to get this to work if possible.
I am running an Ubuntu VM and just installed it natively. I then loaded the iDRAC web interface and clicked the connect button which downloaded the jnlp
file. Inside that file I edited the username
and password
to be the actual username
and password
not the temporary one it uses by default. I repeated this process for all my servers. When I want to connect a specific one I just click the jnlp
for that server. Doesn't isn't used / required at all for this as I could not get the container to work.
damn, guess i'll keep poking this for a while in the hopes someone else can help get it to work but if not that'll probably be what we have to do. if only Dell didn't bs us and label these as idrac 6 when they're really version 5, but i guess I'll just have to add it to the ever growing list of things that Dell irritates me with lol.
Is there a reason you want to use the docker container?
Its not just me that'll be accessing these blades. Its a test/dev thing where we're turning up a bunch of these blades (up to 16) that multiple people on the team will need access to, so i was hoping to make it simple docker container per blade that can be easily replicated for new blades. that would be a lot simpler/easier to maintain than each person on the team needing their own vm that needs to be updated every time we add a blade or chassis. If a stand alone full vm for each person is the only option I'll probably host the vms on one of our stand alone esxi hosts so we can automate their management.
Ah yea, that is a good point. It's possible that the maybe just the Dockerfile needs to be updated to same version of java as I do in my VM.
RUN apt-get update && \
apt-get install -y wget software-properties-common libx11-dev gcc xdotool && \
wget -nc https://cdn.azul.com/zulu/bin/zulu8.68.0.21-ca-jdk8.0.362-linux_amd64.deb && \
apt-get install -y ./zulu8.68.0.21-ca-jdk8.0.362-linux_amd64.deb && \
gcc -o /keycode-hack.so /keycode-hack.c -shared -s -ldl -fPIC && \
apt-get remove -y gcc software-properties-common && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/* && \
rm /keycode-hack.c
It seems like it is using the zulu8.68.0.21
one. This is just a guess however.
@SirThunder88 I think I got it working, check out the branch I am using for this PR https://github.com/DomiStyle/docker-idrac6/pull/47
Thank you very much for helping @ssmoss. As i'm quite new to docker, can you point me to documentation that shows how to apply your configuration changes?
@SirThunder88 So you should just have to check out my branch to your machine and then run the following:
cd ~/ # changes to your home folder, any location is fine
git clone git@github.com:ssmoss/docker-idrac6.git
cd docker-idrac6
docker build -t sirthunder88/idrac6 .
docker run -d \
-p 15800:5800 \
-p 15900:5900 \
-e IDRAC_HOST=xxx \
-e IDRAC_USER=xxx \
-e IDRAC_PASSWORD=xxx \
sirthunder88/idrac6
The -t sirthunder88/idrac6
names the image sirthunder88/idrac6
. I set the web port to 15800
and the vnc port to 15900
to prevent any possible conflicts. If you are running more than one container you can just add one or something to these so all can be accessed via the same host.
@ssmoss The 'checking out' part is what I'm not familiar with, but I've found documentation explaining it so I appreciate the help. I'll let you know how it goes, if i don't get to work on it tonight I'll do so tomorrow.
@SirThunder88 the steps in last comment check out the code to your home directory. If you have setup a SSH key with git pick the first one, if not use the second one, and finally if you don't have git installed on the CLI you download the archive.
I apologize if my question seems dumb.
I have installed Docker Desktop for Mac, then run the said command with relevant parameters (
IDRAC_HOST
is an IP address of a remote server):docker run -d -p 5800:5800 -p 5900:5900 -e IDRAC_HOST=https://123.123.123.123 -e IDRAC_USER=root -e IDRAC_PASSWORD=1234 domistyle/idrac6
Running
docker container ls
shows the container running, but it shuts down after a few seconds:Is this the intended behavior? How to I debug this? I've tried to connect to the instance, but the time is too short for that.
Please send some help as I'd really love to use this instead of a VM with Windows...