NSClient++ Help (#1) - Socket.h(722) Socket did not start (#1009) - Message List
Socket.h(722) Socket did not start
Hi,
I'm using NSClient 3.9 but am getting SOCKET TIMEOUT when trying to CHECK_NRPE from Nagios.
This is the log file:
2012-06-26 21:20:42: message:modules\FileLogger\FileLogger.cpp:86: Starting to log for: NSClient++ - 0.3.9.328 2011-08-16 2012-06-26 21:20:44: message:CACHENSClient++.cpp:445: Booting: NSClientpp (Nagios) 0.3.9.328 2011-08-16 x64 2012-06-26 21:20:44: debug:CACHENSClient++.cpp:1216: Enabling debug mode... 2012-06-26 21:20:44: debug:CACHENSClient++.cpp:557: Attempting to start NSCLient++ - 0.3.9.328 2011-08-16 2012-06-26 21:20:44: debug:CACHENSClient++.cpp:1007: Loading plugin: CheckDisk... 2012-06-26 21:20:44: debug:CACHENSClient++.cpp:1007: Loading plugin: Event log Checker.... 2012-06-26 21:20:44: debug:CACHENSClient++.cpp:1007: Loading plugin: Check External Scripts... 2012-06-26 21:20:44: debug:CACHEd:\source\nscp\branches\stable\modules\checkexternalscripts\CheckExternalScripts.h:82: Adding: scripts\check_autoit.batArgs: $ARG1$ 2012-06-26 21:20:44: debug:CACHENSClient++.cpp:1007: Loading plugin: Helper function... 2012-06-26 21:20:44: debug:CACHENSClient++.cpp:1007: Loading plugin: CheckSystem... 2012-06-26 21:20:44: debug:CACHENSClient++.cpp:1007: Loading plugin: CheckWMI... 2012-06-26 21:20:44: debug:CACHEmodules\CheckSystem\PDHCollector.cpp:73: Autodetected w2k or later, using w2k PDH counters. 2012-06-26 21:20:44: debug:CACHENSClient++.cpp:1007: Loading plugin: File logger... 2012-06-26 21:20:44: debug:CACHEmodules\CheckSystem\PDHCollector.cpp:110: Using index to retrive counternames 2012-06-26 21:20:44: message:CACHEmodules\FileLogger\FileLogger.cpp:87: Log path is: C:\Program Files\NSClient++\\nsclient.log 2012-06-26 21:20:44: debug:CACHENSClient++.cpp:1007: Loading plugin: NRPE server (w/ SSL)... 2012-06-26 21:20:44: debug:CACHEmodules\NRPEListener\NRPEListener.cpp:92: Loading all commands (from NRPE) 2012-06-26 21:20:44: debug:CACHEmodules\NRPEListener\NRPEListener.cpp:122: Starting NRPE socket... 2012-06-26 21:20:44: debug:CACHEmodules\CheckSystem\PDHCollector.cpp:130: Found countername: CPU: \Processor(_total)\% Processor Time 2012-06-26 21:20:44: debug:CACHEmodules\CheckSystem\PDHCollector.cpp:131: Found countername: UPTIME: \System\System Up Time 2012-06-26 21:20:44: debug:CACHEmodules\CheckSystem\PDHCollector.cpp:132: Found countername: MCL: \Memory\Commit Limit 2012-06-26 21:20:44: debug:CACHEmodules\CheckSystem\PDHCollector.cpp:133: Found countername: MCB: \Memory\Committed Bytes 2012-06-26 21:20:44: debug:CACHENSClient++.cpp:1007: Loading plugin: NSCAAgent (w/ encryption)... 2012-06-26 21:20:44: error:CACHEinclude\Socket.h:691: bind failed: 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted. 2012-06-26 21:20:44: debug:CACHEmodules\NSCAAgent\NSCAThread.cpp:77: Time difference for NSCA server is: 0 2012-06-26 21:20:44: error:CACHEinclude\Socket.h:722: Socket did not start properly, we will now do nothing... 2012-06-26 21:20:44: debug:CACHEmodules\NSCAAgent\NSCAThread.cpp:87: Only reporting: ok,warning,critical,unknown 2012-06-26 21:20:44: debug:CACHEmodules\NSCAAgent\NSCAThread.cpp:119: Autodetected hostname: WIN-RD3VM2ERJCQ 2012-06-26 21:20:44: debug:CACHENSClient++.cpp:1007: Loading plugin: NSClient server... 2012-06-26 21:20:44: debug:modules\NSCAAgent\NSCAThread.cpp:188: Drifting: 0 2012-06-26 21:20:44: debug:NSClient++.cpp:709: NSCLient++ - 0.3.9.328 2011-08-16 Started! 2012-06-26 21:20:44: error:include\Socket.h:691: bind failed: 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted. 2012-06-26 21:20:44: message:NSClient++.cpp:461: Using settings from: INI-file 2012-06-26 21:20:44: error:include\Socket.h:722: Socket did not start properly, we will now do nothing... 2012-06-26 21:20:44: message:NSClient++.cpp:462: Enter command to inject or exit to terminate...
Anyone? :(
xcalibur
06/26/12 20:21:25 (12 months ago)
-
Message #2674
Your problem is:
bind failed: 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted.
so someone else is using the same port perhaps another installation/instance of nsclient++?
Try checking which services are running...
Michael Medin
mickem07/02/12 12:03:18 (12 months ago)








