<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">OK, I downloaded and installed netcat
and run the command: $ echo xymondboard | netcat 193.61.54.144
1984 <br>
waited for a couple of seconds but nothing was returned. I tried
both 'netcat' and 'nc'.<br>
<br>
I then killed all xymond jobs: $ killall -9 xymond<br>
<br>
then run your netstat command: $ netstat -na|grep 1984.*LISTEN <br>
and it returned: <br>
$ tcp 0 0 0.0.0.0:1984
0.0.0.0:* LISTEN<br>
<br>
xymond is not anymore in my 'top' list.<br>
<br>
$ps auf | grep xymond <br>
returns: <br>
$ xymon 1465 0.0 0.0 4012 664 pts/1 S+ 14:35
0:00 \_ grep xymond<br>
<br>
also xymon.sh is running<br>
<br>
I am getting confused and the reason is that although I think I
killed xymond now xymon seems to be working and the hosts.cfg file
gets loaded. I removed and added a few hosts and the main xymon
page gets updated now. <br>
However my xymond is not happy because it's posting a yellow dizzy
face.<br>
<br>
Please see a few lines from xymonlaunch.log:<br>
<br>
2012-10-16 11:07:41 FATAL: xymond sees clientcount 1, should be 0.
Check for hanging xymond_channel processes or stale semaphores<br>
2012-10-16 11:07:41 Cannot setup page channel<br>
2012-10-16 11:07:41 Task xymond terminated, by signal 9<br>
2012-10-16 11:07:46 Loading hostnames<br>
2012-10-16 11:07:47 Loading saved state<br>
2012-10-16 11:07:47 Setting up network listener on 0.0.0.0:1984<br>
2012-10-16 11:07:47 Setting up signal handlers<br>
2012-10-16 11:07:47 Setting up xymond channels<br>
2012-10-16 11:07:47 Setting up logfiles<br>
<br>
So why everything works after I killed all xymond???<br>
<br>
I am super-confused.<br>
<br>
On 10/16/2012 01:39 AM, Jeremy Laidman wrote:<br>
</div>
<blockquote
cite="mid:CAAnki7DNsK0mB9dGZ8vDXraS-Bynx6oQSeRopf4wEriaGo3cUg@mail.gmail.com"
type="cite">On 15 October 2012 20:25, Yanni <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:y.goudetsidis@mail.cryst.bbk.ac.uk"
target="_blank">y.goudetsidis@mail.cryst.bbk.ac.uk</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>It seems that telnet works because it returns
"connected to 193.61.54.144", however it looks like it
hangs after the: <br>
(Escape character is '^]') line.</div>
</div>
</blockquote>
<div><br>
</div>
<div>That's to be expected. When doing a telnet test like this,
you can get one of three things:</div>
<div>* connection refused (nothing listening on that port)</div>
<div>* time-out (firewall dropping packets)</div>
<div>* connected (works)</div>
<div><br>
</div>
<div>You got the last one, so all good.</div>
<div><br>
</div>
<div>If you have netcat, try doing this:</div>
<div><br>
</div>
<div>
$ echo xymondboard | netcat 193.61.54.144 1984</div>
<div><br>
</div>
<div>This should get you a list of hosts and their status. The
command might be "nc" rather than "netcat".</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>xymonlaunch.log:<br>
2012-10-15 09:56:06 Setting up network listener on <a
moz-do-not-send="true" href="http://0.0.0.0:1984"
target="_blank"><font color="red"><b>MailScanner
warning: numerical links are often malicious:</b></font>
0.0.0.0:1984</a><br>
2012-10-15 09:56:06 Cannot bind to listen socket (Address
already in use)<br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Perhaps you have xymond running twice? Stop xymond, and
kill all remaining xymond processes before attempting to
start it again. Before starting, you should see no output
from this:</div>
<div><br>
</div>
<div>$ netstat -na|grep 1984.*LISTEN</div>
<div><br>
</div>
<div>Cheers</div>
<div>Jeremy</div>
</div>
</blockquote>
<br>
<br>
</body>
</html>