Crucial Paradigm

Call us now 1300 884 839

Member Login
Australia USA

Location: Australia

Crucial Feature 01 Crucial Feature 02 Crucial Feature 03 Crucial Feature 04

Crucial Paradigm Australia Official Blog

RSS Feed

XenServer: Server won’t exist maintenance mode, Cannot forward messages because the server cannot be contacted

March 31, 2011

If you ever find your server won’t exist maintenance mode after a power failure, or even just normally you may have a corrupt state.db file.

The error message you may get while trying to make a change on the node is:

Cannot forward messages because the host cannot be contacted.  The host may be switched off or there may be network connectivity problems.

If this is in fact a state.db corruption in a pool, you can try the following steps to fix the issue:

  1. cd /var/xapi
  2. ls -al  -> check the results of this, usually the state.db will have an old time stamp – the time at which is became corrupted.
  3. mv state.db state.db_bak
  4. service xapi restart

If this does not fix the issue, I’ve heard of users opening state.db with an xml editor (its just an xml file) and fixing the errors in the xml file. Some other users have mentioned that the cause of the issue could be that the config in the node that is down in maintenance mode could have the incorrect config in /etc/xensource/pool.conf. The format should be “slave:[masterip]“.

Aaron Weller
Author:


(1) Comment

One Response on this topic

  1. [...] above fix seemed to only temporarily fix the issue, I used the fix outlined in my blog post about the state.db corruption. aaron Author: aaron Tags: virtualization, xenserver No Comments Filed under: Technical [...]

Leave a Reply

Copyright 2003-2012 © Crucial Paradigm Pty Ltd, All Rights Reserved