pve-proxy - start failed to get address info

Dec 11, 2015
16
0
1
Hello!

Suddenly, out of nowhere, both of my proxmox 4.1 nodes would not start pxe-proxy after a reboot. All of my VM's are running just fine. This setup has been running good for about two weeks.


root@core01:~# ps -A | grep 'pve'
2825 ? 00:00:00 pvefw-logger
4042 ? 00:00:00 pve-firewall
4048 ? 00:00:01 pvestatd
4057 ? 00:00:00 pvedaemon
4058 ? 00:00:00 pvedaemon worke
4059 ? 00:00:00 pvedaemon worke
4060 ? 00:00:00 pvedaemon worke
4063 ? 00:00:00 pve-ha-crm
4067 ? 00:00:00 pve-ha-lrm
Code:
root@core01:~# pveproxy restart
Job for pveproxy.service failed. See 'systemctl status pveproxy.service' and 'journalctl -xn' for details.
command 'systemctl reload-or-restart pveproxy' failed: exit code 1
root@core01:~# systemctl status pveproxy.service
â pveproxy.service - PVE API Proxy Server
  Loaded: loaded (/lib/systemd/system/pveproxy.service; enabled)
  Active: failed (Result: exit-code) since Sun 2016-02-21 08:07:46 CET; 6s ago
  Process: 4838 ExecStart=/usr/bin/pveproxy start (code=exited, status=255)

Feb 21 08:07:46 core01 pveproxy[4838]: start failed - failed to get address info for: core01: Name or service not known
Feb 21 08:07:46 core01 pveproxy[4838]: start failed - failed to get address info for: core01: Name or service not known
Feb 21 08:07:46 core01 systemd[1]: pveproxy.service: control process exited, code=exited status=255
Feb 21 08:07:46 core01 systemd[1]: Failed to start PVE API Proxy Server.
Feb 21 08:07:46 core01 systemd[1]: Unit pveproxy.service entered failed state.
Code:
root@core01:~# cat /etc/hosts --> was changed only before creation of cluster
127.0.0.1 localhost.localdomain localhost
192.168.0.253 core01 core01.chrjsn.se pvelocalhost
192.168.0.254 core02 core02.chrjsn.se

# The following lines are desirable for IPv6 capable hosts

::1  ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Code:
root@core01:~# pveversion -v
proxmox-ve: 4.1-26 (running kernel: 4.2.6-1-pve)
pve-manager: 4.1-1 (running version: 4.1-1/2f9650d4)
pve-kernel-4.2.6-1-pve: 4.2.6-26
lvm2: 2.02.116-pve2
corosync-pve: 2.3.5-2
libqb0: 0.17.2-1
pve-cluster: 4.0-29
qemu-server: 4.0-41
pve-firmware: 1.1-7
libpve-common-perl: 4.0-41
libpve-access-control: 4.0-10
libpve-storage-perl: 4.0-38
pve-libspice-server1: 0.12.5-2
vncterm: 1.2-1
pve-qemu-kvm: 2.4-17
pve-container: 1.0-32
pve-firewall: 2.0-14
pve-ha-manager: 1.0-14
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u1
lxc-pve: 1.1.5-5
lxcfs: 0.13-pve1
cgmanager: 0.39-pve1
criu: 1.6.0-1
zfsutils: 0.6.5-pve6~jessie
The two nodes are identical and so are the errors and outputs for core02. Tell me if theres any more information you might need.

Thanks!
 
Last edited:
Hi Christoffer,
and how looks your networkconfig?
Code:
ifconfig -a
cat /etc/network/interfaces
run anything else on port 8006?
Code:
ss -patn | grep 8006
which address is showed if you do an
Code:
ping core01
Udo
 
Hi udo!

Code:
root@core01:~# ifconfig -a
eth0  Link encap:Ethernet  HWaddr 08:62:66:35:a3:ef
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:423181 errors:0 dropped:0 overruns:0 frame:0
  TX packets:224265 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:535924828 (511.0 MiB)  TX bytes:19726597 (18.8 MiB)

eth1  Link encap:Ethernet  HWaddr 00:24:81:7b:06:04
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:399400 errors:0 dropped:0 overruns:0 frame:0
  TX packets:532541 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:122309286 (116.6 MiB)  TX bytes:542783290 (517.6 MiB)
  Interrupt:16 Memory:f7ba0000-f7bc0000

eth2  Link encap:Ethernet  HWaddr 00:24:81:7b:06:05
  UP BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
  Interrupt:17 Memory:f7b40000-f7b60000

eth3  Link encap:Ethernet  HWaddr 00:1b:21:88:35:1a
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1102959 errors:0 dropped:0 overruns:0 frame:0
  TX packets:1017573 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:203475504 (194.0 MiB)  TX bytes:204532495 (195.0 MiB)
  Interrupt:19 Memory:f79c0000-f79e0000

eth4  Link encap:Ethernet  HWaddr 00:1b:21:88:01:62
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:201225 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 B)  TX bytes:33736208 (32.1 MiB)
  Interrupt:18 Memory:f78c0000-f78e0000

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:138640 errors:0 dropped:0 overruns:0 frame:0
  TX packets:138640 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:11251148 (10.7 MiB)  TX bytes:11251148 (10.7 MiB)

vmbr0  Link encap:Ethernet  HWaddr 08:62:66:35:a3:ef
  inet6 addr: fe80::a62:66ff:fe35:a3ef/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:17419 errors:0 dropped:0 overruns:0 frame:0
  TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:1927945 (1.8 MiB)  TX bytes:828 (828.0 B)

vmbr1  Link encap:Ethernet  HWaddr 00:24:81:7b:06:04
  inet6 addr: fe80::224:81ff:fe7b:604/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:330146 errors:0 dropped:0 overruns:0 frame:0
  TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:104018807 (99.2 MiB)  TX bytes:1710 (1.6 KiB)

vmbr2  Link encap:Ethernet  HWaddr 00:24:81:7b:06:05
  inet6 addr: fe80::224:81ff:fe7b:605/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1 errors:0 dropped:0 overruns:0 frame:0
  TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:28 (28.0 B)  TX bytes:648 (648.0 B)

vmbr3  Link encap:Ethernet  HWaddr 00:1b:21:88:35:1a
  inet addr:192.168.0.253  Bcast:192.168.0.255  Mask:255.255.255.0
  inet6 addr: fe80::21b:21ff:fe88:351a/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1102959 errors:0 dropped:0 overruns:0 frame:0
  TX packets:1017536 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:183636684 (175.1 MiB)  TX bytes:200442449 (191.1 MiB)

vmbr4  Link encap:Ethernet  HWaddr 00:1b:21:88:01:62
  inet6 addr: fe80::21b:21ff:fe88:162/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:201217 errors:0 dropped:0 overruns:0 frame:0
  TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:27373584 (26.1 MiB)  TX bytes:648 (648.0 B)

Code:
root@core01:~# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage part of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

allow-hotplug eth0
allow-hotplug eth1
allow-hotplug eth2
allow-hotplug eth3
allow-hotplug eth4

iface eth1 inet manual

iface eth2 inet manual

iface eth3 inet static

iface eth4 inet manual

iface eth0 inet manual

auto vmbr4
iface vmbr4 inet manual
  bridge_ports eth4
  bridge_stp off
  bridge_fd 0

auto vmbr0
iface vmbr0 inet manual
  bridge_ports eth0
  bridge_stp off
  bridge_fd 0

auto vmbr1
iface vmbr1 inet manual
  bridge_ports eth1
  bridge_stp off
  bridge_fd 0

auto vmbr2
iface vmbr2 inet manual
  bridge_ports eth2
  bridge_stp off
  bridge_fd 0

auto vmbr3
iface vmbr3 inet static
  address  192.168.0.253
  netmask  255.255.255.0
  gateway  192.168.0.1
  bridge_ports eth3
  bridge_stp off
  bridge_fd 0
root@core01:~# ping core01
PING core01 (192.168.0.253) 56(84) bytes of data.
64 bytes from core01 (192.168.0.253): icmp_seq=1 ttl=64 time=0.010 ms
64 bytes from core01 (192.168.0.253): icmp_seq=2 ttl=64 time=0.009 ms
64 bytes from core01 (192.168.0.253): icmp_seq=3 ttl=64 time=0.020 ms
----------------------------------
root@core01:~# ss -patn | grep 8006
root@core01:~#
 
Last edited:
Packets have now been received
core01:

eth4 Link encap:Ethernet HWaddr 00:1b:21:88:01:62
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:376312 errors:0 dropped:0 overruns:0 frame:0
TX packets:336148 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:225438814 (214.9 MiB) TX bytes:110387589 (105.2 MiB)
Interrupt:18 Memory:f78c0000-f78e0000

core02:

eth4 Link encap:Ethernet HWaddr 00:1b:21:c9:6b:af
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:336148 errors:0 dropped:0 overruns:0 frame:0
TX packets:376285 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:110388219 (105.2 MiB) TX bytes:225429794 (214.9 MiB)
Interrupt:18 Memory:f78c0000-f78e0000

Changing from static to manual and rebooting shows same error.
 
Hi,
see now, that your system isn't actual! I assume you don't have an subscription key and you dosn't enable pve-no-subscription also?

Enable pve-no-subscription:
Code:
echo "deb http://download.proxmox.com/debian jessie pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list

apt-get update
apt-get dist-upgrade
Udo
 
I backed up all of my VM's and reinstalled both servers using the proxmox-ve_4.1-2f9650d4-21.iso, created a new cluster, restored my firewall VM to core01. And when I try update core02, it's resolving to an ipv6 address while core01 is using ipv4.

core02:

Code:
root@core02:~# echo "deb http://download.proxmox.com/debian jessie pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list
root@core01:~# apt-get update
Err http://ftp.se.debian.org jessie InRelease

Err http://security.debian.org jessie/updates InRelease

Err http://ftp.se.debian.org jessie Release.gpg
  Cannot initiate the connection to ftp.se.debian.org:80 (2001:6b0:e:2018::173). - connect (101: Network is unreachable) [IP: 2001:6b0:e:2018::173 80]
Err http://security.debian.org jessie/updates Release.gpg
  Cannot initiate the connection to security.debian.org:80 (2001:a78:5:0:216:35ff:fe7f:be4f). - connect (101: Network is unreachable) [IP: 2001:a78:5:0:216:35ff:fe7f:be4f 80]
Err http://download.proxmox.com jessie InRelease

Err http://download.proxmox.com jessie Release.gpg
  Unable to connect to download.proxmox.com:http:
Reading package lists... Done
W: Failed to fetch http://ftp.se.debian.org/debian/dists/jessie/InRelease

W: Failed to fetch http://security.debian.org/dists/jessie/updates/InRelease

W: Failed to fetch http://download.proxmox.com/debian/dists/jessie/InRelease

W: Failed to fetch http://ftp.se.debian.org/debian/dists/jessie/Release.gpg  Cannot initiate the connection to ftp.se.debian.org:80 (2001:6b0:e:2018::173). - connect (101: Network is unreachable) [IP: 2001:6b0:e:2018::173 80]

W: Failed to fetch http://security.debian.org/dists/jessie/updates/Release.gpg  Cannot initiate the connection to security.debian.org:80 (2001:a78:5:0:216:35ff:fe7f:be4f). - connect (101: Network is unreachable) [IP: 2001:a78:5:0:216:35ff:fe7f:be4f 80]

W: Failed to fetch http://download.proxmox.com/debian/dists/jessie/Release.gpg  Unable to connect to download.proxmox.com:http:

W: Some index files failed to download. They have been ignored, or old ones used instead.
root@core02:~# ping ftp.se.debian.org
PING ftp.acc.umu.se (130.239.18.165) 56(84) bytes of data.
64 bytes from hammurabi.acc.umu.se (130.239.18.165): icmp_seq=1 ttl=52 time=23.6 ms
64 bytes from hammurabi.acc.umu.se (130.239.18.165): icmp_seq=2 ttl=52 time=23.2 ms
^C
--- ftp.acc.umu.se ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 23.237/23.422/23.608/0.240 ms
root@core02:~# cat /etc/resolv.conf
search chrjsn.se
nameserver 8.8.8.8

Code:
root@core02:~# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage part of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

allow-hotplug eth0
allow-hotplug eth1
allow-hotplug eth2
allow-hotplug eth3
allow-hotplug eth4

iface eth0 inet manual

iface eth1 inet manual

iface eth2 inet manual

iface eth3 inet manual

iface eth4 inet manual

auto vmbr1
iface vmbr1 inet manual
  bridge_ports eth1
  bridge_stp off
  bridge_fd 0

auto vmbr2
iface vmbr2 inet manual
  bridge_ports eth2
  bridge_stp off
  bridge_fd 0

auto vmbr0
iface vmbr0 inet manual
  bridge_ports eth0
  bridge_stp off
  bridge_fd 0

auto vmbr3
iface vmbr3 inet static
  address  10.0.0.251
  netmask  255.255.255.0
  bridge_ports eth3
  bridge_stp off
  bridge_fd 0

auto vmbr4
iface vmbr4 inet static
  address  10.0.1.2
  netmask  255.255.255.0
  gateway  10.0.1.3 -->firewall running on core01. eth4's are direct connected for sync.
  bridge_ports eth4
  bridge_stp off
  bridge_fd 0

core01:

Code:
root@core01:~# echo "deb http://download.proxmox.com/debian jessie pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list
root@core01:~# apt-get update
Ign http://ftp.se.debian.org jessie InRelease
Hit http://security.debian.org jessie/updates InRelease
Ign http://download.proxmox.com jessie InRelease
Hit http://download.proxmox.com jessie Release.gpg
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://download.proxmox.com jessie Release
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Hit http://download.proxmox.com jessie/pve-no-subscription amd64 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/main Translation-en
Ign http://download.proxmox.com jessie/pve-no-subscription Translation-en_US
Ign http://download.proxmox.com jessie/pve-no-subscription Translation-en
Hit http://ftp.se.debian.org jessie Release.gpg
Hit http://ftp.se.debian.org jessie Release
Hit http://ftp.se.debian.org jessie/main amd64 Packages
Hit http://ftp.se.debian.org jessie/contrib amd64 Packages
Hit http://ftp.se.debian.org jessie/contrib Translation-en
Hit http://ftp.se.debian.org jessie/main Translation-en
Reading package lists... Done
root@core01:~# ping ftp.se.debian.org
PING ftp.acc.umu.se (130.239.18.165) 56(84) bytes of data.
64 bytes from hammurabi.acc.umu.se (130.239.18.165): icmp_seq=1 ttl=52 time=23.0 ms
64 bytes from hammurabi.acc.umu.se (130.239.18.165): icmp_seq=2 ttl=52 time=23.1 ms
64 bytes from hammurabi.acc.umu.se (130.239.18.165): icmp_seq=3 ttl=52 time=23.3 ms
^C
--- ftp.acc.umu.se ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 23.044/23.187/23.353/0.177 ms
root@core01:~# cat /etc/resolv.conf
search chrjsn.se
nameserver 8.8.8.8
root@core01:~# ping 2001:a78:5:0:216:35ff:fe7f:be4f
ping: unknown host 2001:a78:5:0:216:35ff:fe7f:be4f

Code:
root@core01:~# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage part of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

allow-hotplug eth0
allow-hotplug eth1
allow-hotplug eth2
allow-hotplug eth3
allow-hotplug eth4

iface eth0 inet manual
iface eth1 inet manual
iface eth2 inet manual
iface eth3 inet manual
iface eth4 inet manual

auto vmbr1
iface vmbr1 inet manual
  bridge_ports eth1
  bridge_stp off
  bridge_fd 0

auto vmbr2
iface vmbr2 inet manual
  bridge_ports eth2
  bridge_stp off
  bridge_fd 0

auto vmbr3
iface vmbr3 inet static
  address  10.0.0.250
  netmask  255.255.255.0
  gateway  10.0.0.1
  bridge_ports eth3
  bridge_stp off
  bridge_fd 0

auto vmbr0
iface vmbr0 inet manual
  bridge_ports eth0
  bridge_stp off
  bridge_fd 0

auto vmbr4
iface vmbr4 inet static
  address  10.0.1.1
  netmask  255.255.255.0
  bridge_ports eth4
  bridge_stp off
  bridge_fd 0

I haven't seen anything like this
 
It sure does.

Code:
auto vmbr3
iface vmbr3 inet static
  address  10.0.0.250
  netmask  255.255.255.0
  gateway  10.0.0.1
  bridge_ports eth3
  bridge_stp off
  bridge_fd 0

So I disabled ipv6 and get the same error but with ipv4 addresses. So I just reinstalled proxmox and used the same settings and it worked.

Code:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
 
Anche io 2 giorni fa per sbaglio ho lanciato il comando chmod -R 777 * , fermato subito,da allora ho problemi solo con l'avvio di questi 2 servizi. Esiste un commando per il ripristino default delle permissioni?

Even 2 days ago by mistake I launched the command chmod -R 777 *, stopped immediately, since then I have problems only with the launch of these 2 services. Is there a command to restore permissions default?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!