[SOLVED] Ich kann nach Stromausfall nicht mehr auf Proxmox Web-Overfläche

snaxo

New Member
Jun 17, 2022
15
0
1
Nach einem Stomausfall ist der Proxmox nicht mehr vernünfig hochgekommen. Hier ein paar logs: https://justpaste.it/6xgu3
Ich kann den über die Web-Oberfläche nicht erreichen. Pingen ist ok, aber sonst kann ich nichts machen außer in der Konsole. Neustart des Servers hat auch hat bisher auch nichts gebracht... Ist Proxmox hin oder kann ich noch mit anderen Befehlen die Weboberfläche wieder zugänglich machen? Habe es auch schon in mehreren Browsern probiert.
 
Hi,
von den Logs sieht es so aus als wären die SSL Schlüssel nicht da. Ist das ein Proxmox Server in einem Cluster oder ist er alleine? Schau mal was in /etc/pve/local/ für Dateien liegen. Falls das Verzeichnis leer ist könnte dir [1] helfen neue Schlüssel zu erstellen.

[1] https://pve.proxmox.com/wiki/Proxmox_SSL_Error_Fixing
 
Hi,
von den Logs sieht es so aus als wären die SSL Schlüssel nicht da. Ist das ein Proxmox Server in einem Cluster oder ist er alleine? Schau mal was in /etc/pve/local/ für Dateien liegen. Falls das Verzeichnis leer ist könnte dir [1] helfen neue Schlüssel zu erstellen.

[1] https://pve.proxmox.com/wiki/Proxmox_SSL_Error_Fixing
Ich bekomme folgendes:
e is 65537 (0x010001)
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:DE
State or Province Name (full name) [Some-State]:Niedersachsen
Locality Name (eg, city) []:Wedel
Organization Name (eg, company) [Internet Widgits Pty Ltd]:.
Organizational Unit Name (eg, section) []:.
Common Name (e.g. server FQDN or YOUR name) []:.
Email Address []:.

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:.
An optional company name []:.
Signature ok
subject=C = DE, ST = Niedersachsen, L = Wedel
Can't open ca.pem for reading, No such file or directory
139703200425280:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('ca.pem','r')
139703200425280:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76:
unable to load certificate

ist das normal?
 
Bei welchem Befehl passiert das? Falles es beim ersten ist, hast du schreib-rechte im derzeitigen Verzeichnis? Falls beim zweiten, liegt das ca.pem irgendwo anders?
 
Bei welchem Befehl passiert das? Falles es beim ersten ist, hast du schreib-rechte im derzeitigen Verzeichnis? Falls beim zweiten, liegt das ca.pem irgendwo anders?
bei dem: openssl x509 -req -in server.csr -CA ca.pem -CAkey ca.key -CAcreateserial -out server.pem -days 365 -sha256
kommt:
Can't open ca.pem for reading, No such file or directory
139839473141056:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('ca.pem','r')
139839473141056:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76:
unable to load certificate

ich bin als root angemeldet.. sollte ich also eigentlich haben..
wo könnte ich das denn sonst finden?
 
Last edited:
Hast du vorher auch den Schritt "For CA" gemacht? Was für files liegen in deinem Verzeichnis ls -la?
 
Hast du vorher auch den Schritt "For CA" gemacht? Was für files liegen in deinem Verzeichnis ls -la?
nein, muss ich das tun?

das bekomm ich bei ls -la:
root@pve:~# ls -la
total 56
drwx------ 5 root root 4096 Jun 17 12:34 .
drwxr-xr-x 19 root root 4096 Apr 4 16:38 ..
-rw------- 1 root root 1149 Jun 17 09:39 .bash_history
-rw-r--r-- 1 root root 571 Apr 10 2021 .bashrc
drwxr-xr-x 3 root root 4096 Mar 14 16:37 .cache
-rw-r--r-- 1 root root 25 Mar 8 17:40 .forward
-rw------- 1 root root 28 Jun 17 10:06 .lesshst
drwxr-xr-x 3 root root 4096 Mar 11 16:29 .local
-rw-r--r-- 1 root root 161 Jul 9 2019 .profile
-rw------- 1 root root 1675 Jun 17 11:45 pve-ssl.key
-rw------- 1 root root 1024 Mar 8 17:44 .rnd
-rw-r--r-- 1 root root 936 Jun 17 12:34 server.csr
-rw------- 1 root root 1679 Jun 17 12:34 server.key
drwxr-xr-x 2 root root 4096 Mar 8 17:44 .ssh
 
Hast du vorher auch den Schritt "For CA" gemacht? Was für files liegen in deinem Verzeichnis ls -la?
bin die schritte nochmal durchgegangen und bei folgenden gings nicht weiter:

root@pve:~# cp pve-ssl.key /etc/pve/local/pve-ssl.key

cp: cannot create regular file '/etc/pve/local/pve-ssl.key': No such file or directory

root@pve:~# cp pve-ssl.pem /etc/pve/local/pve-ssl.pem

cp: cannot create regular file '/etc/pve/local/pve-ssl.pem': No such file or directory

der rest davor hat ohne bemerkungen geklappt
 
Läuft das System in einem Proxmox Cluster?. Mach mal ein ls -lA /etc/pve auf das Verzeichnis.
 
Läuft das System in einem Proxmox Cluster?. Mach mal ein ls -lA /etc/pve auf das Verzeichnis.
ich glaube nicht, dass es ein cluster ist..

bekomme dabei dies:

root@pve:~# ls -la /etc/pve
total 12
drwxr-xr-x 2 root root 4096 Jun 17 13:00 .
drwxr-xr-x 86 root root 4096 May 24 15:24 ..
-rw-r--r-- 1 root root 1204 Jun 17 13:00 pve-root-ca.pem
 
Last edited:
hm ... schauen wir mal nach was der cluster manager weiß :) pvecm status
 
hm ... schauen wir mal nach was der cluster manager weiß :) pvecm status
Danke für die Hilfe, kenn mich nicht so aus mit dem ganzen^^ x)

root@pve:~# pvecm status
ipcc_send_rec[1] failed: Connection refused
ipcc_send_rec[2] failed: Connection refused
ipcc_send_rec[3] failed: Connection refused
Unable to load access control list: Connection refused
 
und wie schaut es mit
Code:
systemctl status pve-cluster
falls das service läuft könnten wir noch in die logs schauen

Code:
journalctl -u pve-cluster
 
und wie schaut es mit
Code:
systemctl status pve-cluster
falls das service läuft könnten wir noch in die logs schauen

Code:
journalctl -u pve-cluster
zumr Ersten:
root@pve:~# systemctl status pve-cluster
● pve-cluster.service - The Proxmox VE cluster filesystem
Loaded: loaded (/lib/systemd/system/pve-cluster.service; enabled; vendor preset: enabled)
Active: activating (start) since Fri 2022-06-17 14:08:01 CEST; 2s ago
Cntrl PID: 15838 (pmxcfs)
Tasks: 1 (limit: 18974)
Memory: 1.5M
CPU: 10ms
CGroup: /system.slice/pve-cluster.service
└─15838 /usr/bin/pmxcfs

Jun 17 14:08:01 pve systemd[1]: Starting The Proxmox VE cluster filesystem...

zweites:
-- Journal begins at Tue 2022-03-08 17:44:23 CET, ends at Fri 2022-06-17 14:08:38 CEST. --
Mar 08 17:44:26 pve systemd[1]: Starting The Proxmox VE cluster filesystem...
Mar 08 17:44:27 pve systemd[1]: Started The Proxmox VE cluster filesystem.
Mar 08 18:11:28 pve systemd[1]: Stopping The Proxmox VE cluster filesystem...
Mar 08 18:11:28 pve pmxcfs[984]: [main] notice: teardown filesystem
Mar 08 18:11:30 pve pmxcfs[984]: [main] notice: exit proxmox configuration filesystem (0)
Mar 08 18:11:30 pve systemd[1]: pve-cluster.service: Succeeded.
Mar 08 18:11:30 pve systemd[1]: Stopped The Proxmox VE cluster filesystem.
Mar 08 18:11:30 pve systemd[1]: pve-cluster.service: Consumed 1.323s CPU time.
-- Boot 2b74ea518e7f4eff91f8623144cca998 --
Mar 11 13:03:30 pve systemd[1]: Starting The Proxmox VE cluster filesystem...
Mar 11 13:03:32 pve systemd[1]: Started The Proxmox VE cluster filesystem.
Mar 11 16:38:43 pve systemd[1]: Stopping The Proxmox VE cluster filesystem...
Mar 11 16:38:43 pve pmxcfs[1105]: [main] notice: teardown filesystem
Mar 11 16:38:44 pve pmxcfs[1105]: [main] notice: exit proxmox configuration filesystem (0)
Mar 11 16:38:44 pve systemd[1]: pve-cluster.service: Succeeded.
Mar 11 16:38:44 pve systemd[1]: Stopped The Proxmox VE cluster filesystem.
Mar 11 16:38:44 pve systemd[1]: pve-cluster.service: Consumed 11.228s CPU time.
-- Boot 5724b50dd1924844afb7d927fb68a6fc --
Mar 14 10:15:43 pve systemd[1]: Starting The Proxmox VE cluster filesystem...
Mar 14 10:15:44 pve systemd[1]: Started The Proxmox VE cluster filesystem.
Mar 22 17:26:23 pve systemd[1]: Stopping The Proxmox VE cluster filesystem...
Mar 22 17:26:23 pve pmxcfs[1100]: [main] notice: teardown filesystem
Mar 22 17:26:23 pve pmxcfs[1100]: [main] notice: exit proxmox configuration filesystem (0)
Mar 22 17:26:24 pve systemd[1]: pve-cluster.service: Succeeded.
Mar 22 17:26:24 pve systemd[1]: Stopped The Proxmox VE cluster filesystem.
Mar 22 17:26:24 pve systemd[1]: pve-cluster.service: Consumed 8min 49.071s CPU time.
-- Boot 646f4ad43e2142678634d74c9b2a8d8c --
Mar 22 17:29:49 pve systemd[1]: Starting The Proxmox VE cluster filesystem...
Mar 22 17:29:51 pve systemd[1]: Started The Proxmox VE cluster filesystem.
Mar 29 13:16:35 pve systemd[1]: Stopping The Proxmox VE cluster filesystem...
Mar 29 13:16:35 pve pmxcfs[1051]: [main] notice: teardown filesystem
Mar 29 13:16:36 pve pmxcfs[1051]: [main] notice: exit proxmox configuration filesystem (0)
Mar 29 13:16:36 pve systemd[1]: pve-cluster.service: Succeeded.
Mar 29 13:16:36 pve systemd[1]: Stopped The Proxmox VE cluster filesystem.
Mar 29 13:16:36 pve systemd[1]: pve-cluster.service: Consumed 8min 11.649s CPU time.
-- Boot 0d4453b192f440d980f3088620cd1b09 --
Mar 29 13:28:36 pve systemd[1]: Starting The Proxmox VE cluster filesystem...
Mar 29 13:28:37 pve systemd[1]: Started The Proxmox VE cluster filesystem.
Mar 30 10:52:58 pve systemd[1]: Stopping The Proxmox VE cluster filesystem...
 
leider helfen die logs vom März nicht so viel schauen wir noch die aktuellen an

Code:
journalctl -u pve-cluster -b 0
 
leider helfen die logs vom März nicht so viel schauen wir noch die aktuellen an

Code:
journalctl -u pve-cluster -b 0
hmm whoops hier:

-- Journal begins at Tue 2022-03-08 17:44:23 CET, ends at Fri 2022-06-17 14:08:38 CEST. --
Mar 08 17:44:26 pve systemd[1]: Starting The Proxmox VE cluster filesystem...
Mar 08 17:44:27 pve systemd[1]: Started The Proxmox VE cluster filesystem.
Mar 08 18:11:28 pve systemd[1]: Stopping The Proxmox VE cluster filesystem...
Mar 08 18:11:28 pve pmxcfs[984]: [main] notice: teardown filesystem
Mar 08 18:11:30 pve pmxcfs[984]: [main] notice: exit proxmox configuration filesystem (0)
Mar 08 18:11:30 pve systemd[1]: pve-cluster.service: Succeeded.
Mar 08 18:11:30 pve systemd[1]: Stopped The Proxmox VE cluster filesystem.
Mar 08 18:11:30 pve systemd[1]: pve-cluster.service: Consumed 1.323s CPU time.
-- Boot 2b74ea518e7f4eff91f8623144cca998 --
Mar 11 13:03:30 pve systemd[1]: Starting The Proxmox VE cluster filesystem...
Mar 11 13:03:32 pve systemd[1]: Started The Proxmox VE cluster filesystem.
Mar 11 16:38:43 pve systemd[1]: Stopping The Proxmox VE cluster filesystem...
Mar 11 16:38:43 pve pmxcfs[1105]: [main] notice: teardown filesystem
Mar 11 16:38:44 pve pmxcfs[1105]: [main] notice: exit proxmox configuration filesystem (0)
Mar 11 16:38:44 pve systemd[1]: pve-cluster.service: Succeeded.
Mar 11 16:38:44 pve systemd[1]: Stopped The Proxmox VE cluster filesystem.
Mar 11 16:38:44 pve systemd[1]: pve-cluster.service: Consumed 11.228s CPU time.
-- Boot 5724b50dd1924844afb7d927fb68a6fc --
Mar 14 10:15:43 pve systemd[1]: Starting The Proxmox VE cluster filesystem...
Mar 14 10:15:44 pve systemd[1]: Started The Proxmox VE cluster filesystem.
Mar 22 17:26:23 pve systemd[1]: Stopping The Proxmox VE cluster filesystem...
Mar 22 17:26:23 pve pmxcfs[1100]: [main] notice: teardown filesystem
Mar 22 17:26:23 pve pmxcfs[1100]: [main] notice: exit proxmox configuration filesystem (0)
Mar 22 17:26:24 pve systemd[1]: pve-cluster.service: Succeeded.
Mar 22 17:26:24 pve systemd[1]: Stopped The Proxmox VE cluster filesystem.
Mar 22 17:26:24 pve systemd[1]: pve-cluster.service: Consumed 8min 49.071s CPU time.
-- Boot 646f4ad43e2142678634d74c9b2a8d8c --
Mar 22 17:29:49 pve systemd[1]: Starting The Proxmox VE cluster filesystem...
Mar 22 17:29:51 pve systemd[1]: Started The Proxmox VE cluster filesystem.
Mar 29 13:16:35 pve systemd[1]: Stopping The Proxmox VE cluster filesystem...
Mar 29 13:16:35 pve pmxcfs[1051]: [main] notice: teardown filesystem
Mar 29 13:16:36 pve pmxcfs[1051]: [main] notice: exit proxmox configuration filesystem (0)
Mar 29 13:16:36 pve systemd[1]: pve-cluster.service: Succeeded.
Mar 29 13:16:36 pve systemd[1]: Stopped The Proxmox VE cluster filesystem.
Mar 29 13:16:36 pve systemd[1]: pve-cluster.service: Consumed 8min 11.649s CPU time.
-- Boot 0d4453b192f440d980f3088620cd1b09 --
Mar 29 13:28:36 pve systemd[1]: Starting The Proxmox VE cluster filesystem...
Mar 29 13:28:37 pve systemd[1]: Started The Proxmox VE cluster filesystem.
Mar 30 10:52:58 pve systemd[1]: Stopping The Proxmox VE cluster filesystem...

root@pve:~# journalctl -u pve-cluster -b 0
-- Journal begins at Tue 2022-03-08 17:44:23 CET, ends at Fri 2022-06-17 14:19:25 CEST. --
Jun 17 09:43:02 pve systemd[1]: Starting The Proxmox VE cluster filesystem...
Jun 17 09:43:07 pve pmxcfs[1109]: [main] crit: Unable to get local IP address
Jun 17 09:43:07 pve pmxcfs[1109]: [main] crit: Unable to get local IP address
Jun 17 09:43:07 pve systemd[1]: pve-cluster.service: Control process exited, code=exited, status=255/EXCEPTION
Jun 17 09:43:07 pve systemd[1]: pve-cluster.service: Failed with result 'exit-code'.
Jun 17 09:43:07 pve systemd[1]: Failed to start The Proxmox VE cluster filesystem.
Jun 17 09:43:08 pve systemd[1]: pve-cluster.service: Scheduled restart job, restart counter is at 1.
Jun 17 09:43:08 pve systemd[1]: Stopped The Proxmox VE cluster filesystem.
Jun 17 09:43:08 pve systemd[1]: Starting The Proxmox VE cluster filesystem...
Jun 17 09:43:14 pve pmxcfs[1178]: [main] crit: Unable to get local IP address
Jun 17 09:43:14 pve pmxcfs[1178]: [main] crit: Unable to get local IP address
Jun 17 09:43:14 pve systemd[1]: pve-cluster.service: Control process exited, code=exited, status=255/EXCEPTION
Jun 17 09:43:14 pve systemd[1]: pve-cluster.service: Failed with result 'exit-code'.
Jun 17 09:43:14 pve systemd[1]: Failed to start The Proxmox VE cluster filesystem.
Jun 17 09:43:14 pve systemd[1]: pve-cluster.service: Scheduled restart job, restart counter is at 2.
Jun 17 09:43:14 pve systemd[1]: Stopped The Proxmox VE cluster filesystem.
Jun 17 09:43:14 pve systemd[1]: Starting The Proxmox VE cluster filesystem...
Jun 17 09:43:20 pve pmxcfs[1189]: [main] crit: Unable to get local IP address
Jun 17 09:43:20 pve pmxcfs[1189]: [main] crit: Unable to get local IP address
Jun 17 09:43:20 pve systemd[1]: pve-cluster.service: Control process exited, code=exited, status=255/EXCEPTION
Jun 17 09:43:20 pve systemd[1]: pve-cluster.service: Failed with result 'exit-code'.
Jun 17 09:43:20 pve systemd[1]: Failed to start The Proxmox VE cluster filesystem.
Jun 17 09:43:21 pve systemd[1]: pve-cluster.service: Scheduled restart job, restart counter is at 3.
Jun 17 09:43:21 pve systemd[1]: Stopped The Proxmox VE cluster filesystem.
Jun 17 09:43:21 pve systemd[1]: Starting The Proxmox VE cluster filesystem...
Jun 17 09:43:27 pve pmxcfs[1202]: [main] crit: Unable to get local IP address
Jun 17 09:43:27 pve pmxcfs[1202]: [main] crit: Unable to get local IP address
Jun 17 09:43:27 pve systemd[1]: pve-cluster.service: Control process exited, code=exited, status=255/EXCEPTION
Jun 17 09:43:27 pve systemd[1]: pve-cluster.service: Failed with result 'exit-code'.
Jun 17 09:43:27 pve systemd[1]: Failed to start The Proxmox VE cluster filesystem.
Jun 17 09:43:27 pve systemd[1]: pve-cluster.service: Scheduled restart job, restart counter is at 4.
Jun 17 09:43:27 pve systemd[1]: Stopped The Proxmox VE cluster filesystem.
Jun 17 09:43:27 pve systemd[1]: Starting The Proxmox VE cluster filesystem...
Jun 17 09:43:34 pve pmxcfs[1209]: [main] crit: Unable to get local IP address
Jun 17 09:43:34 pve pmxcfs[1209]: [main] crit: Unable to get local IP address
Jun 17 09:43:34 pve systemd[1]: pve-cluster.service: Control process exited, code=exited, status=255/EXCEPTION
Jun 17 09:43:34 pve systemd[1]: pve-cluster.service: Failed with result 'exit-code'.
Jun 17 09:43:34 pve systemd[1]: Failed to start The Proxmox VE cluster filesystem.
Jun 17 09:43:34 pve systemd[1]: pve-cluster.service: Scheduled restart job, restart counter is at 5.
 
Code:
...
Jun 17 09:43:34 pve pmxcfs[1209]: [main] crit: Unable to get local IP address
...
Hat sich der hostname oder die IP adresse des Systems in letzter Zeit geändert?

Code:
uname -n

# der output von uname -n  müsste in der Datei als einer der hostnamen stehen:
cat /etc/hosts
 
Code:
...
Jun 17 09:43:34 pve pmxcfs[1209]: [main] crit: Unable to get local IP address
...
Hat sich der hostname oder die IP adresse des Systems in letzter Zeit geändert?

Code:
uname -n

# der output von uname -n  müsste in der Datei als einer der hostnamen stehen:
cat /etc/hosts
naja es ist einmal alles ausgegangen und dann alles gestartet.. keine Ahnung ob da die FritzBox nachhing oder so und das davon kam.. ansonsten hat sich im Netzwerk nichts geändert.

unter cat /etc/hosts bekomme ich:
127.0.0.1 localhost.localdomain localhost

# 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
root@pve:~# uname -n
pve
 
bei mir steht in der hosts datei so etwas z.B.:

Code:
## root@pve-cl2:~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.18.12 pve-cl2

und in der /etc/network/interfaces
Code:
## root@pve-cl2:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback

iface ens18 inet manual

auto vmbr0
iface vmbr0 inet static
    address 192.168.18.12/24
    gateway 192.168.18.1
    bridge-ports ens18
    bridge-stp off
    bridge-fd 0

Die IP für das Interface das Proxmox verwendet muss mit der in der Hosts Datei übereinstimmen. Probier mal bei dir einen Eintrag in /etc/hosts zu machen, und danach einmal neustarten.

Code:
<IP> pve
 
bei mir steht in der hosts datei so etwas z.B.:

Code:
## root@pve-cl2:~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.18.12 pve-cl2

und in der /etc/network/interfaces
Code:
## root@pve-cl2:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback

iface ens18 inet manual

auto vmbr0
iface vmbr0 inet static
    address 192.168.18.12/24
    gateway 192.168.18.1
    bridge-ports ens18
    bridge-stp off
    bridge-fd 0

Die IP für das Interface das Proxmox verwendet muss mit der in der Hosts Datei übereinstimmen. Probier mal bei dir einen Eintrag in /etc/hosts zu machen, und danach einmal neustarten.

Code:
<IP> pve
wie mache ich denn einen eintrag unter cat /etc/hosts da scheint mir die ip adresse zu fehlen? mit nano? server neustart? und trage ich genau das selbe ein wie du da hast, mit der richtigen IP und ebenfalls pve-cl2? oder was anderes?
 
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!