sciapp / nojava-ipmi-kvm

nojava-ipmi-kvm is a utility to access Java based ipmi kvm consoles without a local java installation.
MIT License
78 stars 26 forks source link

sciapp/nojava-ipmi-kvm install error #5

Closed zhoushengsheng-droid closed 4 years ago

zhoushengsheng-droid commented 4 years ago

hello,We have succeeded in booting HTTP to VNC, but we will not succeed in booting HTTPS and the following error will be displayed. Is there any good solution. INFO: Check if 'http://192.168.1.10/' is reachable... INFO: The url 'http://192.168.1.10/' is reachable. INFO: Starting the Docker container... INFO: Waiting for the Docker container to be up and ready... ERROR: Docker terminated with return code 5. Maybe you entered a wrong password? full_hostname = 192.168.1.10 login_user = root login_endpoint = data/login download_endpoint = 192.168.1.10:443/ allow_insecure_ssl = false user_login_attribute_name = user password_login_attribute_name = password java_version = 7u51 session_cookie_key = SessionCookie

IngoMeyer441 commented 4 years ago

Hey, thanks for giving nojava-ipmi-kvm a try. Probably, this is a certificate issue. You try to access the host by ip address (192.168.1.10), which cannot be validated as the correct hostname for the accessed machine. You can try to set:

allow_insecure_ssl = true

This setting keeps SSL encryption but disables host validation. Does this work?

zhoushengsheng-droid commented 4 years ago

Hi the machine we need to set here is Dell c6220, because IPMI of this type of machine is HTTPS. I tried to set SSL to true or error docker code 5. Later, I changed the configuration file of this machine to the following: full_hostname = 192.168.1.10

login_user = root

login_endpoint = data/login

download_endpoint = software/avctKVM.jar

allow_insecure_ssl = True

user_login_attribute_name = user

password_login_attribute_name = password

java_version = 7u181

session_cookie_key = SID

We later tried to grab the address in the file and found it as follows. Please tell us how to write the download endpoint correctly. And make VNC access successfully. The following is the endpoint read in Java file. However, after writing, vnc cannot work normally.

![imges](https://user-images.githubusercontent.com/63936939/79729595-4223f180-8322-11ea-9129-39c65130985f.png)
zhoushengsheng-droid commented 4 years ago

The above is the endpoint captured in the java file of the machine, but these java files cannot be used in VNC.

http://192.168.1.10:80/software/avctKVMIOWin32.jar" download="eager"

IngoMeyer441 commented 4 years ago

I am not familiar with IPMI interfaces from Dell. Does this machine have a web page where the a jnlp file can be downloaded? If yes, then you can set the download path of this file as download endpoint.

zhoushengsheng-droid commented 4 years ago

JNLP download file address is

https://192.168.1.10/viewer.jnlp(10.8.29.3@0@123213218590)?ST1=e3af7ec...

But in the configuration file, downpoint only enters / viewer.jnlp, which will return docker 4 to report an error.

Then JNLP shows that the HTTP download address is

http://192.168.1.10:80/software/avctKVMIOWin32.jar “ download =” eager“

Then set downpoint to software / avctkvmiowin32.jar. VNC can run successfully but Java will display an error.

Does Java in VNC support the format of jar file.

IngoMeyer441 commented 4 years ago

This application needs a Java webstart file in jnlp format. The latest version 0.3.1 adds a --debug switch. Could you run with --debug? Then you should see more docker related output in the terminal.

zhoushengsheng-droid commented 4 years ago

Hi, at present, our problem is that we can't get the file of dell-c6220 successfully, because the download source is jar file, but we have inquired that the newer icetea-web program can support jar. Is the icetea of the built-in system of nojava still the old version? Is there anything else that can be updated?

IngoMeyer441 commented 4 years ago

Which version of icetea-web did you test? The latest release of of nojava-ipmi-kvm adds support for OpenJDK 8 with icetea version 1.6.2. The help text of the javaws command of the icetea package is:


SYNOPSIS
    javaws [-run-options] jnlp file
    javaws [-control-options]

OPTIONS
    When specifying options, the name of the jnlp file can be after the command, the -jnlp option, an option with no arguments, or after an argument with an option that takes one argument. A html file that launches a jnlp can be specified after the -html option.
    The jnlp-file can either be a url or a local path.
    The JNLP file should only be specified once, whether as a main argument, after -jnlp or through an html file.
    Control options:
    -about               - Shows a sample application.(No argument expected)
    -help                - Prints out information about supported command and basic usage.(No argument expected)
    -license             - Display the GPL license and exit.(No argument expected)
    -viewer              - Shows the trusted certificate viewer.(No argument expected)
    -Xclearcache         - Clean the JNLP application cache.(No argument expected)
    Run options:
    -allowredirect       - Follows HTTP redirects.(No argument expected)
    -arg arg             - Adds an application argument before launching.(Expected one or more arguments)
    -headless            - Disables download window, other UIs.(No argument expected)
    -html                - Location of HTML file to launch (url or file). You can use parameter ALL  or numbers (like 1 2 5) to select applets on page. However experimental, this switch should keep you still in safety.(Expected one or more arguments)
    -jnlp                - Location of JNLP file to launch (url or file).(Exactly one argument expected)
    -nosecurity          - Disables the secure runtime environment.(No argument expected)
    -noupdate            - Disables checking for updates.(No argument expected)
    -param name=value    - Adds an applet parameter before launching.(Expected one or more arguments)
    -property name=value - Sets a system property before launching.(Expected one or more arguments)
    -strict              - Enables strict checking of JNLP file format.(No argument expected)
    -update seconds      - Check for updates.(Exactly one argument expected)
    -verbose             - Enable verbose output.(No argument expected)
    -version             - Print the IcedTea-Web version and exit.(No argument expected)
    -Xignoreheaders      - Skip jar header verification.(No argument expected)
    -xml                 - Uses a strict XML parser to parse the JNLP file.(No argument expected)
    -Xnofork             - Do not create another JVM.(No argument expected)
    -Xoffline            - Prevent ITW network connection. Only cache will be used. Application can still connect.(No argument expected)
    -Xtrustnone          - Instead of asking user, will foretold all answers as no.(No argument expected)

It seems that this version does not support to start jar files directly. The problem is, that I must use a icetea-web version which is compatible with the major Java version in use. For Java 8, the latest icetea-web version is 1.6.2. Do you maybe need a newer Java version?

zhoushengsheng-droid commented 4 years ago

Hi I see that icetea-web has version 1.9 on the official website at present, but in version 1.7, we see that the official understanding is that jar can be opened directly. Can you try version 1.7 to see if it is compatible?

IngoMeyer441 commented 4 years ago

The help text of icedtea-web 1.7.2 is:

SYNOPSIS
    javaws [-run-options] jnlp file
    javaws [-control-options]

OPTIONS
    When specifying options, the name of the jnlp file can be after the command, the -jnlp option, an option with no arguments, or after an argument with an option that takes one argument. A html file that launches a jnlp can be specified after the -html option.
    The jnlp-file can either be a url or a local path.
    The JNLP file should only be specified once, whether as a main argument, after -jnlp or through an html file.
    Control options:
    -about               - Shows a sample application.(No argument expected)
    -help                - Prints out information about supported command and basic usage.(No argument expected)
    -license             - Display the GPL license and exit.(No argument expected)
    -viewer              - Shows the trusted certificate viewer.(No argument expected)
    -Xcacheids           - List available IDs in cache, which you can use to delete individual applications.(Expected none or one argument)
    -Xclearcache         - Clean the JNLP application cache. If you pass argument, only specified application is deleted.(Expected none or one argument)
    Run options:
    -allowredirect       - Follows HTTP redirects.(No argument expected)
    -arg arg             - Adds an application argument before launching.(Expected one or more arguments)
    -browser             - Launch embeded browser. Use in great need only!(Expected one or more arguments)
    -headless            - Disables download window, other UIs.(No argument expected)
    -html                - Location of HTML file to launch (url or file). You can use parameter ALL  or numbers (like 1 2 5) to select applets on page. However experimental, this switch should keep you still in safety.(Expected one or more arguments)
    -jnlp                - Location of JNLP file to launch (url or file).(Exactly one argument expected)
    -nosecurity          - Disables the secure runtime environment. You need also  deployment.security.itw.ignorecertissues to workaround corrupted signatures(No argument expected)
    -noupdate            - Disables checking for updates.(No argument expected)
    -param name=value    - Adds an applet parameter before launching.(Expected one or more arguments)
    -property name=value - Sets a system property before launching.(Expected one or more arguments)
    -strict              - Enables strict checking of JNLP file format.(No argument expected)
    -update seconds      - Check for updates.(Exactly one argument expected)
    -verbose             - Enable verbose output.(No argument expected)
    -version             - Print the IcedTea-Web version and exit.(No argument expected)
    -Xignoreheaders      - Skip jar header verification.(No argument expected)
    -xml                 - Uses a strict XML parser to parse the JNLP file.(No argument expected)
    -Xnofork             - Do not create another JVM.(No argument expected)
    -Xoffline            - Prevent ITW network connection. Only cache will be used. Application can still connect.(No argument expected)
    -Xtrustnone          - Instead of asking user, will foretold all answers as no.(No argument expected)

There is no option to directly execute a jar file. Where did you get the information from?

IngoMeyer441 commented 4 years ago

Can you download a jnlp file when you visit the administration web page of the Dell machine? Maybe we can find a way to grab this file if it exists.

zhoushengsheng-droid commented 4 years ago

Hello, Dell c6220 is accessed through HTTPS. When downloading the JNLP file, the file will be followed by a batch of randomly generated numbers, such as https://192.168.1.10/viewer.jnlp (192.168.1.10 @ 0 @ 123213218590)? ST1 = e3af7ec. Then every time he logs in and opens it, he generates a different number. So this is something we can't solve here.

For icetea web, we can see that version 1.7 of jar is written on the official website, but we are not sure whether it can be accessed directly. We will actually build an environment to test it. To give you advice.

IngoMeyer441 commented 4 years ago

Maybe I am wrong, but I don't think that is possible to execute the jar directly (even if supported by icedtea-web). In most cases, the JNLP file contains login information that is needed to get a connection to the KVM host.

Another user mailed me a similar problem a few days ago. In his case, the JNLP file was generated by Javascript on-the-fly when the download started. However, in many cases only the server url and the session id changes in the JNLP file. So we solved the problem in the following way:

The latest version of this tool also supports Oracle Java version 8. It can be useful if the OpenJDK is not compatible with your kvm console.

zhoushengsheng-droid commented 4 years ago

Hello, I tried the method you provided. When testing this machine, I used the above statement and grabbed the following data to know that the SCK key value of this machine is ST1. GET /viewer.jnlp(192.168.1.10@0@1587712540634)?ST1=c5ff9ef7965bf46ac96bea37e70669b3ea2882f284d88324c9fa32119170b33 However, after the configuration is completed, enter the password and it will report a receiver error 4. After trying to change the down endpoint, I am still confused. Is it where I input it wrong. If set directly to If the value of {base_URL} / viewer. JNLP{session_key} is used, the docker terminated with return code 4. May you entered a wrong password? The configuration file is as follows: [test] download_endpoint = {base_url}/viewer.jnlp(192.168.1.10@0@time.time()){session_key} format_jnlp = True session_cookie_key = ST1 Please help me to see what's wrong

IngoMeyer441 commented 4 years ago

{base_url} and {session_key} are only replaced in the JNLP file itself, not in the configuration file of nojava-ipmi-kvm.

IngoMeyer441 commented 4 years ago

You can also pass the --debug switch to get detailed output from the underlying commands when Docker is executed.

zhoushengsheng-droid commented 4 years ago

[ERROR] Downloading the ipmi kvm viewer file from https://10.8.29.3/viewer.jnlp('.10.8.29.3.'@0@'.time().').jnlp failed. [ERROR] Docker terminated with return code 4. Maybe you entered a wrong password? Hello, I can see what the problem is. When reading the JNLP file, he added the SEK code and time stamp. But I don't know how to get the key name. Docker is very simple and rude when downloading this file. What correlation value can be used instead?

IngoMeyer441 commented 4 years ago

Could you please send the JNLP file?

zhoushengsheng-droid commented 4 years ago

sure,How can I send it to you?

IngoMeyer441 commented 4 years ago

It should be quite short. If you replace the session secret with a dummy value, you can paste it here in the issue.

zhoushengsheng-droid commented 4 years ago

Can I add your friend, please? We can provide you a c6220 Internet IPMI for your test. But the account password needs to be sent to you by yourself.

IngoMeyer441 commented 4 years ago

My mail address is i.heimbach<at>fz-juelich.de.

zhoushengsheng-droid commented 4 years ago

Hi, I sent you a test email. Have you received it?

zhoushengsheng-droid commented 4 years ago

Hello, I have made new progress here. I wonder if I can discuss it with you. I have sent you an email.

zhoushengsheng-droid commented 4 years ago

There are still some questions in the back. Can I ask you directly through email?

------------------ 原始邮件 ------------------ 发件人: "Ingo Heimbach"<notifications@github.com>; 发送时间: 2020年5月19日(星期二) 晚上8:31 收件人: "sciapp/nojava-ipmi-kvm"<nojava-ipmi-kvm@noreply.github.com>; 抄送: "DB Sin"<613877365@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [sciapp/nojava-ipmi-kvm] sciapp/nojava-ipmi-kvm install error (#5)

Closed #5.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

IngoMeyer441 commented 4 years ago

I have closed the issue because we discussed everything via mail.

IngoMeyer441 commented 4 years ago

If you would like to report problems or request new features, you can of course use the issue tracker. For specific discussions mail is better.

zhoushengsheng-droid commented 4 years ago

OK, thank you very much  

------------------ 原始邮件 ------------------ 发件人: "Ingo Heimbach"<notifications@github.com>; 发送时间: 2020年5月19日(星期二) 晚上8:45 收件人: "sciapp/nojava-ipmi-kvm"<nojava-ipmi-kvm@noreply.github.com>; 抄送: "DB Sin"<613877365@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [sciapp/nojava-ipmi-kvm] sciapp/nojava-ipmi-kvm install error (#5)

If you would like to report problems or request new features, you can of course use the issue tracker. For specific discussions mail is better.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

zhoushengsheng-droid commented 4 years ago

Hello, my friend  we now have a problem. If we log in normally and log out normally, we can monitor the string of NOVNC, but if there is an abnormal logout, for example, the container does not appear window As a result, the container is not closed, the network is interrupted during use, and the container is not closed. Will not produce any strings. So how to ensure that the container end is disconnected when the client exits abnormally or exits normally, that is, my browser NOVNC is disconnected. You can send a command to close the container to deal with.

------------------ 原始邮件 ------------------ 发件人: "Ingo Heimbach"<notifications@github.com>; 发送时间: 2020年5月19日(星期二) 晚上8:45 收件人: "sciapp/nojava-ipmi-kvm"<nojava-ipmi-kvm@noreply.github.com>; 抄送: "DB Sin"<613877365@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [sciapp/nojava-ipmi-kvm] sciapp/nojava-ipmi-kvm install error (#5)

If you would like to report problems or request new features, you can of course use the issue tracker. For specific discussions mail is better.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

IngoMeyer441 commented 4 years ago

Hey, did you consider the web socket solution, we talked about? With an additional web socket, you can receive events on a connection close / loss. That should also work without a normal log out.

zhoushengsheng-droid commented 4 years ago

hey We have thought about monitoring through that, but no one on our side is familiar with WEB sockets and Tornado. Could you tell me about what you need to do, if it can be released and let us test it, it will be better.

------------------ 原始邮件 ------------------ 发件人: "Ingo Heimbach"<notifications@github.com>; 发送时间: 2020年5月25日(星期一) 晚上6:48 收件人: "sciapp/nojava-ipmi-kvm"<nojava-ipmi-kvm@noreply.github.com>; 抄送: "DB Sin"<613877365@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [sciapp/nojava-ipmi-kvm] sciapp/nojava-ipmi-kvm install error (#5)

Hey, did you consider the web socket solution, we talked about? With an additional web socket, you can receive events on a connection close / loss. That should also work without a normal log out.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

IngoMeyer441 commented 4 years ago

We are going to release the web kvm project. However, my colleague who mainly developed the web part is currently involved into other projects so it will still take a bit of time.

zhoushengsheng-droid commented 4 years ago

Okay, thank you very much. We will share with you if there is any new progress.

------------------ 原始邮件 ------------------ 发件人: "Ingo Heimbach"<notifications@github.com>; 发送时间: 2020年5月25日(星期一) 晚上7:51 收件人: "sciapp/nojava-ipmi-kvm"<nojava-ipmi-kvm@noreply.github.com>; 抄送: "DB Sin"<613877365@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [sciapp/nojava-ipmi-kvm] sciapp/nojava-ipmi-kvm install error (#5)

We are going to release the web kvm project. However, my colleague who mainly developed the web part is currently involved into other projects so it will still take a bit of time.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

zhoushengsheng-droid commented 4 years ago

I seem to have encountered a problem. At present, NOJAVA will run very slowly when it is first generated. Especially slow, especially stuck in this place. The following is the generated code, I hope to get your help. Is there any way to directly cache locally, otherwise I need to spend a lot of time every time I generate it.

[INFO] Waiting for the Docker container to be up and ready... Selecting previously unselected package openjdk-7-jre:amd64. Preparing to unpack openjdk-7-jre_7u51-2.4.6-1_amd64.deb ... Unpacking openjdk-7-jre:amd64 (7u51-2.4.6-1) ... Setting up libjpeg8:amd64 (8d1-2) ... Setting up openjdk-7-jre-headless:amd64 (7u51-2.4.6-1) ... Installing new version of config file /etc/java-7-openjdk/calendars.properties ... Installing new version of config file /etc/java-7-openjdk/jvm-amd64.cfg ... Installing new version of config file /etc/java-7-openjdk/sound.properties ... Installing new version of config file /etc/java-7-openjdk/management/management.properties ... Installing new version of config file /etc/java-7-openjdk/security/java.policy ... Installing new version of config file /etc/java-7-openjdk/security/java.security ... Installing new version of config file /etc/java-7-openjdk/net.properties ... Installing new version of config file /etc/java-7-openjdk/fontconfig.properties ... Installing new version of config file /etc/java-7-openjdk/tz.properties ... Setting up openjdk-7-jre:amd64 (7u51-2.4.6-1) ... update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/policytool to provide /usr/bin/policytool (policytool) in auto mode Processing triggers for mime-support (3.58) ... Processing triggers for libc-bin (2.19-18+deb8u10) ... Selecting previously unselected package icedtea-7-plugin:amd64. (Reading database ... 14545 files and directories currently installed.) Preparing to unpack icedtea-7-plugin_1.5.3-1_amd64.deb ... Unpacking icedtea-7-plugin:amd64 (1.5.3-1) ... Selecting previously unselected package icedtea-netx-common. Preparing to unpack icedtea-netx-common_1.5.3-1_all.deb ... Unpacking icedtea-netx-common (1.5.3-1) ... Selecting previously unselected package icedtea-netx:amd64. Preparing to unpack icedtea-netx_1.5.3-1_amd64.deb ... Unpacking icedtea-netx:amd64 (1.5.3-1) ... Setting up icedtea-netx-common (1.5.3-1) ... Setting up icedtea-netx:amd64 (1.5.3-1) ... update-alternatives: using /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/javaws to provide /usr/bin/javaws (javaws) in auto mode update-alternatives: using /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/itweb-settings to provide /usr/bin/itweb-settings (itweb-settings) in auto mode update-alternatives: warning: not replacing /usr/share/man/man1/itweb-settings.1.gz with a link update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javaws to provide /usr/bin/javaws (javaws) in auto mode update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/itweb-settings to provide /usr/bin/itweb-settings (itweb-settings) in auto mode update-alternatives: warning: not replacing /usr/share/man/man1/itweb-settings.1.gz with a link Setting up icedtea-7-plugin:amd64 (1.5.3-1) ... Processing triggers for mime-support (3.58) ... unable to load certificate 140250481149584:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:696:Expecting: TRUSTED CERTIFICATE

------------------ 原始邮件 ------------------ 发件人: "Ingo Heimbach"<notifications@github.com>; 发送时间: 2020年5月25日(星期一) 晚上7:51 收件人: "sciapp/nojava-ipmi-kvm"<nojava-ipmi-kvm@noreply.github.com>; 抄送: "DB Sin"<613877365@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [sciapp/nojava-ipmi-kvm] sciapp/nojava-ipmi-kvm install error (#5)

We are going to release the web kvm project. However, my colleague who mainly developed the web part is currently involved into other projects so it will still take a bit of time.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

IngoMeyer441 commented 4 years ago

Hey, if it is only slow on the first run, Docker is probably pulling the missing nojava-ipmi-kvm image from DockerHub. For example, you could try to run

docker pull sciapp/nojava-ipmi-kvm:latest-openjdk-7

to get the openjdk 7 image before you first start nojava-ipmi-kvm.

Best, Ingo

Am 12. Juni 2020 03:39:22 MESZ schrieb zhoushengsheng-droid notifications@github.com:

I seem to have encountered a problem. At present, NOJAVA will run very slowly when it is first generated. Especially slow, especially stuck in this place. The following is the generated code, I hope to get your help. Is there any way to directly cache locally, otherwise I need to spend a lot of time every time I generate it.

[INFO] Waiting for the Docker container to be up and ready... Selecting previously unselected package openjdk-7-jre:amd64. Preparing to unpack openjdk-7-jre_7u51-2.4.6-1_amd64.deb ... Unpacking openjdk-7-jre:amd64 (7u51-2.4.6-1) ... Setting up libjpeg8:amd64 (8d1-2) ... Setting up openjdk-7-jre-headless:amd64 (7u51-2.4.6-1) ... Installing new version of config file /etc/java-7-openjdk/calendars.properties ... Installing new version of config file /etc/java-7-openjdk/jvm-amd64.cfg ... Installing new version of config file /etc/java-7-openjdk/sound.properties ... Installing new version of config file /etc/java-7-openjdk/management/management.properties ... Installing new version of config file /etc/java-7-openjdk/security/java.policy ... Installing new version of config file /etc/java-7-openjdk/security/java.security ... Installing new version of config file /etc/java-7-openjdk/net.properties ... Installing new version of config file /etc/java-7-openjdk/fontconfig.properties ... Installing new version of config file /etc/java-7-openjdk/tz.properties ... Setting up openjdk-7-jre:amd64 (7u51-2.4.6-1) ... update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/policytool to provide /usr/bin/policytool (policytool) in auto mode Processing triggers for mime-support (3.58) ... Processing triggers for libc-bin (2.19-18+deb8u10) ... Selecting previously unselected package icedtea-7-plugin:amd64. (Reading database ... 14545 files and directories currently installed.) Preparing to unpack icedtea-7-plugin_1.5.3-1_amd64.deb ... Unpacking icedtea-7-plugin:amd64 (1.5.3-1) ... Selecting previously unselected package icedtea-netx-common. Preparing to unpack icedtea-netx-common_1.5.3-1_all.deb ... Unpacking icedtea-netx-common (1.5.3-1) ... Selecting previously unselected package icedtea-netx:amd64. Preparing to unpack icedtea-netx_1.5.3-1_amd64.deb ... Unpacking icedtea-netx:amd64 (1.5.3-1) ... Setting up icedtea-netx-common (1.5.3-1) ... Setting up icedtea-netx:amd64 (1.5.3-1) ... update-alternatives: using /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/javaws to provide /usr/bin/javaws (javaws) in auto mode update-alternatives: using /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/itweb-settings to provide /usr/bin/itweb-settings (itweb-settings) in auto mode update-alternatives: warning: not replacing /usr/share/man/man1/itweb-settings.1.gz with a link update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javaws to provide /usr/bin/javaws (javaws) in auto mode update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/itweb-settings to provide /usr/bin/itweb-settings (itweb-settings) in auto mode update-alternatives: warning: not replacing /usr/share/man/man1/itweb-settings.1.gz with a link Setting up icedtea-7-plugin:amd64 (1.5.3-1) ... Processing triggers for mime-support (3.58) ... unable to load certificate 140250481149584:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:696:Expecting: TRUSTED CERTIFICATE

------------------ 原始邮件 ------------------ 发件人: "Ingo Heimbach"<notifications@github.com>; 发送时间: 2020年5月25日(星期一) 晚上7:51 收件人: "sciapp/nojava-ipmi-kvm"<nojava-ipmi-kvm@noreply.github.com>; 抄送: "DB Sin"<613877365@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [sciapp/nojava-ipmi-kvm] sciapp/nojava-ipmi-kvm install error (#5)

We are going to release the web kvm project. However, my colleague who mainly developed the web part is currently involved into other projects so it will still take a bit of time.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/sciapp/nojava-ipmi-kvm/issues/5#issuecomment-643017234, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AALBY73SHGXVZALRF37GUIDRWGBMVANCNFSM4MLSRTUA.



Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Volker Rieke Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt


zhoushengsheng-droid commented 4 years ago

If I don't have a fixed version of the program, once you update it, I will update it, right? And I already have images for nojava 7.2

------------------ 原始邮件 ------------------ 发件人: "Ingo Heimbach"<notifications@github.com>; 发送时间: 2020年6月12日(星期五) 下午4:26 收件人: "sciapp/nojava-ipmi-kvm"<nojava-ipmi-kvm@noreply.github.com>; 抄送: "DB Sin"<613877365@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [sciapp/nojava-ipmi-kvm] sciapp/nojava-ipmi-kvm install error (#5)

Hey, if it is only slow on the first run, Docker is probably pulling the missing nojava-ipmi-kvm image from DockerHub. For example, you could try to run

docker pull sciapp/nojava-ipmi-kvm:latest-openjdk-7

to get the openjdk 7 image before you first start nojava-ipmi-kvm.

Best, Ingo

Am 12. Juni 2020 03:39:22 MESZ schrieb zhoushengsheng-droid <notifications@github.com>:

I seem to have encountered a problem. At present, NOJAVA will run very slowly when it is first generated. Especially slow, especially stuck in this place. The following is the generated code, I hope to get your help. Is there any way to directly cache locally, otherwise I need to spend a lot of time every time I generate it.

[INFO] Waiting for the Docker container to be up and ready... Selecting previously unselected package openjdk-7-jre:amd64. Preparing to unpack openjdk-7-jre_7u51-2.4.6-1_amd64.deb ... Unpacking openjdk-7-jre:amd64 (7u51-2.4.6-1) ... Setting up libjpeg8:amd64 (8d1-2) ... Setting up openjdk-7-jre-headless:amd64 (7u51-2.4.6-1) ... Installing new version of config file /etc/java-7-openjdk/calendars.properties ... Installing new version of config file /etc/java-7-openjdk/jvm-amd64.cfg ... Installing new version of config file /etc/java-7-openjdk/sound.properties ... Installing new version of config file /etc/java-7-openjdk/management/management.properties ... Installing new version of config file /etc/java-7-openjdk/security/java.policy ... Installing new version of config file /etc/java-7-openjdk/security/java.security ... Installing new version of config file /etc/java-7-openjdk/net.properties ... Installing new version of config file /etc/java-7-openjdk/fontconfig.properties ... Installing new version of config file /etc/java-7-openjdk/tz.properties ... Setting up openjdk-7-jre:amd64 (7u51-2.4.6-1) ... update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/policytool to provide /usr/bin/policytool (policytool) in auto mode Processing triggers for mime-support (3.58) ... Processing triggers for libc-bin (2.19-18+deb8u10) ... Selecting previously unselected package icedtea-7-plugin:amd64. (Reading database ... 14545 files and directories currently installed.) Preparing to unpack icedtea-7-plugin_1.5.3-1_amd64.deb ... Unpacking icedtea-7-plugin:amd64 (1.5.3-1) ... Selecting previously unselected package icedtea-netx-common. Preparing to unpack icedtea-netx-common_1.5.3-1_all.deb ... Unpacking icedtea-netx-common (1.5.3-1) ... Selecting previously unselected package icedtea-netx:amd64. Preparing to unpack icedtea-netx_1.5.3-1_amd64.deb ... Unpacking icedtea-netx:amd64 (1.5.3-1) ... Setting up icedtea-netx-common (1.5.3-1) ... Setting up icedtea-netx:amd64 (1.5.3-1) ... update-alternatives: using /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/javaws to provide /usr/bin/javaws (javaws) in auto mode update-alternatives: using /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/itweb-settings to provide /usr/bin/itweb-settings (itweb-settings) in auto mode update-alternatives: warning: not replacing /usr/share/man/man1/itweb-settings.1.gz with a link update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javaws to provide /usr/bin/javaws (javaws) in auto mode update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/itweb-settings to provide /usr/bin/itweb-settings (itweb-settings) in auto mode update-alternatives: warning: not replacing /usr/share/man/man1/itweb-settings.1.gz with a link Setting up icedtea-7-plugin:amd64 (1.5.3-1) ... Processing triggers for mime-support (3.58) ... unable to load certificate 140250481149584:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:696:Expecting: TRUSTED CERTIFICATE

------------------&nbsp;原始邮件&nbsp;------------------ 发件人:&nbsp;"Ingo Heimbach"<notifications@github.com&gt;; 发送时间:&nbsp;2020年5月25日(星期一) 晚上7:51 收件人:&nbsp;"sciapp/nojava-ipmi-kvm"<nojava-ipmi-kvm@noreply.github.com&gt;; 抄送:&nbsp;"DB Sin"<613877365@qq.com&gt;;"Author"<author@noreply.github.com&gt;; 主题:&nbsp;Re: [sciapp/nojava-ipmi-kvm] sciapp/nojava-ipmi-kvm install error (#5)

We are going to release the web kvm project. However, my colleague who mainly developed the web part is currently involved into other projects so it will still take a bit of time.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub<https://github.com/sciapp/nojava-ipmi-kvm/issues/5#issuecomment-643017234&gt;, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AALBY73SHGXVZALRF37GUIDRWGBMVANCNFSM4MLSRTUA&gt;.



Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Volker Rieke Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt


— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

IngoMeyer441 commented 4 years ago

If an updated version is released, you can run always

pip install -U nojava-ipmi-kvm

to get the latest version.

Is only the first run slow or is the program start slow in general?

zhoushengsheng-droid commented 4 years ago

Two problems 1.After starting multiple NOJAVA projects, it will start very slowly, and you need to restart the docker server to solve it.

2.There is a Huawei XH320 model on my side. After using NOVNC, the DEBIAN platform can operate the mouse to switch it on and off. However, you cannot type any value using the keyboard. But he can recognize the upper and lower case buttons of the keyboard, and can enter the numbers 1-9 of the keypad. Others cannot be operated. Hope you can help me see.

------------------ 原始邮件 ------------------ 发件人: "Ingo Heimbach"<notifications@github.com>; 发送时间: 2020年6月12日(星期五) 晚上8:55 收件人: "sciapp/nojava-ipmi-kvm"<nojava-ipmi-kvm@noreply.github.com>; 抄送: "DB Sin"<613877365@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [sciapp/nojava-ipmi-kvm] sciapp/nojava-ipmi-kvm install error (#5)

If an updated version is released, you can run always pip install -U nojava-ipmi-kvm
to get the latest version.

Is only the first run slow or is the program start slow in general?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

IngoMeyer441 commented 4 years ago
  1. How many instances of nojava-ipmi-kvm do you run in parallel? Do you maybe run out of resources (most probably RAM)? Docker is lightweight virtualization but nojava-ipmi-kvm starts a virtual X server and quite a lot of other programs so it is a kind of "mini virtual machine".
  2. Do you use an English keyboard? If it is another language that could be the cause of the problem.
zhoushengsheng-droid commented 4 years ago

The result of my test is that pressing F1, F3 and F4 on the keyboard will display ACD in KVM, so I suspect it is caused by the keyboard in Debian system.

------------------ 原始邮件 ------------------ 发件人: "Ingo Heimbach"<notifications@github.com>; 发送时间: 2020年6月19日(星期五) 晚上9:08 收件人: "sciapp/nojava-ipmi-kvm"<nojava-ipmi-kvm@noreply.github.com>; 抄送: "DB Sin"<613877365@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [sciapp/nojava-ipmi-kvm] sciapp/nojava-ipmi-kvm install error (#5)

How many instances of nojava-ipmi-kvm do you run in parallel? Do you maybe run out of resources (most probably RAM)? Docker is lightweight virtualization but nojava-ipmi-kvm starts a virtual X server and quite a lot of other programs so it is a kind of "mini virtual machine".

Do you use an English keyboard? If it is another language that could be the cause of the problem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

IngoMeyer441 commented 4 years ago

Yes, could be possible. But I don't know how to reproduce this.

zhoushengsheng-droid commented 4 years ago

Can you create a test environment by downloading the JNLP file to test how to fix the bug?

------------------ 原始邮件 ------------------ 发件人: "Ingo Heimbach"<notifications@github.com>; 发送时间: 2020年6月19日(星期五) 晚上9:32 收件人: "sciapp/nojava-ipmi-kvm"<nojava-ipmi-kvm@noreply.github.com>; 抄送: "DB Sin"<613877365@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [sciapp/nojava-ipmi-kvm] sciapp/nojava-ipmi-kvm install error (#5)

Yes, could be possible. But I don't know how to reproduce this.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

zhoushengsheng-droid commented 4 years ago

I can provide you with a test machine.

------------------ 原始邮件 ------------------ 发件人: "Ingo Heimbach"<notifications@github.com>; 发送时间: 2020年6月19日(星期五) 晚上9:32 收件人: "sciapp/nojava-ipmi-kvm"<nojava-ipmi-kvm@noreply.github.com>; 抄送: "DB Sin"<613877365@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [sciapp/nojava-ipmi-kvm] sciapp/nojava-ipmi-kvm install error (#5)

Yes, could be possible. But I don't know how to reproduce this.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

IngoMeyer441 commented 4 years ago

I think a test machine would be better. However, today I have no free time I could spend on bug search...

zhoushengsheng-droid commented 4 years ago

it will be OK. You can fix the bug when you have time. Can I send you the tester now. If you want to do this, you need to generate JNLP as one of the steps.

------------------ 原始邮件 ------------------ 发件人: "Ingo Heimbach"<notifications@github.com>; 发送时间: 2020年6月19日(星期五) 晚上9:36 收件人: "sciapp/nojava-ipmi-kvm"<nojava-ipmi-kvm@noreply.github.com>; 抄送: "DB Sin"<613877365@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [sciapp/nojava-ipmi-kvm] sciapp/nojava-ipmi-kvm install error (#5)

I think a test machine would be better. However, today I have no free time I could spend on bug search...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

zhoushengsheng-droid commented 4 years ago

Can I give you the test machine later? Because the people on my side are off work now.

Thank you again for your help

------------------ 原始邮件 ------------------ 发件人: "Ingo Heimbach"<notifications@github.com>; 发送时间: 2020年6月19日(星期五) 晚上9:36 收件人: "sciapp/nojava-ipmi-kvm"<nojava-ipmi-kvm@noreply.github.com>; 抄送: "DB Sin"<613877365@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [sciapp/nojava-ipmi-kvm] sciapp/nojava-ipmi-kvm install error (#5)

I think a test machine would be better. However, today I have no free time I could spend on bug search...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

IngoMeyer441 commented 4 years ago

Of course. But could we maybe switch to mail only? All the messages are also pushed to the GitHub issue.

jimmy10969 commented 2 years ago

Hello, I tried to use this project a few days ago but I faced the same problem with accessing the jnlp file in a dell due to that weird name and can't find a solution. Can you please explain how you solved that ?

zhoushengsheng-droid commented 2 years ago

He can only download it by simple name. You need to download your server JNLP file to convert it into a simple name, and then use this program to download the name of the file you downloaded. Can you see what I mean?

------------------ 原始邮件 ------------------ 发件人: "sciapp/nojava-ipmi-kvm" @.>; 发送时间: 2022年2月10日(星期四) 下午3:45 @.>; 抄送: "DB @.**@.>; 主题: Re: [sciapp/nojava-ipmi-kvm] sciapp/nojava-ipmi-kvm install error (#5)

Hello, I tried to use this project a few days ago but I faced the same problem with accessing the jnlp file in a dell due to that weird name and can't find a solution. Can you please explain how you solved that ?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

jimmy10969 commented 2 years ago

Thanks