NSclient. "Connection refused by host "

Bolduc, Blair BolducB at brandonrha.mb.ca
Mon Feb 7 17:31:23 CET 2005



-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Phil
Costelloe
Sent: Monday, February 07, 2005 05:09
To: nagios-users at lists.sourceforge.net
Subject: [SPAM] - RE: [Nagios-users] NSclient. "Connection refused by
host " - Email found in subject


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


CONFIDENTIALITY NOTICE:  This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law.  If the reader of this message is not the intended recipient you are hereby notified that any distribution, copying, disclosure and use of, or reliance on the contents of this transmission is strictly prohibited.  If you have received this transmission in error, please notify us immediately by return e-mail and destroy the transmission by deleting the original message, attachments and all copies.7/2/2005



-------------------------------------------------------
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