Any help here?  I've tried a number of different things to attempt to solve these on my own, but nothing has worked.  Any help would be greatly appreciated.<div><br></div><div>Thanks!</div><div>Skadz</div><div><br><br>
<div class="gmail_quote">On Wed, Oct 26, 2011 at 6:01 PM, Ryan Skadberg <span dir="ltr"><<a href="mailto:skadz@skadz.com">skadz@skadz.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi All -<div><br></div><div>  I've been running hobbit/xymon for a long time, but I've finally just joined the list due to a number of issues after I upgraded from 4.2.3 to 4.3.5.  I walked through and fixed all the file names and everything SEEMS ok, but am seeing a number of strange things:</div>

<div><br></div><div>a) When I start up xymon, I don't get my previous state back.  The xymond options have:</div><div><br></div><div>--restart=/usr/lib/xymon/server/tmp/xymond.chk</div><div>--checkpoint-file=/usr/lib/xymon/server/tmp/xymond.chk</div>

<div><br></div><div>And the files has data:</div><div><br></div><div><div>8136 /usr/lib/xymon/server/tmp/xymond.chk</div></div><div><br></div><div>But when I restart the server or service, I seem to lose all data and anything that has been disabled or acked is now once again back to it's starting state.</div>

<div><br></div><div>b) I can't seem to add new machines.  I add a machine to hosts.cfg and analysis.cfg and it shows up on the web page, but it never seems to actually receive any data.  I've tried reloading the service, but that doesn't seem to help.  I even tried something like:</div>

<div><br></div><div><div>xymon localhost 'enable <a href="http://machine.company.com" target="_blank">machine.company.com</a>'</div></div><div><br></div><div>But it did not help.  I see on the Ghost client page that it seems to recognize the correlation as it has a candidate, but isn't doing anything.  Do I need to do something different with this newer version to enable a machine instead of just adding it to the two files?</div>

<div><br></div><div>c) Last issue is very similar to the previous issue.  I removed a machine from the hosts.cfg file, then ran:</div><div><br></div><div><div>xymon localhost 'drop <a href="http://machine.company.com" target="_blank">machine.company.com</a>'</div>

</div><div><br></div><div>But when it didn't check in for an hour, it still seemingly went purple and sent out emails/pages.  I did a reload on the service and this now seems to have stopped, but I don't think it should have happened in the first place.</div>

<div><br></div><div>d) I get startup errors that don't seem to make a ton of sense:</div><div><br></div><div>In xymonlaunch.log, I see:</div><div><br></div><div><div>2011-10-25 12:11:51 xymonlaunch starting</div><div>

2011-10-25 12:11:51 Loading tasklist configuration from /usr/lib/xymon/server/etc/tasks.cfg</div><div>2011-10-25 12:11:51 Cannot open directory </div><div>2011-10-25 12:11:51 Loading hostnames</div><div>2011-10-25 12:11:51 Cannot load host data</div>

<div>2011-10-25 12:11:51 Loading saved state</div><div>2011-10-25 12:11:51 Cannot access checkpoint file /usr/lib/xymon/server/tmp/xymond.chk for restore</div><div>2011-10-25 12:11:51 Setting up network listener on <a href="http://0.0.0.0:1984" target="_blank">0.0.0.0:1984</a></div>

<div>2011-10-25 12:11:51 Setting up signal handlers</div><div>2011-10-25 12:11:51 Setting up xymond channels</div><div>2011-10-25 12:11:51 Setting up logfiles</div></div><div><br></div><div><br></div><div>As I said, I am seeing all of the hosts that I have in the system and have double checked the permissions and the xymon user can most definitely access all of the files, so why am I getting these errors?</div>

<div><br></div><div><div>[xymon@vir5ob xymon]$ whoami</div><div>xymon</div><div>[xymon@vir5ob xymon]$ wc -l /usr/lib/xymon/server/tmp/xymond.chk </div><div>8136 /usr/lib/xymon/server/tmp/xymond.chk</div><div>[xymon@vir5ob xymon]$ ls -als /usr/lib/xymon/server/tmp/xymond.chk </div>

<div>31756 -rw-rw-r-- 1 xymon xymon 32474378 Oct 26 17:54 /usr/lib/xymon/server/tmp/xymond.chk</div></div><div><br></div><div>I am also seeing:</div><div><br></div><div><div>2011-10-26 17:54:50 Cannot load host data</div>

</div><div><br></div><div>in my xymond.log every 10 minutes.  As I said, any files seem to be accessible as far as I can tell, but maybe since the error message is not very verbose, I am not looking in the right place.</div>

<div><br></div><div>I know these probably all seem like newbie questions, but I have done all the debugging I seem to be able to do and can't figure anything out on these.  Any help would be greatly appreciated.</div>

<div><br></div><div>Thanks!</div><div>Skadz</div><div><br></div>
</blockquote></div><br></div>