NetXMS Support Forum

English Support => General Support => Topic started by: Spheron on March 03, 2020, 10:18:21 AM

Title: Agent 3.2.380 stucks at install
Post by: Spheron on March 03, 2020, 10:18:21 AM
Hello @all,

we try to install Winx64 Agent 3.2.380 with "/Verysilent /Server=X.X.X.X" Paramter on an WinSvr2008R2 but the installation hang (please see attachment). The installer is executed by our software deployment agent that runs as system user.

If i install the agent normal with gui (without any parameter) the installation runs smooth without errors.

With the V3.2.350 there are no problems at "verysilent" installation.

I want to provide more infos from the stuck installation, is there a install log paramter setting that i can use?

Greetings
Marco
Title: Re: Agent 3.2.380 stucks at install
Post by: Victor Kirhenshtein on March 03, 2020, 11:29:05 AM
Hi,

you can add /LOG or /LOG=file to installer command line. If file name is not provided log file will be created in user's TEMP directory.

Best regards,
Victor
Title: Re: Agent 3.2.380 stucks at install
Post by: Spheron on March 03, 2020, 12:08:46 PM

OK, I've got the log. Last Entrys are these:

---------------------------------------------------------
2020-03-03 10:51:50.498   -- File entry --
2020-03-03 10:51:50.498   Dest filename: C:\NetXMS\bin\libethernetip.dll
2020-03-03 10:51:50.498   Time stamp of our file: 2020-03-02 20:23:22.000
2020-03-03 10:51:50.498   Dest file exists.
2020-03-03 10:51:50.498   Time stamp of existing file: 2020-03-02 20:23:22.000
2020-03-03 10:51:50.498   Installing the file.
2020-03-03 10:51:50.504   Successfully installed the file.
2020-03-03 10:51:50.504   -- File entry --
2020-03-03 10:51:50.504   Dest filename: C:\NetXMS\bin\libnetxms.dll
2020-03-03 10:51:50.504   Time stamp of our file: 2020-03-02 20:23:24.000
2020-03-03 10:51:50.504   Dest file exists.
2020-03-03 10:51:50.504   Time stamp of existing file: 2020-03-02 20:23:24.000
2020-03-03 10:51:50.504   Installing the file.
2020-03-03 10:51:50.528   DeleteFile: The existing file appears to be in use (5). Retrying.
2020-03-03 10:51:51.528   DeleteFile: The existing file appears to be in use (5). Retrying.
2020-03-03 10:51:52.528   DeleteFile: The existing file appears to be in use (5). Retrying.
2020-03-03 10:51:53.528   DeleteFile: The existing file appears to be in use (5). Retrying.
2020-03-03 10:51:54.528   Message box (Abort/Retry/Ignore):
                          C:\NetXMS\bin\libnetxms.dll
                         
                          An error occurred while trying to replace the existing file:
                          DeleteFile failed; code 5.
                          Zugriff verweigert.
                         
                          Click Retry to try again, Ignore to skip this file (not recommended), or Abort to cancel installation.
---------------------------------------------------------

I'm searching for a process blocking the libnetxms.dll with Sysinternals Process Explorer but there are no such process.

I've got the same warning at installing the server upgrade to V3.2.380 at today morning, but after a few clicks on Retry the server installer goes onwards...
Title: Re: Agent 3.2.380 stucks at install
Post by: Victor Kirhenshtein on March 03, 2020, 01:12:59 PM
I just uploaded agent installer version 3.2.381 - please try that one.

Best regards,
Victor
Title: Re: Agent 3.2.380 stucks at install
Post by: Spheron on March 03, 2020, 01:40:52 PM

Hello Victor,

tried (on WinSvr2008R2 64bit + WinSvr2016 64bit) and worked... :-)

Many thanks for the fast response...

Greetings
Marco