NSClient++ Help (#1) - nsclient and nrpe servers refuse to load (#987) - Message List
nsclient and nrpe servers refuse to load
NSClient does not seem to be working for me. I am using Windows 7 and this is my third attempt. Issue #522 appears to be similar. But it's an older build: 4.0.163.
Are there any dependencies not mentioned in the docs?
Thanks in advance pclerie
Contents of nsclient.log with nsclient starting in test mode:
2012-06-05 11:36:06: l:..\..\..\trunk\service\NSClient++.cpp:385: NSClient++ 0,4,0,172 2012-05-08 w32 booting...
2012-06-05 11:36:06: e:..\..\..\..\trunk\modules\NRPEServer\NRPEServer.cpp:142: Exception caught: bad lexical cast: source type value could not be interpreted as target
2012-06-05 11:36:06: e:..\..\..\trunk\service\NSClient++.cpp:810: Plugin refused to load: NRPEServer
2012-06-05 11:36:06: c:D:\source\nscp\trunk\include\nscapi/nscapi_plugin_wrapper.hpp:195: Unknown exception in: NSLoadModuleEx
2012-06-05 11:36:06: e:..\..\..\trunk\service\NSClient++.cpp:810: Plugin refused to load: NSClientServer
2012-06-05 11:36:07: l:..\..\..\trunk\service\NSClient++.cpp:385: NSClient++ 0,4,0,172 2012-05-08 w32 booting...
2012-06-05 11:36:08: e:..\..\..\..\trunk\modules\NRPEServer\NRPEServer.cpp:142: Exception caught: bad lexical cast: source type value could not be interpreted as target
2012-06-05 11:36:08: e:..\..\..\trunk\service\NSClient++.cpp:810: Plugin refused to load: NRPEServer
2012-06-05 11:36:08: c:D:\source\nscp\trunk\include\nscapi/nscapi_plugin_wrapper.hpp:195: Unknown exception in: NSLoadModuleEx
2012-06-05 11:36:08: e:..\..\..\trunk\service\NSClient++.cpp:810: Plugin refused to load: NSClientServer
2012-06-05 11:37:41: e:..\..\..\..\trunk\modules\CheckSystem\PDHCollector.cpp:148: Failed to query performance counters: \238(_total)\6: PdhGetFormattedCounterValue failed {format: 1024}: -2147481642: A counter with a negative denominator value was detected.
pclerie
06/05/12 18:05:19 (12 months ago)
-
Message #2621
HUmm..
...bad lexical cast: source type value could not be interpreted as target...
Means a number failed to convert from a string. For instance:
... port=Hello World ...
Would cause this as port is "expected" to be a number. And I am not saying that that is the problem but most likely the problem is related to something odd unexpected in the config so if you could please either post or email the config it would be very helpful...
Michael Medin
mickem06/06/12 21:38:08 (12 months ago)








