Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ncpa v3.1.1 for Windows: error during upgrade #1222

Open
vtracnagios opened this issue Nov 4, 2024 · 0 comments
Open

ncpa v3.1.1 for Windows: error during upgrade #1222

vtracnagios opened this issue Nov 4, 2024 · 0 comments

Comments

@vtracnagios
Copy link

A client is attempting to upgrade Windows NCPA agent from 3.1.0 to 3.1.1 and I get the following error:

image

Here are the client's finding and resolutions:

_"I did some troubleshooting and I believe I found a bug with the upgrade & uninstall. When I do an upgrade or a reinstall from the old agent (3.0.0) to the new one (3.1.1), all the running processes that uses the DLL, servicemananger.pyd will stop for the ncpa processes. But the svchost.exe also has a lock on the file, which doesn't stop. This is preventing the file to be upgrade or uninstalled. Both the upgrade and reinstall will run without errors. But the old file doesn't get replace which will cause the service not to start.

If I manually kill the process svchost.exe that has the lock on the DLL first, I can successfully upgrade and reinstall the the new agent successfully."_

Ticket: 11696
https://nagiosenterprises.lightning.force.com/lightning/r/Case/500Vm00000FaDe6IAF/view

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants