Open willemdw opened 4 years ago
ticket #492 mentions the same problem (but with another version of nsclient (0.5.1.46 where icinga installs version 0.5.0062).
its solution says "Installing with msiexec, added the /norestart option."
I'm installing nsclient together with icinga agent "Icinga2AgentModule -RunInstaller -agentname $fqdn -InstallAgentVersion $RequestedIcingaVersion -ParentEndpoints $ParentEndpointsA, $ParentEndpointsB -ParentZone satellite -CAServer $CAServer -Ticket $ticketvalue -downloadurl c:\icinga -AllowUpdates -installnsclient -AgentAddFirewallRule -IcingaEnableDebugLog"
and there is no msiexec command to install nsclient (icinga2angetmodule does not support a parameter /norestart)
where can i add the /norestart option?
Issue and Steps to Reproduce
we installed icinga 2.10.5 with option installnsclient
“Icinga2AgentModule -RunInstaller -agentname $fqdn -InstallAgentVersion $RequestedIcingaVersion -ParentEndpoints $ParentEndpointsA, $ParentEndpointsB -ParentZone satellite -CAServer $CAServer -Ticket $ticketvalue -downloadurl c:\icinga -AllowUpdates -installnsclient -AgentAddFirewallRule -IcingaEnableDebugLog”
Expected Behavior
icinga agent 2.10.5 and nsclient 0.5.0062 installation WITHOUT reboot
Actual Behavior
server did reboot so application installed on this server crashed
Details
Additional Details
NSClient++ log:
2020-02-19 17:05:02: error:c:\source\master\modules\NRPEServer\NRPEServer.cpp:123: Certificate not found: c:\Program Files\NSClient++/security/certificate.pem (generating a default certificate) 2020-02-19 17:05:02: error:c:\source\master\modules\NRPEServer\NRPEServer.cpp:123: CA not found: c:\Program Files\NSClient++/security/ca.pem (generating a default CA)
windows event viewer
The process msiexec.exe has initiated the restart of computer server30 on behalf of user NT AUTHORITY\SYSTEM for the following reason: No title for this reason could be found Reason Code: 0x80030002 Shutdown Type: restart Comment: The Windows Installer initiated a system restart to complete or continue the configuration of 'NSClient++ (x64)'.