After change hostname not started VM and not have access to website panel

developercz

New Member
Oct 16, 2014
21
0
1
Hello, if I change hostname main server, not have access to website panel. I try update all package and restart server, after restart server not run virtual servers and. I see virtual container only in /var/lib/vz/private.


Exits way how start the container without login via website from command line ?,

Thank you for you help

Josef
 
hosts:


# The following lines are desirable for IPv6 capable hosts


fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
86.49.191.164 cdn.unicoeurope.com cdn pvelocalhost
86.49.191.178 storage.unicoeurope.com storage


127.0.0.1 cdn.unicoeurope.com cdn localhost.localdomain localhost
::1 cdn.unicoeurope.com cdn ip6-localhost ip6-loopback

hostname: cdn.unicoeurope.com
 
You need to move the config file into the correct directory:

# mv /etc/pve/nodes/{OLDNODENAME}/openvz/*.conf /etc/pve/nodes/{NEWNODENAME}/openvz/
 
OK, try to start the filesystem with:

#service pve-cluster start

Or do you get an error?

Note: If sucessful, the folder should show up in /etc/pve.
 
root@cdn:~# Starting pve cluster filesystem : pve-cluster[main] crit: Unable to get local IP address
-bash: Starting: command not found
root@cdn:~#
 
OK, you map cdn.unicoeurope.com to 127.0.0.1 in /etc/hosts. Please remove that mapping - use something like:

Code:
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
86.49.191.164	cdn.unicoeurope.com	cdn	 pvelocalhost
86.49.191.178   storage.unicoeurope.com storage


127.0.0.1	 localhost.localdomain localhost
::1 ip6-localhost ip6-loopback

Best to reboot after that change.
 
I change the config and try start :



root@cdn:~# service pve-cluster start
Starting pve cluster filesystem : pve-clusterfuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option
[main] crit: fuse_mount error: No such file or directory
[main] notice: exit proxmox configuration filesystem (-1)
(warning).
root@cdn:~#
 
Dear Dietmar,
many thanks for your help. Now working all perfect and have acces for website panel.

Have a nice day

Kind regards

Josef