xenserver – Unable to connect to server ” is not a valid URI

Using XenCentre, when connecting to one of a host, I was getting the error

Unable to connect to server '<server>' is not a valid URI

The server was still running and reachable via ping and responded to ssh.

Problem i then found was the root password was “mislaid” for this test hypervisor.

Resolution : reset the root password

  1. reboot machine.,
  2. at boot prompt, type menu.c32
  3. on the grub menu, select xe and press tab.
  4. a command string will then be shown.  Append “single”  (with no quotes)  after the word splash.
  5. XenServer will then boot to another cmd prompt.  Here reset the password using passwd.
  6. now reboot  :  #reboot

then back to Xencentre,

  1. right-click on the server > forget
  2. add back in the server with the new password.