Clean system, reinstall proxmox

Hoper

New Member
Sep 13, 2016
5
0
1
48
I want reinstall node proxmox after some trainings.
I am doing:
# apt-get purge proxmox-ve ntp ssh postfix ksm-control-daemon open-iscsi systemd-sysv
# apt-get autoremove
# apt-get clean
# shutdown -r now
...
# apt-get install proxmox-ve ntp ssh postfix ksm-control-daemon open-iscsi systemd-sysv
and get error with pkgs
pve-cluster
libpve-access-control
librados2-perl
pve-firewall
pve-ha-manager
qemu-server
pve-container
pve-manager
proxmox-ve
Proxmox don't installed.
What I need do for reinstall proxmox?
 
What I did.
# apt-get purge proxmox-ve ntp ssh postfix ksm-control-daemon open-iscsi systemd-sysv
# apt-get clean
# apt-get autoclean
# shutdown -r now
...
# wget -O- "http://download.proxmox.com/debian/key.asc" | apt-key add -
# apt-get update && apt-get dist-upgrade
# apt-get install proxmox-ve ntp ssh postfix ksm-control-daemon open-iscsi systemd-sysv
#
Setting up apparmor (2.9.0-3) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Starting AppArmor profiles:Mounting securityfs on /sys/kernel/security....
Setting up uidmap (1:4.2-3+deb8u1) ...
Setting up lxcfs (2.0.3-pve1) ...
Setting up lxc-pve (2.0.4-1) ...
Setting up lzop (1.03-3) ...
Setting up netcat6 (1.0-8) ...
update-alternatives: using /bin/nc6 to provide /bin/nc (nc) in auto mode
Setting up novnc-pve (0.5-8) ...
Setting up numactl (2.0.10-1) ...
Setting up open-iscsi (2.0.873+git0.3b4b4500-8+deb8u1) ...
Starting iSCSI initiator service: iscsid.
Setting up iSCSI targets:
iscsiadm: No records found
.
Mounting network filesystems:.
Enabling network swap devices:.
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Setting up powermgmt-base (1.31+nmu1) ...
Setting up vncterm (1.2-1) ...
Setting up pve-libspice-server1 (0.12.8-1) ...
Setting up pve-qemu-kvm (2.6.1-2) ...
Setting up socat (1.7.2.4-2) ...
Setting up ipset (6.23-2) ...
Setting up pve-firewall (2.0-29) ...
Failed to get D-Bus connection: Unknown error -1
dpkg: error processing package pve-firewall (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of qemu-server:
qemu-server depends on pve-firewall; however:
Package pve-firewall is not configured yet.

dpkg: error processing package qemu-server (--configure):
dependency problems - leaving unconfigured
Setting up ssl-cert (1.0.35) ...
Setting up postfix (2.11.3-1) ...
Adding group `postfix' (GID 115) ...
Done.
Adding system user `postfix' (UID 109) ...
Adding new user `postfix' (UID 109) with group `postfix' ...
Not creating home directory `/var/spool/postfix'.
Creating /etc/postfix/dynamicmaps.cf
Adding tcp map entry to /etc/postfix/dynamicmaps.cf
Adding sqlite map entry to /etc/postfix/dynamicmaps.cf
Adding group `postdrop' (GID 117) ...
Done.
setting myhostname: corvus.centr.by
setting alias maps
setting alias database
setting myorigin
setting destinations: corvus.centr.by, localhost.centr.by, localhost
setting relayhost:
setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
setting mailbox_command
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: loopback-only

Postfix is now set up with a default configuration. If you need to make
changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).

After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.

Running newaliases
Stopping Postfix Mail Transport Agent: postfix.
Starting Postfix Mail Transport Agent: postfix.
Setting up spiceterm (2.0-1) ...
Setting up gdisk (0.8.10-2) ...
Setting up libev-perl (4.18-1) ...
Setting up pve-docs (4.2-8) ...
dpkg: dependency problems prevent configuration of pve-manager:
pve-manager depends on qemu-server (>= 1.1-1); however:
Package qemu-server is not configured yet.
pve-manager depends on pve-firewall; however:
Package pve-firewall is not configured yet.

dpkg: error processing package pve-manager (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of proxmox-ve:
proxmox-ve depends on pve-manager; however:
Package pve-manager is not configured yet.
proxmox-ve depends on qemu-server; however:
Package qemu-server is not configured yet.

dpkg: error processing package proxmox-ve (--configure):
dependency problems - leaving unconfigured
Setting up python-blinker (1.3.dfsg2-1) ...
Setting up python-ply (3.4-5) ...
Setting up python-pycparser (2.10+dfsg-3) ...
Setting up python-cffi (0.8.6-1) ...
Setting up python-cryptography (0.6.1-1) ...
Setting up python-openssl (0.14-1) ...
Setting up python-ndg-httpsclient (0.3.2-1) ...
Setting up python-pyasn1 (0.1.7-1) ...
Setting up python-pyinotify (0.9.4-1) ...
dpkg: dependency problems prevent configuration of pve-ha-manager:
pve-ha-manager depends on qemu-server; however:
Package qemu-server is not configured yet.

dpkg: error processing package pve-ha-manager (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pve-container:
pve-container depends on pve-ha-manager; however:
Package pve-ha-manager is not configured yet.

dpkg: error processing package pve-container (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-18+deb8u4) ...
Processing triggers for systemd (215-17+deb8u4) ...
Processing triggers for python-support (1.0.15) ...
Errors were encountered while processing:
pve-firewall
qemu-server
pve-manager
proxmox-ve
pve-ha-manager
pve-container
E: Sub-process /usr/bin/dpkg returned an error code (1)
#
Proxmox don't set :(
 

Attachments

  • look_1_apt-get-purge.txt
    13.3 KB · Views: 10
as far as i can see with purging proxmox you deinstalled systemd and installed sysvinit-core

since proxmox depends on systemd please install it before
Code:
apt-get install systemd-sysv

then reboot and install proxmox
 
No. It's not work.
# apt-get install systemd-sysv
# shutdown -r now
# apt-get install proxmox-ve ntp ssh postfix ksm-control-daemon open-iscsi systemd-sysv
etting recipient_delimiter: +
setting inet_interfaces: loopback-only

Postfix is now set up with a default configuration. If you need to make
changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).

After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.

Running newaliases
Setting up spiceterm (2.0-1) ...
Setting up gdisk (0.8.10-2) ...
Setting up libev-perl (4.18-1) ...
Setting up pve-docs (4.2-8) ...
dpkg: dependency problems prevent configuration of pve-manager:
pve-manager depends on qemu-server (>= 1.1-1); however:
Package qemu-server is not configured yet.
pve-manager depends on pve-firewall; however:
Package pve-firewall is not configured yet.

dpkg: error processing package pve-manager (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of proxmox-ve:
proxmox-ve depends on pve-manager; however:
Package pve-manager is not configured yet.
proxmox-ve depends on qemu-server; however:
Package qemu-server is not configured yet.

dpkg: error processing package proxmox-ve (--configure):
dependency problems - leaving unconfigured
Setting up python-blinker (1.3.dfsg2-1) ...
Setting up python-ply (3.4-5) ...
Setting up python-pycparser (2.10+dfsg-3) ...
Setting up python-cffi (0.8.6-1) ...
Setting up python-cryptography (0.6.1-1) ...
Setting up python-openssl (0.14-1) ...
Setting up python-ndg-httpsclient (0.3.2-1) ...
Setting up python-pyasn1 (0.1.7-1) ...
Setting up python-pyinotify (0.9.4-1) ...
dpkg: dependency problems prevent configuration of pve-ha-manager:
pve-ha-manager depends on qemu-server; however:
Package qemu-server is not configured yet.

dpkg: error processing package pve-ha-manager (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pve-container:
pve-container depends on pve-ha-manager; however:
Package pve-ha-manager is not configured yet.

dpkg: error processing package pve-container (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-18+deb8u4) ...
Processing triggers for systemd (215-17+deb8u4) ...
Processing triggers for python-support (1.0.15) ...
Errors were encountered while processing:
pve-firewall
qemu-server
pve-manager
proxmox-ve
pve-ha-manager
pve-container
E: Sub-process /usr/bin/dpkg returned an error code (1)
It's like before
 
if you post the log output, please post the whole output and not just parts of it, else it will be difficult to fully understand what is happening
 
Sorry, it's tooooo long
atache...
 

Attachments

  • apt-get.txt
    33.3 KB · Views: 18
i can see following line:

Code:
Failed to reload-or-restart pve-firewall.service: Unit pve-firewall.service is masked.

this prevents pve-firewall to be setup correctly but the rest depends on pve-firewall

so fix this first then it should work
Code:
systemctl unmask pve-firewall.service

and try again
 
Ooo. Good proxmox setup successful!!!
But... I got old settings, and I would like to CLEAN proxmox.
How get clean settings ?
 
I Have Same Problem -_-

Can You Help Me Please ? <3

Debian 8 Jessie
 

Attachments

  • log.txt
    48.8 KB · Views: 21
Last edited:

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!