[SOLVED] authorized_keys missing

cmonty14

Well-Known Member
Mar 4, 2014
343
5
58
Hi,
for unknown reason the file /root/.ssh/authorized_keys is missing:
root@ld4257:~# ls -la ~/.ssh/
insgesamt 28
drwxr-xr-x 2 root root 4096 Jul 17 16:01 .
drwx------ 6 root root 4096 Jul 17 16:27 ..
lrwxrwxrwx 1 root root 29 Jun 25 15:16 authorized_keys -> /etc/pve/priv/authorized_keys
-rw-r----- 1 root root 117 Jun 25 15:16 config
-rw------- 1 root root 1675 Jun 25 15:16 id_rsa
-rw-r--r-- 1 root root 393 Jun 25 15:16 id_rsa.pub
-rw------- 1 root root 888 Jul 17 16:01 known_hosts
-rw------- 1 root root 888 Jul 17 10:17 known_hosts.old


How can I repair this?
I have no authorization to create this file manually
 
Seems that something happened with your cluster. Check if corosync service works: systemctl status corosync
 
My cluster is corrupted...
root@ld4257:/home# systemctl status corosync
● corosync.service - Corosync Cluster Engine
Loaded: loaded (/lib/systemd/system/corosync.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2018-07-17 16:32:13 CEST; 59min ago
Condition: start condition failed at Tue 2018-07-17 17:27:10 CEST; 4min 20s ago
└─ ConditionPathExists=/etc/corosync/corosync.conf was not met
Docs: man:corosync
man:corosync.conf
man:corosync_overview
Process: 3025 ExecStart=/usr/sbin/corosync -f $COROSYNC_OPTIONS (code=exited, status=8)
Main PID: 3025 (code=exited, status=8)
CPU: 33ms

Jul 17 16:32:13 ld4257 corosync[3025]: info [MAIN ] Corosync built-in features: dbus rdma monitoring
Jul 17 16:32:13 ld4257 corosync[3025]: [MAIN ] Corosync built-in features: dbus rdma monitoring watchd
Jul 17 16:32:13 ld4257 corosync[3025]: [MAIN ] Could not open /etc/corosync/authkey: No such file or d
Jul 17 16:32:13 ld4257 corosync[3025]: error [MAIN ] Could not open /etc/corosync/authkey: No such fi
Jul 17 16:32:13 ld4257 corosync[3025]: error [MAIN ] Corosync Cluster Engine exiting with status 8 at
Jul 17 16:32:13 ld4257 corosync[3025]: [MAIN ] Corosync Cluster Engine exiting with status 8 at main.c
Jul 17 16:32:13 ld4257 systemd[1]: corosync.service: Main process exited, code=exited, status=8/n/a
Jul 17 16:32:13 ld4257 systemd[1]: Failed to start Corosync Cluster Engine.
Jul 17 16:32:13 ld4257 systemd[1]: corosync.service: Unit entered failed state.
Jul 17 16:32:13 ld4257 systemd[1]: corosync.service: Failed with result 'exit-code'.


Is there any way for repairing?
 

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!