<br><tt><font size=3>Hi all,<br>
<br>
I've got the following problem:<br>
<br>
I used to run Xymon 4.2.3 on FreeBSD (using the ports collection) and it
<br>
worked fine.<br>
However, when I upgraded to 4.3.2, I got all sorts of weird behaviour,
so <br>
I decided to start from scratch.<br>
<br>
So I uninstalled Xymon, deleted everyting related to it and then installed
<br>
a fresh copy of Xymon 4.3.2 (also via the port-collection)<br>
The installation goes fine, but when I start it up, the html files aren't
<br>
generated.<br>
It seems that xymond crashes for reasons I don't understand<br>
<br>
I did some digging and I see the following:<br>
<br>
xymonlaunch.log:<br>
<br>
2011-04-09 23:39:33 xymonlaunch starting<br>
2011-04-09 23:39:33 Loading tasklist configuration from <br>
/usr/local/www/xymon/server/etc/tasks.cfg<br>
2011-04-09 23:39:33 Cannot open directory ^T<C2>      
 (<C6><B1><br>
2011-04-09 23:39:33 Loading hostnames<br>
2011-04-09 23:39:33 Loading saved state<br>
2011-04-09 23:39:33 Cannot access checkpoint file <br>
/usr/local/www/xymon/server/tmp/xymond.chk for restore<br>
2011-04-09 23:39:33 Setting up network listener on 0.0.0.0:1984<br>
2011-04-09 23:39:33 Setting up signal handlers<br>
2011-04-09 23:39:33 Setting up xymond channels<br>
2011-04-09 23:39:33 Setting up logfiles<br>
2011-04-09 23:39:38 Cannot open env file <br>
/usr/local/www/xymon/client/etc/xymonclient.cfg - No such file or <br>
directory<br>
2011-04-09 23:39:39 Task xymond terminated by signal 6<br>
2011-04-09 23:39:39 Loading hostnames<br>
2011-04-09 23:39:39 Loading saved state<br>
2011-04-09 23:39:39 Cannot access checkpoint file <br>
/usr/local/www/xymon/server/tmp/xymond.chk for restore<br>
2011-04-09 23:39:39 Setting up network listener on 0.0.0.0:1984<br>
2011-04-09 23:39:39 Cannot bind to listen socket (Address already in use)<br>
2011-04-09 23:39:39 Task xymond terminated, status 1<br>
2011-04-09 23:39:44 Loading hostnames<br>
2011-04-09 23:39:44 Loading saved state<br>
2011-04-09 23:39:44 Cannot access checkpoint file <br>
/usr/local/www/xymon/server/tmp/xymond.chk for restore<br>
2011-04-09 23:39:44 Setting up network listener on 0.0.0.0:1984<br>
2011-04-09 23:39:44 Cannot bind to listen socket (Address already in use)<br>
2011-04-09 23:39:44 Task xymond terminated, status 1<br>
2011-04-09 23:39:49 Loading hostnames<br>
2011-04-09 23:39:49 Loading saved state<br>
2011-04-09 23:39:49 Cannot access checkpoint file <br>
/usr/local/www/xymon/server/tmp/xymond.chk for restore<br>
2011-04-09 23:39:49 Setting up network listener on 0.0.0.0:1984<br>
2011-04-09 23:39:49 Cannot bind to listen socket (Address already in use)<br>
2011-04-09 23:39:49 Task xymond terminated, status 1<br>
2011-04-09 23:39:54 Loading hostnames<br>
2011-04-09 23:39:54 Loading saved state<br>
2011-04-09 23:39:54 Cannot access checkpoint file <br>
/usr/local/www/xymon/server/tmp/xymond.chk for restore<br>
2011-04-09 23:39:54 Setting up network listener on 0.0.0.0:1984<br>
2011-04-09 23:39:54 Setting up signal handlers<br>
2011-04-09 23:39:54 Setting up xymond channels<br>
2011-04-09 23:39:54 Setting up logfiles<br>
.....<br>
<br>
xymond.log<br>
<br>
2011-04-09 23:39:33 Setup complete<br>
2011-04-09 23:39:54 Whoops ! Failed to send message (timeout)<br>
2011-04-09 23:39:54 -><br>
2011-04-09 23:39:54 ->  Recipient '127.0.0.1', timeout 15<br>
2011-04-09 23:39:54 ->  1st line: 'status xymon,example,com.xymond
red - <br>
Program crashed'<br>
2011-04-09 23:39:54 Setup complete<br>
2011-04-09 23:40:21 Whoops ! Failed to send message (timeout)<br>
2011-04-09 23:40:21 -><br>
2011-04-09 23:40:21 ->  Recipient '127.0.0.1', timeout 15<br>
2011-04-09 23:40:21 ->  1st line: 'status xymon,example,com.xymond
red - <br>
Program crashed'<br>
2011-04-09 23:50:09 Setup complete<br>
2011-04-09 23:50:30 Whoops ! Failed to send message (timeout)<br>
2011-04-09 23:50:30 -><br>
2011-04-09 23:50:30 ->  Recipient '127.0.0.1', timeout 15<br>
2011-04-09 23:50:30 ->  1st line: 'status xymon,example,com.xymond
red - <br>
Program crashed'<br>
2011-04-09 23:50:30 Setup complete<br>
2011-04-09 23:51:10 Whoops ! Failed to send message (timeout)<br>
2011-04-09 23:51:10 -><br>
2011-04-09 23:51:10 ->  Recipient '127.0.0.1', timeout 15<br>
2011-04-09 23:51:10 ->  1st line: 'status xymon,example,com.xymond
red - <br>
Program crashed'<br>
2011-04-10 00:00:58 Setup complete<br>
2011-04-10 00:01:17 Whoops ! Failed to send message (timeout)<br>
2011-04-10 00:01:17 -><br>
2011-04-10 00:01:17 ->  Recipient '127.0.0.1', timeout 15<br>
2011-04-10 00:01:17 ->  1st line: 'status xymon,example,com.xymond
red - <br>
Program crashed'<br>
2011-04-10 00:01:17 Setup complete<br>
2011-04-10 00:01:32 Whoops ! Failed to send message (timeout)<br>
2011-04-10 00:01:32 -><br>
2011-04-10 00:01:32 ->  Recipient '127.0.0.1', timeout 15<br>
2011-04-10 00:01:32 ->  1st line: 'status xymon,example,com.xymond
red - <br>
Program crashed'<br>
.......<br>
<br>
<br>
Output from gdb bin/xymond tmp/xymond.core<br>
 <br>
#0  0x281afe17 in kill () from /lib/libc.so.7<br>
#1  0x281afd76 in raise () from /lib/libc.so.7<br>
#2  0x281ae98a in abort () from /lib/libc.so.7<br>
#3  0x0805df23 in sigsegv_handler (signum=11) at sig.c:57<br>
#4  <signal handler called><br>
#5  rbtFind (h=0x0, key=0x2822b047) at rbtr.c:380<br>
#6  0x0805a461 in knownhost (hostname=0x2822b047 "Amp2hi-test",
<br>
hostip=0xbfbfbcfc "", ghosthandling=GH_LOG) at loadhosts.c:344<br>
#7  0x0804d626 in get_hts (msg=Variable "msg" is not available.)
at <br>
xymond.c:1051<br>
#8  0x08051be0 in do_message (msg=0x28204100, origin=0x806238f "")
at <br>
xymond.c:2981<br>
#9  0x08056871 in main (argc=8, argv=Cannot access memory at address
0x4) <br>
at xymond.c:4999<br>
<br>
Line 6 surprises me, because 'Amp2hi-test' is one of the hosts that I used
<br>
to monitor, but I removed all the old configs etc from the server.<br>
I've started up xymon several times and sometimes I see other 'old' <br>
hostnames in the output file of xymond.core<br>
It appears that I didn't completely remove all traces of the old <br>
installation after all...<br>
<br>
Any help would be appreciated,<br>
<br>
Dennis<br>
</font></tt><font size=1 face="sans-serif"><br>
<br>
</font>
<hr><font size=1 face="sans-serif"><br>
Disclaimer.<br>
<br>
This email is intended only for use by the addressee and may contain<br>
confidential information. If you receive this email unintentionally,<br>
please delete the email and inform Toshiba Medical Systems Europe BV<br>
(TMSE) immediately.<br>
<br>
TMSE does not guarantee that email transmission is secure or error-free
as<br>
information could be intercepted, corrupted, lost, destroyed, arrive late<br>
or<br>
incomplete, or contain viruses. If verification is required please request<br>
a written confirmation. TMSE accepts no liability for any damage resulting<br>
from the use and/or acceptation of the content of this e-mail.<br>
<br>
The sale and delivery of products are subject to the General Conditions<br>
of TMSE, which have been filed with the trade registrar in the<br>
Netherlands under no. HR 27 143 943.<br>
A copy of the General Conditions will be forwarded upon request</font><font size=3 face="sans-serif"><br>
</font>
<hr><font size=7 color=#008250 face="Webdings"><br>
P</font><font size=1 color=#008250 face="Arial"> Please consider the environment
before printing this email</font>