Search Engine: Elastic

Article ID: 4493, created on Mar 24, 2008, last review on Apr 18, 2012

  • Applies to:
  • Sphera


What to do when the XML is corrupted?


1. Make sure that Hostdir is not working  using the *command 'ps -efw | grep manager'
    You should get 5 instances more or less of the manager process if it is running properly.
    If you do not get something similar to that it means the HostDir is not running.
2. Check the XML File, if it is corrupted, 
     a. change the XML.Backup to .XML (Make sure to backup the current corrupted XML File for futher investigations).
     b.'cp hostdir.xml hostdir.xml.25012001' <- Backing up the current corrupted XML file.
     c.'cp hostdir.xml.backup hostdir.xml' <- Changing the backup file to be the production file (Choose yes to overwrite it when it asks you for it)
3. Run 'sphadmin'. choose option number 14 (Viewable from the 99 Menu) and do not enter anything as a command line parameter.

*ps command shows you the processes running on the machine

5f478287f7e74fe9b07217d8131cd741 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF