Deinstallation von rpcbind hat Proxmox VE mit entfernt

Profundus

New Member
Sep 1, 2016
5
0
1
36
Moin,

Schande über mein Haupt. Ich habe aus Sicherheitsgründen den Port 111 schließen wollen und dafür nach Anleitung einfach den rpcbind deaktiviert und nach Prüfung deinstalliert. Dabei das Chaos: Bei der Deinstalliert nicht geachtet, es wurde proxmox VE* mit deinstalliert. Abbruch mit Fehler.

Darauf laufen zwei virtuelle Maschinen die noch immer erreichbar sind?! Das Backend ist nicht mehr zu erreichen. Klar.

Ich vermute mal stark dass ich Proxmox komplett neu installieren muss, doch was ist mit den noch laufenden VM's? Diese werden doch bestimmt dabei entgültig gestoppt und ich verliere Daten. Ein nachträgliches Backup ist ja nicht mehr möglich.


Ich weiß nicht genau in welchem Zustand ich mich befinde und schreibe hier nur, da ich mir ein paar Zusatzinfos erhoffe.

Meinen Fehler bin ich bewusst, ich habe bei der Bestätigung nicht genau auf die "mitdeinstallierten" Packete geachtet.

Gruß

Code:
root@XXX ~ # apt-get --purge remove nfs-kernel-server nfs-common portmap rpcbind
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'rpcbind' instead of 'portmap'
Package 'nfs-kernel-server' is not installed, so not removed

The following packages were automatically installed and are no longer required:
  apparmor apt-transport-https ceph-common cgmanager corosync-pve criu cstream dh-python dtach faketime fontconfig fontconfig-config fonts-dejavu-core glusterfs-client glusterfs-common hdparm ifenslave ipset javascript-common libaio1
  libanyevent-http-perl libanyevent-perl libapparmor-perl libapparmor1 libapt-pkg-perl libasound2 libasound2-data libasync-interrupt-perl libasyncns0 libauthen-pam-perl libboost-system1.55.0 libboost-thread1.55.0 libcaca0 libcairo2
  libcephfs1 libcgmanager0 libclone-perl libcorosync4-pve libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcurl3-gnutls libdatrie1 libdbi1 libdevel-cycle-perl libdirectfb-1.2-9 libev-perl
  libfaketime libfile-chdir-perl libfile-readbackwards-perl libfile-sync-perl libfilesys-df-perl libflac8 libfontconfig1 libgnutlsxx28 libgoogle-perftools4 libgraphite2-3 libguard-perl libharfbuzz0b libibverbs1 libice6 libintl-perl
  libio-multiplex-perl libio-stringy-perl libipset3 libiscsi4 libjemalloc1 libjpeg62-turbo libjs-jquery liblinux-inotify2-perl liblockfile-simple-perl liblog-agent-perl liblvm2app2.2 libmime-base32-perl libmpdec2 libnet-dbus-perl
  libnet-dns-perl libnet-ip-perl libnetfilter-log1 libnih-dbus1 libnih1 libnspr4 libnss3 liboath0 libogg0 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpixman-1-0 libprotobuf-c1 libprotobuf9 libpulse0 libpve-access-control
  libpve-common-perl libpython2.7 libpython3-stdlib libpython3.4-minimal libpython3.4-stdlib libqb0 librados2 librados2-perl librbd1 librdmacm1 librrd4 librrds-perl libsdl1.2debian libseccomp2 libsm6 libsndfile1
  libstring-shellquote-perl libtcmalloc-minimal4 libthai-data libthai0 libtie-ixhash-perl libunwind8 libusbredirparser1 libvorbis0a libvorbisenc2 libx11-6 libx11-data libx11-xcb1 libxau6 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6
  libxext6 libxi6 libxml-twig-perl libxml-xpathengine-perl libxrender1 libxtst6 lxc-pve lxcfs lzop netcat6 novnc-pve numactl oathtool powermgmt-base pve-cluster pve-firewall pve-libspice-server1 pve-qemu-kvm python-blinker python-ceph
  python-cffi python-chardet python-cryptography python-flask python-ipaddr python-itsdangerous python-jinja2 python-markupsafe python-ndg-httpsclient python-openssl python-pkg-resources python-ply python-protobuf python-pyasn1
  python-pycparser python-requests python-six python-support python-urllib3 python-werkzeug python3 python3-minimal python3.4 python3.4-minimal rrdcached socat spiceterm sqlite3 uidmap vncterm x11-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  pve-kernel-4.4.13-1-pve
 
The following packages will be REMOVED:
  libpve-storage-perl* nfs-common* proxmox-ve* pve-container* pve-ha-manager* pve-manager* qemu-server* rpcbind*
The following NEW packages will be installed:
  pve-kernel-4.4.13-1-pve
0 upgraded, 1 newly installed, 8 to remove and 0 not upgraded.
Need to get 44.0 MB of archives.
After this operation, 1468 kB disk space will be freed.
Do you want to continue? [Y/n] y

Get:1 http://download.proxmox.com/debian/ jessie/pve-no-subscription pve-kernel-4.4.13-1-pve amd64 4.4.13-56 [44.0 MB]
Fetched 44.0 MB in 0s (60.3 MB/s)
(Reading database ... 41125 files and directories currently installed.)
Removing proxmox-ve (4.2-48) ...
Purging configuration files for proxmox-ve (4.2-48) ...
rmdir: failed to remove '/boot/pve/': No such file or directory
dpkg: error processing package proxmox-ve (--purge):
subprocess installed post-removal script returned error exit status 1
Removing pve-manager (4.2-2) ...
REMOVETEST pvedaemon
REMOVETEST pveproxy
REMOVETEST spiceproxy
REMOVETEST pvestatd
REMOVETEST pvebanner
REMOVETEST pvenetcommit
REMOVETEST pve-manager
Purging configuration files for pve-manager (4.2-2) ...
PURGETEST pvedaemon
PURGETEST pveproxy
PURGETEST spiceproxy
PURGETEST pvestatd
PURGETEST pvebanner
PURGETEST pvenetcommit
PURGETEST pve-manager
dpkg: warning: while removing pve-manager, directory '/var/lib/vz/images' not empty so not removed
dpkg: warning: while removing pve-manager, directory '/var/lib/vz/template/cache' not empty so not removed
Removing pve-container (1.0-70) ...
Removing pve-ha-manager (1.0-32) ...
Purging configuration files for pve-ha-manager (1.0-32) ...
Removing qemu-server (4.0-83) ...
Purging configuration files for qemu-server (4.0-83) ...
Removing libpve-storage-perl (4.0-55) ...
Removing nfs-common (1:1.2.8-9) ...
Purging configuration files for nfs-common (1:1.2.8-9) ...
dpkg-statoverride: warning: no override present
Removing rpcbind (0.2.1-6+deb8u1) ...
Purging configuration files for rpcbind (0.2.1-6+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Errors were encountered while processing:
proxmox-ve
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
PS:

unter /var/lib/vz sind die Ordner und Inhalte noch vorhanden. Die dumps sind vzdumps lxc ..
 
Moin Dietmar und danke für deine Antwort.

Das Neuinstallieren habe ich mir bereits gedacht. Aber es ist für mich absolut fraglich was mit den noch laufenden VM's passiert. Normal müssten diese dann ja automatisch offline gehen und ich muss diese direkt neu aufziehen können. Nervig dass hier LXC-Containers-Backups gemacht wurden.

Habe diese Bakups bereits auf einem anderem Proxmox geladen und versucht mit vzrestore zurück zu holen. Dann meckert er, dass er die Container ID nicht findet. Es bleibt also interessant.

Gruß
 

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!