iconfig:
eth0 Link encap:Ethernet HWaddr 00:18:51:A6:4F:22
inet addr:78.78.77.77 Bcast:78.78.77.255 Mask:255.255.255.128
inet6 addr: fe80::218:51ff:fea6:4f22/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:113671 errors:0 dropped:0 overruns:0 frame:0
TX packets:44739 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14085378 (13.4 MiB) TX bytes:10667627 (10.1 MiB)
eth0:1 Link encap:Ethernet HWaddr 00:18:51:A6:4F:22
inet addr:78.78.77.75 Bcast:78.78.77.255 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth1 Link encap:Ethernet HWaddr 00:18:51:7C:CF:57
inet addr:192.168.2.11 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::218:51ff:fe7c:cf57/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:82934 errors:0 dropped:0 overruns:0 frame:0
TX packets:81484 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19472524 (18.5 MiB) TX bytes:19234809 (18.3 MiB)
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:16436 Metric:1
RX packets:16922 errors:0 dropped:0 overruns:0 frame:0
TX packets:16922 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1216942 (1.1 MiB) TX bytes:1216942 (1.1 MiB)
inet addr:78.78.77.77 Bcast:78.78.77.255 Mask:255.255.255.128
inet6 addr: fe80::218:51ff:fea6:4f22/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:113671 errors:0 dropped:0 overruns:0 frame:0
TX packets:44739 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14085378 (13.4 MiB) TX bytes:10667627 (10.1 MiB)
eth0:1 Link encap:Ethernet HWaddr 00:18:51:A6:4F:22
inet addr:78.78.77.75 Bcast:78.78.77.255 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth1 Link encap:Ethernet HWaddr 00:18:51:7C:CF:57
inet addr:192.168.2.11 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::218:51ff:fe7c:cf57/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:82934 errors:0 dropped:0 overruns:0 frame:0
TX packets:81484 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19472524 (18.5 MiB) TX bytes:19234809 (18.3 MiB)
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:16436 Metric:1
RX packets:16922 errors:0 dropped:0 overruns:0 frame:0
TX packets:16922 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1216942 (1.1 MiB) TX bytes:1216942 (1.1 MiB)
iptables - is just empty, everything ACCEPT, not nat or other tables used
netstat:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 933/nginx
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 590/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 884/sendmail
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 933/nginx
tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN 866/nrpe
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 919/php-fpm
tcp 1 0 192.168.2.11:46444 192.168.2.61:514 CLOSE_WAIT 495/rsyslogd
tcp 0 0 :::22 :::* LISTEN 590/sshd
tcp 0 0 :::5666 :::* LISTEN 866/nrpe
udp 0 0 0.0.0.0:694 0.0.0.0:* 862/heartbeat: writ
udp 0 0 127.0.0.1:123 0.0.0.0:* 604/ntpd
udp 0 0 78.78.77.75:123 0.0.0.0:* 604/ntpd
udp 0 0 78.78.77.77:123 0.0.0.0:* 604/ntpd
udp 0 0 192.168.2.11:123 0.0.0.0:* 604/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 604/ntpd
udp 0 0 0.0.0.0:53930 0.0.0.0:* 862/heartbeat: writ
udp 0 0 ::1:123 :::* 604/ntpd
udp 0 0 fe80::218:51ff:fea6:4f22:123 :::* 604/ntpd
udp 0 0 fe80::218:51ff:fe7c:cf57:123 :::* 604/ntpd
udp 0 0 :::123 :::* 604/ntpd
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 933/nginx
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 590/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 884/sendmail
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 933/nginx
tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN 866/nrpe
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 919/php-fpm
tcp 1 0 192.168.2.11:46444 192.168.2.61:514 CLOSE_WAIT 495/rsyslogd
tcp 0 0 :::22 :::* LISTEN 590/sshd
tcp 0 0 :::5666 :::* LISTEN 866/nrpe
udp 0 0 0.0.0.0:694 0.0.0.0:* 862/heartbeat: writ
udp 0 0 127.0.0.1:123 0.0.0.0:* 604/ntpd
udp 0 0 78.78.77.75:123 0.0.0.0:* 604/ntpd
udp 0 0 78.78.77.77:123 0.0.0.0:* 604/ntpd
udp 0 0 192.168.2.11:123 0.0.0.0:* 604/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 604/ntpd
udp 0 0 0.0.0.0:53930 0.0.0.0:* 862/heartbeat: writ
udp 0 0 ::1:123 :::* 604/ntpd
udp 0 0 fe80::218:51ff:fea6:4f22:123 :::* 604/ntpd
udp 0 0 fe80::218:51ff:fe7c:cf57:123 :::* 604/ntpd
udp 0 0 :::123 :::* 604/ntpd
18.05.2014, 10:04, "Dragomir Zhelev" <dr...@delta.bg>:
Please return output of next commands :
ifconfig
iptables -nvL
netstat -putan
Regards!
On 18.05.2014 09:17, Denis Zinevich wrote:Hello, I have 2 identical hardware servers - for HA, so they also have everything identical inside (OS, settings, etc, just IP's differ). OS - CentOS 6.5, 2.6.32-042stab085.20 ploop containers made from basic template, use veth networking. On some of them nagios checks fails (those that use localhost to check). Problem itself: only on one server (on first it never happened), on containers sometimes (no system, but often) I can't establish connection to 127.0.0.1 no matter what port I use, I tried 80,22 and all others that are listening - connection timed out. I compared networks setings, sysctl's and so on - no difference found. Now mailing to this list because even do not have more ideas where to digg.-- Denis _______________________________________________ Users mailing list Users@openvz.org https://lists.openvz.org/mailman/listinfo/users
--,
Dragomir Zhelev
CEO
Delta SoftMedia OOD
Cellular: +359 895 66 99 79
E-mail: dr...@delta.bg
Web: Delta.BG
_______________________________________________
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@openvz.org https://lists.openvz.org/mailman/listinfo/users