[SOLVED] PVE Proxy geht nicht mehr und APT Update auch nicht

In der History ist nichts zu finden

Nach dem ich es gemacht hab bekomm ich trotzdem noch den Fehler
Code:
root@pve ~ # chmod 755 /etc
root@pve ~ # apt update
Err:1 http://security.debian.org bullseye-security InRelease
  System error resolving 'debian.map.fastlydns.net:80' - getaddrinfo (16: Device or resource busy) System error resolving 'security.debian.org:http' - getaddrinfo (16: Device or resource busy)
Err:2 http://download.proxmox.com/debian/pve bullseye InRelease
  System error resolving 'download.proxmox.com:http' - getaddrinfo (16: Device or resource busy)
Err:3 http://hwraid.le-vert.net/debian bullseye InRelease
  System error resolving 'hwraid.le-vert.net:http' - getaddrinfo (16: Device or resource busy)
Err:4 http://ftp.de.debian.org/debian bullseye InRelease
  System error resolving 'ftp.de.debian.org:http' - getaddrinfo (16: Device or resource busy)
Err:5 http://ftp.de.debian.org/debian bullseye-updates InRelease
  System error resolving 'ftp.de.debian.org:http' - getaddrinfo (16: Device or resource busy)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://ftp.de.debian.org/debian/dists/bullseye/InRelease  System error resolving 'ftp.de.debian.org:http' - getaddrinfo (16: Device or resource busy)
W: Failed to fetch http://ftp.de.debian.org/debian/dists/bullseye-updates/InRelease  System error resolving 'ftp.de.debian.org:http' - getaddrinfo (16: Device or resource busy)
W: Failed to fetch http://security.debian.org/dists/bullseye-security/InRelease  System error resolving 'debian.map.fastlydns.net:80' - getaddrinfo (16: Device or resource busy) System error resolving 'security.debian.org:http' - getaddrinfo (16: Device or resource busy)
W: Failed to fetch http://download.proxmox.com/debian/pve/dists/bullseye/InRelease  System error resolving 'download.proxmox.com:http' - getaddrinfo (16: Device or resource busy)
W: Failed to fetch http://hwraid.le-vert.net/debian/dists/bullseye/InRelease  System error resolving 'hwraid.le-vert.net:http' - getaddrinfo (16: Device or resource busy)
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@pve ~ #
 
vermutlich stimmen dann noch andere ordner permissions nicht.. wie schauts mit /usr aus?
 
scheint glaub auch falsch zu sein oder

Bash:
root@pve ~ # stat /usr
  File: /usr
  Size: 4096            Blocks: 8          IO Block: 4096   directory
Device: fd01h/64769d    Inode: 1310722     Links: 14
Access: (0644/drw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2021-10-13 09:29:27.313536616 +0200
Modify: 2021-07-07 12:33:58.400614083 +0200
Change: 2021-10-11 23:56:34.899479045 +0200
 Birth: 2020-12-03 19:57:53.599992860 +0100
 
ja, selbes problem, sollte auch 0755 sein.. das schaut sehr danach aus als haette wer unabsichtlich chmod 0644 /* gemacht (oder was aequivalentes)..
 
  • Like
Reactions: noPa$$word
Kann ja nur ich gewesen sein weil sonst gibt es niemand der drauf kommt :D

aber hat auch nicht so funktioniert.
Bash:
root@pve ~ # chmod 0755 /usr
root@pve ~ # apt update
Err:1 http://ftp.de.debian.org/debian bullseye InRelease
  System error resolving 'ftp.de.debian.org:http' - getaddrinfo (16: Device or resource busy)
Err:2 http://security.debian.org bullseye-security InRelease
  System error resolving 'debian.map.fastlydns.net:80' - getaddrinfo (16: Device or resource busy) System error resolving 'security.debian.org:http' - getaddrinfo (16: Device or resource busy)
Err:3 http://hwraid.le-vert.net/debian bullseye InRelease
  System error resolving 'hwraid.le-vert.net:http' - getaddrinfo (16: Device or resource busy)
Err:4 http://download.proxmox.com/debian/pve bullseye InRelease
  System error resolving 'download.proxmox.com:http' - getaddrinfo (16: Device or resource busy)
Err:5 http://ftp.de.debian.org/debian bullseye-updates InRelease
  System error resolving 'ftp.de.debian.org:http' - getaddrinfo (16: Device or resource busy)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://ftp.de.debian.org/debian/dists/bullseye/InRelease  System error resolving 'ftp.de.debian.org:http' - getaddrinfo (16: Device or resource busy)
W: Failed to fetch http://ftp.de.debian.org/debian/dists/bullseye-updates/InRelease  System error resolving 'ftp.de.debian.org:http' - getaddrinfo (16: Device or resource busy)
W: Failed to fetch http://security.debian.org/dists/bullseye-security/InRelease  System error resolving 'debian.map.fastlydns.net:80' - getaddrinfo (16: Device or resource busy) System error resolving 'security.debian.org:http' - getaddrinfo (16: Device or resource busy)
W: Failed to fetch http://download.proxmox.com/debian/pve/dists/bullseye/InRelease  System error resolving 'download.proxmox.com:http' - getaddrinfo (16: Device or resource busy)
W: Failed to fetch http://hwraid.le-vert.net/debian/dists/bullseye/InRelease  System error resolving 'hwraid.le-vert.net:http' - getaddrinfo (16: Device or resource busy)
W: Some index files failed to download. They have been ignored, or old ones used instead.
 
Eine Idee/Frage: Kann es sein, dass die Berechtigungen rekursiv (-r) überschrieben worden sind und daher das Setzen der Berechtigungen rein auf Verzeichnisebene noch nicht ausreichend sind?
 
Könnte gut möglich sein, die Frage ist wie setze ich alle Berechtigungen wieder richtig?
 
also bei mir gibts in /usr keinen ordner, der nicht g+x und o+x gesetzt haette ;) find /usr -type d -not -perm -g+x,o+x sollte die auf deinem system auflisten, dann kannst du die permissions setzen. oder du vergleichst mit nem backup falls du eins hast, oder mit nem frisch installierten PVE..
 
Ihr seid die besten!!! :) Es funtkioniert wieder


Code:
root@pve ~ # chmod -R g+x /usr/*
root@pve ~ # chmod -R o+x /usr/*
root@pve ~ # find /usr -type d -not -perm -g+x,o+x
root@pve ~ # apt update
Get:1 http://security.debian.org bullseye-security InRelease [44.1 kB]
Ign:2 http://hwraid.le-vert.net/debian bullseye InRelease
Get:3 http://ftp.de.debian.org/debian bullseye-updates InRelease [39.4 kB]
Get:4 http://hwraid.le-vert.net/debian bullseye Release [2,840 B]
Get:5 http://hwraid.le-vert.net/debian bullseye Release.gpg [520 B]
Get:6 http://download.proxmox.com/debian/pve bullseye InRelease [3,053 B]
Get:7 http://security.debian.org bullseye-security/main amd64 Packages [47.4 kB]
Get:8 http://security.debian.org bullseye-security/main Translation-en [31.7 kB]
Get:9 http://ftp.de.debian.org/debian bullseye InRelease [116 kB]
Get:10 http://hwraid.le-vert.net/debian bullseye/main amd64 Packages [1,024 B]
Get:11 http://download.proxmox.com/debian/pve bullseye/pve-no-subscription amd64 Packages [127 kB]
Get:12 http://ftp.de.debian.org/debian bullseye-updates/main amd64 Packages [2,300 B]
Get:13 http://ftp.de.debian.org/debian bullseye-updates/main Translation-en [2,108 B]
Get:14 http://ftp.de.debian.org/debian bullseye/main amd64 Packages [8,180 kB]
Get:15 http://ftp.de.debian.org/debian bullseye/main Translation-en [6,241 kB]
Get:16 http://ftp.de.debian.org/debian bullseye/contrib amd64 Packages [50.5 kB]
Get:17 http://ftp.de.debian.org/debian bullseye/contrib Translation-en [46.9 kB]
Fetched 14.9 MB in 4s (3,436 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
34 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@pve ~ #
 
  • Like
Reactions: showiproute
Sofern alles läuft und du auch in ein paar Tagen/Wochen keine Probleme hast, dann setz bitte diesen Forum Thread noch auf "Solved".
 
das war jetzt vielleicht ein bisschen overkill, du hast naemlich die permissions von dateien UND ordnern statt nur von ordnern angepasst ;)
 
Das einize was jetzt immer kommt wenn ich per SSH als root einlogge ist das
Bash:
System is going down. Unprivileged users are not permitted to log in anymore. For technical details, see pam_nologin(8).
 
das war jetzt vielleicht ein bisschen overkill, du hast naemlich die permissions von dateien UND ordnern statt nur von ordnern angepasst ;)
Joa das System mault schon dezent rum :confused: Blöd gefragt wie kann ich das am besten fixen?
 
Alternativ kannst du natürlich ein vollständiges Backup aller VMs durchführen und ein Backup von /etc/pve und den Server neu aufsetzen.
Dann hättest du wieder einen sauberen Start und kannst die VMs wieder restoren.
 
Alternativ kannst du natürlich ein vollständiges Backup aller VMs durchführen und ein Backup von /etc/pve und den Server neu aufsetzen.
Dann hättest du wieder einen sauberen Start und kannst die VMs wieder restoren.
Das muss ich wohl die Tage machen, danke für die Idee :)
 

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!