Poll

Should I add IPv6 support to the VMs?

Hell yeah! (Yes)
1 (100%)
No way! (No)
0 (0%)
What the f*ck? (What?)
0 (0%)
Get the f*ck out of here! (Don`t have opinion!)
0 (0%)

Total Members Voted: 1

Voting closed: August 02, 2017, 09:22:04 PM

Author Topic: OpenVZ with CWP  (Read 4868 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
Re: OpenVZ with CWP
« Reply #45 on: October 26, 2017, 02:42:48 PM »
You probably found this, if not try it. That was the only thing i found about 1006. If I understand that on github it is firewall related, like service exists on that port but it is unreachable.
GitHub - Server disconnected (code: 1006)

Code: [Select]
iptables -I INPUT -p tcp --dport 6080 -j ACCEPT; iptables -I OUTPUT -p tcp --dport 6080 -j ACCEPT; service iptables save
Did you get any more specific output from
Code: [Select]
websockify -D --web=/usr/share/novnc/ --cert=/etc/pki/tls/certs/novnc.pem 6080 $ipaddr:$inportAnd did you check these 2 vars $ipaddr and $inport if they returns valid values?

Offline
***
Re: OpenVZ with CWP
« Reply #46 on: October 26, 2017, 05:01:54 PM »
Here is the output:
Code: [Select]
[dlkarakashev@cwp vm]$ websockify -D --web=/usr/share/novnc/ --cert=/etc/pki/tls/certs/novnc.pem 6080 192.168.199.113:62000
WebSocket server settings:
  - Listen on :6080
  - Flash security policy server
  - Web server. Web root: /usr/share/novnc
  - SSL/TLS support
  - Backgrounding (daemon)
[dlkarakashev@cwp vm]$
How it have to be. And yes, $ipaddr and $inport return correct values. But as I see there`s a little problem with networking of VMs.
Code: [Select]
[root@born2host /]# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1416 (1.3 KiB)  TX bytes:1416 (1.3 KiB)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:272 (272.0 b)  TX bytes:200 (200.0 b)

venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:192.168.199.113  P-t-P:192.168.199.113  Bcast:192.168.199.113  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

[root@born2host /]# ping google.com
ping: unknown host google.com
I will see what`s going on with the network and I will write to you again.
Current uptime (FreeBSD 8.1-RELEASE-p17):
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

Offline
**
Re: OpenVZ with CWP
« Reply #47 on: October 26, 2017, 06:25:01 PM »
Unknown host can be problem with resolver, but also it can be related to something else with network. :/

What do you get by executing this?
Code: [Select]
cat /etc/sysconfig/network-scripts/ifcfg-venet0
Code: [Select]
cat /etc/sysconfig/network-scripts/ifcfg-venet0:0

Offline
***
Re: OpenVZ with CWP
« Reply #48 on: October 26, 2017, 07:20:29 PM »
Looking for BETA testers with dedicated servers. Better NOT to be behind a router and all the ports to be open. Also will be very good if you have atleast 2 public IP addresses and NOT behind NAT. Write to me on PM.
Current uptime (FreeBSD 8.1-RELEASE-p17):
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...