Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to running ? #9

Open
haiwan-xm opened this issue Dec 19, 2019 · 12 comments
Open

how to running ? #9

haiwan-xm opened this issue Dec 19, 2019 · 12 comments

Comments

@haiwan-xm
Copy link

hi admin
this is a good proect.

so first running docker
later running console-supermicro.sh 192.0.2.10 username password ?
right

@mat128
Copy link
Contributor

mat128 commented Dec 19, 2019

That's right. Are you having any issue?

Edit: obviously, you need to replace the IP address with your own, and the username/password by the appropriate values. Username and password can be left out, and the default ADMIN/ADMIN will be used.

@haiwan-xm
Copy link
Author

tks, admin reply me
we want use php development manager system connect this running this.
have give me demo.
tks

@haiwan-xm
Copy link
Author

or this docker have wish running dell c6220 server ipmi.
see c6220 and supermicro same use jave running jnlp .
we plan realize use website manage server and see vnc

@haiwan-xm
Copy link
Author

and we try this
docker run -p 5900:5900 internap/kvm-console-supermicro
later we use ip see notice faile.
so we ctrl+c stop docker
later running this

[root@localhost ~]# docker run -p 85:5900 internap/kvm-console-supermicro
docker: Error response from daemon: driver failed programming external connectivity on endpoint dreamy_euler (02eb8cbca0c17ffa757a6e54ae42af67a2b95e85de9db325cf37e6fa013140ca): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 85 -j DNAT --to-destination 172.17.0.2:5900 ! -i docker0: iptables: No chain/target/match by that name.
(exit status 1)).
ERRO[0000] error waiting for container: context canceled
so this error reason is docker port 5900 repeat?
tks

@haiwan-xm
Copy link
Author

tcping 192.168.88.168 85

Probing 192.168.88.168:85/tcp - Port is open - time=3ms
Probing 192.168.88.168:85/tcp - Port is open - time=1ms
Probing 192.168.88.168:85/tcp - Port is open - time=1ms
Probing 192.168.88.168:85/tcp - Port is open - time=1ms

Ping statistics for 192.168.88.168:85:
4 probes sent.
Approximate trip times in milli-seconds:
Minimum = 1ms, Maximum = 3ms, Average = 1ms
we test this port have open

@haiwan-xm
Copy link
Author

2019-12-20 06:59:21,107 INFO spawned: 'idle-timeout' with pid 2109
2019-12-20 06:59:22,110 INFO success: idle-timeout entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019-12-20 06:59:22,113 INFO spawned: 'viewer-app' with pid 2116
2019-12-20 06:59:22,300 INFO exited: viewer-app (exit status 1; not expected)
2019-12-20 06:59:22,313 INFO stopped: x11-server (exit status 1)
2019-12-20 06:59:22,332 INFO exited: vnc-server (exit status 3; not expected)
2019-12-20 06:59:23,035 INFO spawned: 'vnc-server' with pid 2130
2019-12-20 06:59:23,039 INFO stopped: vnc-export-app (terminated by SIGKILL)
2019-12-20 06:59:23,060 INFO exited: vnc-server (exit status 1; not expected)
2019-12-20 06:59:24,037 CRIT reaped unknown pid 2131)
2019-12-20 06:59:25,043 INFO spawned: 'vnc-server' with pid 2134
2019-12-20 06:59:25,070 INFO exited: vnc-server (exit status 1; not expected)
2019-12-20 06:59:26,075 INFO spawned: 'viewer-app' with pid 2137
2019-12-20 06:59:26,262 INFO exited: viewer-app (exit status 1; not expected)
2019-12-20 06:59:27,268 INFO spawned: 'vnc-server' with pid 2146
2019-12-20 06:59:27,269 INFO gave up: viewer-app entered FATAL state, too many start retries too quickly
2019-12-20 06:59:27,295 INFO exited: vnc-server (exit status 1; not expected)
2019-12-20 06:59:30,303 INFO spawned: 'vnc-server' with pid 2149
2019-12-20 06:59:30,330 INFO exited: vnc-server (exit status 1; not expected)
2019-12-20 06:59:31,333 INFO gave up: vnc-server entered FATAL state, too many start retries too quickly

@haiwan-xm
Copy link
Author

hi have online?
we no running this docker

@mat128
Copy link
Contributor

mat128 commented Jan 13, 2020

Hi,

Could you please run the following command and provide the console output:

Please replace the IP address, username and password for the actual values.
Your credentials will be part of the console output, please obfuscate them to keep them private.

docker run --rm \
    -e IPMI_ADDRESS=192.168.0.1 \
    -e IPMI_USERNAME=ADMIN \
    -e IPMI_USERNAME=ADMIN \
    --entrypoint /bin/bash \
    internap/kvm-console-supermicro \
    -x /opt/kvm-console/bin/viewer-app.sh

Additionally, can you please run the following command and paste the output as well:
curl -v --insecure -s -X POST http://192.168.0.1/cgi/login.cgi --data 'name=ADMIN&pwd=ADMIN' -i

Again, please replace the IP address and username/password. Make sure to obfuscate them in the logs.

@haiwan-xm
Copy link
Author

[root@localhost ~]# curl -v --insecure -s -X POST http://192.168.3.126/cgi/login.cgi --data 'name=ADMIN&pwd=ADMIN' -icurl -v --insecure -s -X POST http://192.168.0.1/cgi/login.cgi --data 'name=ADMIN&pwd=ADMIN' -i

  • About to connect() to 192.168.3.126 port 80 (#0)
  • Trying 192.168.3.126...
  • Connected to 192.168.3.126 (192.168.3.126) port 80 (#0)

POST /cgi/login.cgi HTTP/1.1
User-Agent: curl/7.29.0
Host: 192.168.3.126
Accept: /
Content-Length: 41
Content-Type: application/x-www-form-urlencoded

  • upload completely sent off: 41 out of 41 bytes
    < HTTP/1.1 200 OK
    HTTP/1.1 200 OK
  • Added cookie SID="" for domain 192.168.3.126, path /cgi/, expire 1
    < Set-Cookie: SID=; expires=Thursday,01-Jan-1970 00:00:00 GMT; HttpOnly
    Set-Cookie: SID=; expires=Thursday,01-Jan-1970 00:00:00 GMT; HttpOnly
  • Added cookie SID="qwgqyzvoyumnmeoy" for domain 192.168.3.126, path /, expire 0
    < Set-Cookie: SID=qwgqyzvoyumnmeoy; path=/ ; HttpOnly
    Set-Cookie: SID=qwgqyzvoyumnmeoy; path=/ ; HttpOnly
    < Content-Length: 593
    Content-Length: 593
    < Content-Type: text/html
    Content-Type: text/html
    < Date: Thu, 16 Jan 2020 16:55:07 GMT
    Date: Thu, 16 Jan 2020 16:55:07 GMT
    < Server: lighttpd/1.4.35
    Server: lighttpd/1.4.35

<

<title></title> <script language="JavaScript" type="text/javascript"> </script> * Connection #0 to host 192.168.3.126 left intact * About to connect() to 192.168.0.1 port 80 (#1) * Trying 192.168.0.1... * Connection refused * Failed connect to 192.168.0.1:80; Connection refused * Closing connection 1

check log

@haiwan-xm
Copy link
Author

this have right ? tks reply me

@haiwan-xm
Copy link
Author

hello ,mat128
have time give me demo image or veido about running ?
really tks. becuase we running failed.
we online waitting your reply. tks

@shuaiscott
Copy link

This worked for me running Windows 10 WSL2 Debian + Docker:

docker run \
    -e IPMI_ADDRESS=<ip> \
    -e IPMI_USERNAME=<username> \
    -e IPMI_PASSWORD=<password> \
    -e DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0 \
    --entrypoint /bin/bash \
    --name ipmi \
    internap/kvm-console-supermicro \
    -x /opt/kvm-console/bin/viewer-app.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants