NagiosEnterprises / ncpa

Nagios Cross-Platform Agent
Other
177 stars 95 forks source link

NCPA agent fails to start on Windows 7 build 7601.17514 #959

Open luckyrob opened 1 year ago

luckyrob commented 1 year ago

Having a problem with the NCPA that is installed on Win7 SP1 and Win 2008. 2.41 and 3.0.0 do not work. Everything installs without an issue, but the NCPA service will not start. Attempting to start the service results in a "Error 1053 The service did not respond to the start or control request in a timely fashion". image

Eventvwr Error in System shows Error 7000 (The Service Control Manager (SCM) logs this event when a service fails or hangs while starting) and Error 7009 (A timeout was reached (30000 milliseconds) while waiting for the NCPA service to connect.).

Installed NCPA 2.4.0 on the Win7 and 2008 machines (Instead of 1 service, there are 2 separate services NCPA listening, NCPA passive and both start as expected, NCPA works).

Machines are 64bit, fully patched, have NET4.8 installed, and Powershell 5.1 installed.

Just wanted to know if this was expected behavior for versions 2.41+ that Win 7 and 2008 are not supported or is there something I should look into on those old OS devices?

Stats for Nagios server: Nagios 4.4.13 Nagios Plugins 2.4.4 NCPA ncpa-2.4.1-1.el9.x86_64

Thx!

sawolf commented 1 year ago

Hi @luckyrob, thanks for reaching out. I don't think NCPA 3 is going to support Windows 7, but 2.4.1 is meant to. That said, I know we also didn't have any Windows 7/Server 2008 devices around for in-house testing when we did that release. I've reached out to the current NCPA 3 developers and the development manager to see what we can do about this.

ne-bbahn commented 1 year ago

Starting with Python 3.9, Windows 7 support has been discontinued. Consequently, NCPA 3 is not compatible with Windows 7. If it's essential for you to run NCPA 3 on Windows 7, you could consider trying to build NCPA using a customized Python build. However, I recommend using NCPA 2.4.1 instead.