After having had some stability problems, with running Xen DOMUs under Ubuntu 16.04/Xen 4.6, I decided to upgrade to Ubuntu 16.10/Xen 4.7.
Unfortunately, as I tried to start any of the DOMUs with the option -c to see the console content, the following error message was displayed and I got kicked out and no console.
xenconsole: Could not read tty from store: Success
I searched for hours in the Internet to find a solution. This morning I found an article where the version of Xen was much earlier but the problem was the same.
The daemon xenconsoled was not running. Loading this daemon beforehand seems to have solved this issue, which got me in real trouble with my clients screaming against such long downtime of the servers. For some reason the DOMUs just hung as well.
Start the daemon with the command:
You can make sure that this daemon will start automatically by using one of the following 2 methods:
Start the daemon using the @reboot cron job as follows:
@reboot /bin/sleep 15; /usr/lib/xen-4.7/bin/xenconsoled
Start the daemon using Systemd start method.
Content of xenconsoled.service
Description=Xen Console Daemon service
Execute those commands to register the service for boot start and start it now manually.
systemctl enable xenconsoled
service xenconsoled start