NSclient. "Connection refused by host "

Phil Costelloe philc at foundation-it.com
Mon Feb 7 12:08:59 CET 2005


Anders Christensen wrote:
> My NSclient 2.01 sometimes goes into the state of " Connection
> refused by host" Sometimes, I can correct the problem simply by
> restarting the service. 
> If the service is "locked", I can sometimes kill the pnsclient
> process using taskmanager. Otherwice, Im forced to reboot the server
> 
> What causes this "connection refused" ? How can I find the error and
> how to correct it? It sometimes helps to change the port number.

If the server also runs MS Exchange, it may be grabbing hold of
port 1248 and preventing NSClient from working. Configure NSClient
to use a much higher port number, above 2000 should be plenty high
enough. Make sure the port isn't used by anything else.

If you can't kill off a process using Task Manager, try using the
pstools (specifically pskill) freeware package available from
www.sysinternals.com.

Phil


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list