On Saturday, 30 April 2011 17:55:50 Henrik Størner wrote:
So I uninstalled Xymon, deleted everyting related to it and then installed a fresh copy of Xymon 4.3.2 (also via the port-collection) The installation goes fine, but when I start it up, the html files aren't generated. It seems that xymond crashes for reasons I don't understand
I did some digging and I see the following:
xymonlaunch.log:
2011-04-09 23:39:33 xymonlaunch starting 2011-04-09 23:39:33 Loading tasklist configuration from /usr/local/www/xymon/server/etc/tasks.cfg 2011-04-09 23:39:33 Cannot open directory ^T<C2> (<C6><B1>
Looks like something weird in your configuration - that "directory" name doesn't look right. Check your configuration files - especially the xymonserver.cfg and tasks.cfg files, this is something that happens very early in the setup.
Maybe tasks.cfg has a "directory" include pointing to a non-existing directory. Maybe xymonserver.cfg is missing or unreadable.
Maybe your config files are not ascii, but in UTF-16 format.
No. I have seen this before, and I forgot to note it.
In my case there was a permissions problem on either the directory, or a file in the directory. The function handling this does not catch errors in opening the file.
Regards, Buchan