This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can't install HPSA agent : the system cannot find install_tool_x64.exe

Hello,

 

I am facing an issue when installing HPSA agent on Windows Server 2012 R2. I've never encounter this type of issue and I didn't find any solution on Microfocus archives regarding this issue that works.

So HPSA agent installer is at the right version, right OS. The server has already been rebooted, no python process in running, ports are opened and ready to use but when I install the agent, even as Administrator, I get these errors:

[01/Aug/2019 12:39:48] [TRACE] RunCommand('install_tool_x64.exe --zap --loglevel=trace')
[01/Aug/2019 12:39:48] [ERROR] RunCommand() - Popen failed : 'install_tool_x64.exe --zap --loglevel=trace' : Error : (2) : 'The system cannot find the file specified.

[01/Aug/2019 12:39:48] [ERROR] zap_agent: FAIL

...

[01/Aug/2019 12:39:48] [ERROR] RunCommand() - Popen failed : 'install_tool_x64.exe --unpack="C:\Users\X18303~1\AppData\Local\Temp\3\~5504-1.WRK\opsware-agent.exe","C:\Program Files\Opsware\agent" --install="C:\Program Files\Opsware\agent","C:\Users\X18303~1\AppData\Local\Temp\3\~5504-1.WRK" --loglevel=trace' : Error : (2) : 'The system cannot find the file specified.

[01/Aug/2019 12:39:48] [TRACE] install_tool: FAIL

[01/Aug/2019 12:39:48] [ERROR] Opsware agent installation failed.

(all log details in attachment)

 

Do you happen to know how to fix this issue please? 

I already saw this old topic, but the solution can't be applied to our system: community.microfocus.com/.../1069533

Regards,

SG

 

  • [01/Aug/2019 12:39:48] [TRACE] ChDir( C:\Users\X18303~1\AppData\Local\Temp\3\~5504-1.WRK )
    [01/Aug/2019 12:39:48] [TRACE] ChDir() = 1
    [01/Aug/2019 12:39:48] [TRACE] ChDir( install_tool )
    [01/Aug/2019 12:39:48] [TRACE] ChDir() = 1
    [01/Aug/2019 12:39:48] [TRACE] RunCommand('install_tool_x64.exe --zap --loglevel=trace')
    [01/Aug/2019 12:39:48] [ERROR] RunCommand() - Popen failed : 'install_tool_x64.exe --zap --loglevel=trace' : Error : (2) : 'The system cannot find the file specified.

    This failure means the install process cannot find/access the install_tool_x64.exe binary which is part of the agent installer and would be extracted to the install_tool folder in the beginning of the agent install.

    Make sure that you're running the agent installer with a privileged user.
    Check if the install_tool folder and its contents is created during the install attempt in C:\Users\X18303~1\AppData\Local\Temp\....
  • Hello,

    When SA agent detects different enviroment variable in COMSPEC than the default one (cmd path), then this error appears.

    >echo %COMSPEC%

    C:\windows\system32\cmd.exe;D:\Tools\Cmd\BEM_CLI

    Removing “D:\Tools\Cmd\BEM_CLI” from %COMSPEC% allowed us to install HPSA agent.

    Regards

  • The environment variable by default points to the full path of the command line interpreter.  What does it mean to point to TWO command line interpreters ?  Is this even allowed?  I'm thinking you have a configuration issue with how you are using it.

     

  • Came across this one today. Client had totally missed on the comspec variable - c:\windows\system64\cmd.exe. I was chasing a bad path variable but this helped me find the bad comspec.