P
pats
Guest
Hi,
I changed hostname in Debian and also followed what i read in this forum "You also need to fix /etc/hosts (and reboot), and then rename the directory where the VM configs are stored (/etc/pve/nodes/[NODENAME]) "
# mv /etc/pve/nodes/server /etc/pve/nodes/prox1
After that i tried to login in Proxmox but got error - login failed, though username/password was correct.
When i do root@prox1:~# pvecm updatecerts get error "unable to get IP for node 'prox1' - node offline?"
i was getting this error also:
root@prox1:~# dpkg-reconfigure pve-manager
Restarting PVE Daemon: pvedaemon.
Restarting PVE Status Daemon: pvestatd.
Syntax error on line 13 of /etc/apache2/sites-enabled/pve-redirect.conf:
SSLCertificateFile: file '/etc/pve/local/pve-ssl.pem' does not exist or is empty
Action 'configtest' failed.
The Apache error log may have more information.
failed!
invoke-rc.d: initscript apache2, action "restart" failed.
Then i saw pve-ssl.pem in /etc/pve/nodes/ so i coped them
root@prox1:~# cp /etc/pve/nodes/pve*.* /etc/pve/local/
cp: target `/etc/pve/local/' is not a directory
root@prox1:~# ls -l /etc/pve/local/
ls: cannot access /etc/pve/local/: No such file or directory
drwxr-x--- 6 root www-data 4096 Jul 21 16:06 nodes
root@prox1:~# mkdir /etc/pve/local
root@prox1:~# cp /etc/pve/nodes/pve*.* /etc/pve/local/
root@prox1:~# dpkg-reconfigure pve-manager
Restarting PVE Daemon: pvedaemon.
Restarting PVE Status Daemon: pvestatd.
Restarting web server: apache2.
help pls...
I changed hostname in Debian and also followed what i read in this forum "You also need to fix /etc/hosts (and reboot), and then rename the directory where the VM configs are stored (/etc/pve/nodes/[NODENAME]) "
# mv /etc/pve/nodes/server /etc/pve/nodes/prox1
After that i tried to login in Proxmox but got error - login failed, though username/password was correct.
When i do root@prox1:~# pvecm updatecerts get error "unable to get IP for node 'prox1' - node offline?"
i was getting this error also:
root@prox1:~# dpkg-reconfigure pve-manager
Restarting PVE Daemon: pvedaemon.
Restarting PVE Status Daemon: pvestatd.
Syntax error on line 13 of /etc/apache2/sites-enabled/pve-redirect.conf:
SSLCertificateFile: file '/etc/pve/local/pve-ssl.pem' does not exist or is empty
Action 'configtest' failed.
The Apache error log may have more information.
failed!
invoke-rc.d: initscript apache2, action "restart" failed.
Then i saw pve-ssl.pem in /etc/pve/nodes/ so i coped them
root@prox1:~# cp /etc/pve/nodes/pve*.* /etc/pve/local/
cp: target `/etc/pve/local/' is not a directory
root@prox1:~# ls -l /etc/pve/local/
ls: cannot access /etc/pve/local/: No such file or directory
drwxr-x--- 6 root www-data 4096 Jul 21 16:06 nodes
root@prox1:~# mkdir /etc/pve/local
root@prox1:~# cp /etc/pve/nodes/pve*.* /etc/pve/local/
root@prox1:~# dpkg-reconfigure pve-manager
Restarting PVE Daemon: pvedaemon.
Restarting PVE Status Daemon: pvestatd.
Restarting web server: apache2.
help pls...
Last edited by a moderator: