Когда не хочет устанавливаться pve-cluster

Proxmox отказывается устанавливаться на Debian Wheezy 7.7.0. Все упирается в установку пакета pve-cluster:

rat@isoffice:~$ sudo apt-get install pve-cluster
Reading package lists... Done
Building dependency tree
Reading state information... Done
pve-cluster is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up pve-cluster (3.0-8) ...
[....] Starting pve cluster filesystem : pve-cluster[main] crit: Unable to get local IP address
(warning).
invoke-rc.d: initscript pve-cluster, action "start" failed.
dpkg: error processing pve-cluster (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
pve-cluster
E: Sub-process /usr/bin/dpkg returned an error code (1)

После долгих экспериментов выяснилось, что все портит запись в /etc/hosts:

rat@isoffice:~$ cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 isoffice.domain.lv isoffice
192.168.0.95 isoffice isoffice.domain.lv
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

После ее удаления установка прошла без проблем.

Кстати, вот хорошая инструкция по установке Proxmox на Debian: Install Proxmox VE on Debian Wheezy

Share/Bookmark

2 Comments

borisSeptember 24th, 2015 at 19:36

Оггромное спамибо!

AndreyJanuary 19th, 2016 at 14:09

Спасибо!по инструкции ставил,не помогло!

Leave a comment

Your comment