Nsca only work once


#1

Hello all
I’ve been using nagios for some time now and decided to start using nsca.
everyting works just fine for me, but the problem is that it only work once, the second time I start send_nsca I get a “Error: timeout after 10 seconds”.

ie:

:~ #/init.d/nsca-2.6 restart
Shutting down nsca:
Starting nsca:
:~ #echo “nagios:testmessage:0:test” | /app/nsca/2.6/sbin/send_nsca -H localhost -d : -c /app/nsca/2.6/etc/send_nsca.cfg
1 data packet(s) sent to host successfully.
:~ #echo “nagios:testmessage:0:test” | /app/nsca/2.6/sbin/send_nsca -H localhost -d : -c /app/nsca/2.6/etc/send_nsca.cfg
Error: Timeout after 10 seconds

The syslog doesen’t show anything at all.

Anyone with the same problem or maybe a solution?

Thanks