NSClient++ Help (#1) - Failed to install on Windows 2008 32bit (#439) - Message List

Failed to install on Windows 2008 32bit

Trying to install NSClient++-0.3.6-Win32 via the MSI onto a Windows 2008 32bit server. The installer fails with the error:

Product: NSClient++ (Win32) -- 1: Failed to install service: OpenSCManager failed: 5: Access is denied.

I'm not sure what the issue is as I'm not really much of a Windows person. I am a local administrator on the box so I believe I should have all the permissions I need. Can someone offer me some advice? The OS prompted me about not trusting the application and asked if I wanted to continue. Not sure if that means anything or not.

  • Message #1376

    I have the same issue, only with the 64 bit vfersion of 3.6. I tried reinstalling as administrator, and it seemed to succeed, but the log shows "Failed to get service information: OpenSCManager failed: 5: Access is denied".

    I can't uninstall either, it complains about no access to OpenSCManager.

    Any ideas?

    • Message #1377

      OK - I grabbed the latest nightly build (3.7), reinstalled as administrator, and all is well.

    • Message #1395

      Ugh... this is ridiculous. Now I have a version installed, that is in some stuck form and the nightly snapshot (NSClient++-0.3.7-Win32-20090719-1520.msi) can't uninstall the previous version. It throws the error:

      "1: Failed to uninstall service: OpenSCManager failed: 5: Access is denied."

      And if I try to manually uninstall it from the "Programs and features" thing in Control Panel, I get the exact same error. There is no doubt that I am an administrator on this server. So why can't I remove this??? I can't even find the service listed in the Services applet or see the process in Task Manager.

      • Message #1397

        is it an old version?

        and could you do a logged install?

        msiexec /l* foo.txt /i <msi file>
        

        and send me the log michael<at>medin<dot>name

        Michael Medin

        • Message #1402

          The version that appears to be in a sorta state of installed is the current (at the time of this writing) stable version: 3.6

          Log has been emailed.

          • Message #1406

            Could someone try the latest nightly?

            I have don some changes so maybe it works better.

            Michael Medin

            • Message #1413

              Exact same error.

              • Message #1414

                err... I meant to include the version: NSClient++-0.3.7-Win32-20090830-2232.msi

                • Message #1424

                  ok... this thread keeps getting longer and longer :)

                  I have done some investigations and the latest release work on w2k8. The "problem" though is that it wont stop/start services properly unless you run it as administrator.

                  All in all, this is a "minor" issue as windows 2008 handles this for you by popuping up a "kill dialog" not as nice I would have liked but it works...

                  Let me know is anyone has any other issues with the installer an/or windows 2008.

                  Michael Medin

                  • Message #1454

                    I am also having this issue on a Win2k8 machine. Tried installing the 3.6 version install failed. Now I cant uninstall, nor can I install 3.7 over the top of it. Keep receiving the error:

                    "1: Failed to uninstall service: OpenSCManager failed: 5: Access is denied."

                    • Message #1462

                      Try running the installer as administrator.

                      Since this a problem with an "old" installer it is as far as I know impossible to fix (afterwards).

                      Hopefully the new (0.3.7) should not have that problem.

                      Michael Medin

                      • Message #1472

                        Today i tried to install the new version NSClient++0.3.7-x64 as administrator on an Windows 2008 SBS x64 system.

                        But the error is the same: Failed to uninstall service: OpenSCManager failed: 5: Access is denied.

                        Mario Ebenwalder

                        • Message #1473

                          Humm...

                          I am not really sure I can fix this since it is a problem with the OLD MSI file.

                          I am not an MSI installer expert.

                          If someone has the time feel free to try the msizap tool and see if that works: http://msdn.microsoft.com/en-us/library/aa370523%28VS.85%29.aspx

                          When I get home (weekend) I shall try to see if I can simulate this on my w2k8 VM but at the moment I don't have access to it.

                          Michael Medin

                          • Message #1482

                            NSClient++ 0.3.7 64-bit fails to install on Windows 2008 R2, also...

                            A box pops up and vanishes when I run nsclient++ /install

                            0.3.6 64-bit installs fine.

                            Phil

                            • Message #1484

                              Uhmm?

                              nsclient++ /install
                              

                              Is not what this thread is about (I hope).

                              But I shall investigate this as well then. I assume your running nsclient++ as administrator?

                              HUmm, come to think of it... what happened with the "impersonation" I had before for admin. Havent checked that since I swapped building env. so maybe I have lost that?

                              Michael Medin

                              • Message #1489

                                Hello, I can confirm this behaviour. It happens when you try to install NSClient++ on W2K8 32bit with a user which is not "local\Administrator". Even if your user has local admin rights, you will get this error. Installation worked fine logged in as "Administrator".

                                • Message #1983

                                  Hi All,

                                  Just tested on Windows server 2008 r2 installing NSClient++ 0.3.8 x64 and installed beautifully. Have latest NSClient++ client downloaded.

                                  Steps were :-

                                  1. Start --> (right-Click) Command Prompt icon.
                                  2. Select "Rus as administrator"
                                  3. Type "msiexec /i "NSClient++-0.38-x64.msi"

                                  Will install and prompt at end to start service.

                                  To uninstall do steps 1 and 2 above then run type :-

                                  "msiexec /x "NSClient++-0.38-x64.msi"

                                  All good :)

Subscriptions