Note: The issue occurs only on Parallels Virtuozzo Containers, not on physical servers.
After installation of the Microsoft hotfix KB2653956 to the Hardware Node, all containers' hostnames changed to the hostname of the Hardware Node. As a result, the following issues occur:
- FTP stops working -- error
"530 User cannot log in, home directory inaccessible."
- RDP stops working
The behavior has been fixed in VZU460034 update for Parallels Virtuozzo Containers (PVC) 4.6. Make sure your Hardware Node contains this update before installing the mentioned Microsoft hotfix.
If you have already installed the KB2653956 hotfix before installing the VZU460034 PVC update, you will need to follow the below workaround to change the containers' hostnames back to what they were.
Get the containers' original hostnames from configuration files (it is necessary to perform this command on the HW Node):
vzlist -Hao ctid,hostname > C:\hostnames.txt
Reset all containers' hostnames:
for /f "tokens=1,2" %i in (C:\hostnames.txt) do vzctl set %i --hostname %j --save
Restart all containers:
Note: This step will cause service downtime.
for /f %i in ('vzlist -Ho ctid') do vzctl restart %i