#522 closed defect (worksforme)

Vanilla NSClient++ 0.4.0.163 refuses to start

Reported by: kvdvlist Owned by: mickem
Priority: 1 Milestone: 0.4.1
Component: None Version: 0.4.0-rc
Severity: Bugs Keywords:
Cc:

Description

When doing a new install of 0.4.0.163, nsclient receives some exceptions:

2012-04-24 12:37:24: l:..\..\..\trunk\service\NSClient++.cpp:385: NSClient++ 0,4,0,163 2012-04-14 w32 booting...
2012-04-24 12:37:24: e:..\..\..\..\trunk\modules\NRPEServer\NRPEServer.cpp:142: Exception caught: An invalid argument was supplied
2012-04-24 12:37:24: e:..\..\..\trunk\service\NSClient++.cpp:810: Plugin refused to load: NRPEServer
2012-04-24 12:37:24: c:D:\source\nscp\trunk\include\nscapi/nscapi_plugin_wrapper.hpp:195: Unknown exception in: NSLoadModuleEx
2012-04-24 12:37:24: e:..\..\..\trunk\service\NSClient++.cpp:810: Plugin refused to load: NSClientServer
2012-04-24 12:37:26: l:..\..\..\trunk\service\NSClient++.cpp:385: NSClient++ 0,4,0,163 2012-04-14 w32 booting...
2012-04-24 12:37:26: e:..\..\..\..\trunk\modules\NRPEServer\NRPEServer.cpp:142: Exception caught: An invalid argument was supplied
2012-04-24 12:37:26: e:..\..\..\trunk\service\NSClient++.cpp:810: Plugin refused to load: NRPEServer
2012-04-24 12:37:26: c:D:\source\nscp\trunk\include\nscapi/nscapi_plugin_wrapper.hpp:195: Unknown exception in: NSLoadModuleEx
2012-04-24 12:37:26: e:..\..\..\trunk\service\NSClient++.cpp:810: Plugin refused to load: NSClientServer

The service is started with the following default config:

; Undocumented section


[/modules]

; CheckDisk - CheckDisk can check various file and disk related things. The current version has commands to check Size of hard drives and directories.
CheckDisk = 1

; Event log Checker. - Check for errors and warnings in the event log. This is only supported through NRPE so if you plan to use only NSClient this wont help you at all.
CheckEventLog = 1

; Check External Scripts - A simple wrapper to run external scripts and batch files.
CheckExternalScripts = 1

; Helper function - Various helper function to extend other checks. This is also only supported through NRPE.
CheckHelpers = 1

; Check NSCP - Checkes the state of the agent
CheckNSCP = 1

; CheckSystem - Various system related checks, such as CPU load, process state, service state memory usage and PDH counters.
CheckSystem = 1

; NRPE server - A simple server that listens for incoming NRPE connection and handles them. NRPE is preferred over NSClient as it is more flexible. You can of cource use both NSClient and NRPE.
NRPEServer = 1

; NSClient server - A simple server that listens for incoming NSClient (check_nt) connection and handles them. Although NRPE is the preferred method NSClient is fully supported and can be used for simplicity or for compatibility.
NSClientServer = 1


; Undocumented section
[/settings/default]

; ALLOWED HOSTS - A comaseparated list of allowed hosts. You can use netmasks (/ syntax) or * to create ranges.
allowed hosts = 10.5.2.*,::ffff:10.5.2.*


; Section for NRPE (NRPEListener.dll) (check_nrpe) protocol options.
[/settings/NRPE/server]


; Section for NSClient (NSClientServer.dll) (check_nt) protocol options.
[/settings/NSClient/server]


; Section for system checks and system settings
[/settings/check/system/windows]


; Confiure which services has to be in which state
[/settings/check/system/windows/service mapping]


; Configure crash handling properties.
[/settings/crash]


; Section for the EventLog Checker (CheckEventLog.dll).
[/settings/eventlog]


; A set of options to configure the real time checks
[/settings/eventlog/real-time]


; A set of filters to use in real-time mode
[/settings/eventlog/real-time/filters]


; Section for external scripts configuration options (CheckExternalScripts).
[/settings/external scripts]


; A list of aliases available. An alias is an internal command that has been "wrapped" (to add arguments). Be careful so you don't create loops (ie check_loop=check_a, check_a=check_loop)
[/settings/external scripts/alias]


; A list of scripts available to run from the CheckExternalScripts module. Syntax is: <command>=<script> <arguments>
[/settings/external scripts/scripts]


; A list of wrappped scripts (ie. using the template mechanism)
[/settings/external scripts/wrapped scripts]


; A list of templates for wrapped scripts
[/settings/external scripts/wrappings]


; Section for configuring the log handling.
[/settings/log]


; Configure log file properties.
[/settings/log/file]


; Section for configuring the shared session.
[/settings/shared session]

Change History (2)

comment:1 Changed 13 months ago by mickem

  • Owner set to mickem

Works for me.
Did you by any chance disable the NRPE component when you ran the installer?

Michael Medin

comment:2 Changed 13 months ago by mickem

  • Resolution set to worksforme
  • Status changed from new to closed

Just to make sure I just installed it on a windows 2000 box which also worked so probably not some missing libs... SO my guess is something went wrong with you install?

Note: See TracTickets for help on using tickets.