Jump to content

Unable to install agent on MacOS 10.10.4


Recommended Posts

We're unable to install the ESET Management Agent on a unit with MacOS 10.10.4. From the installer script, below is what we're seeing.

usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
       mktemp [-d] [-q] [-u] -t prefix 
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
       mktemp [-d] [-q] [-u] -t prefix 
/Users/aepi/Desktop/ESMCAgentInstaller.sh: line 7: : No such file or directory
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
       mktemp [-d] [-q] [-u] -t prefix 
/Users/aepi/Desktop/ESMCAgentInstaller.sh: line 9: : No such file or directory
ESET Management Agent live installer script. Copyright © 1992-2020 ESET, spol. s r.o. - All rights reserved.
 * Hostname: av.xxxxx.com
 * Port: 2222
 * Installer: hxxp://repository.eset.com/v1/com/eset/apps/business/era/agent/v7/7.2.3261.0/agent_macosx_x86_64.dmg

/Users/aepi/Desktop/ESMCAgentInstaller.sh: line 89: : No such file or directory
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
       mktemp [-d] [-q] [-u] -t prefix 
tee: : No such file or directory
/Users/aepi/Desktop/ESMCAgentInstaller.sh: line 169: : No such file or directory
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
       mktemp [-d] [-q] [-u] -t prefix 
Downloading installer image 'hxxp://repository.eset.com/v1/com/eset/apps/business/era/agent/v7/7.2.3261.0/agent_macosx_x86_64.dmg':
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0Warning: Remote filename has no length!
curl: (23) Failed writing body (0 != 2522)
Failed to download installer file
Cleaning up:

 

When we try to manually download the .dmg file, here's the error.

image.png.cc48574a3e7fbe158d805568939dd3c5.png

 

Any help would be appreciated.

 

Thanks.

Link to comment
Share on other sites

  • ESET Staff

Unfortunately we are aware of this issue affecting macOS 10.9 and macOS 10.10 due to behavior changes of mktemp system utility. There is currently no analysis finished, but I would recommend to try to manually modify installation script in a way that calls like this:

$(mktemp -q)
$(mktemp -q -u)
$(mktemp -q -d)

are replaced with:

$(mktemp -q    /tmp/EraAgentOnlineInstaller.XXXXXXXX)
$(mktemp -q -u /tmp/EraAgentOnlineInstaller.XXXXXXXX)
$(mktemp -q -d /tmp/EraAgentOnlineInstaller.XXXXXXXX)

where probably 6 lines will have to be modified to make it work. Also it might help to make added paths unique for each call.

Link to comment
Share on other sites

1 hour ago, MartinK said:

Unfortunately we are aware of this issue affecting macOS 10.9 and macOS 10.10 due to behavior changes of mktemp system utility. There is currently no analysis finished, but I would recommend to try to manually modify installation script in a way that calls like this:


$(mktemp -q)
$(mktemp -q -u)
$(mktemp -q -d)

are replaced with:


$(mktemp -q    /tmp/EraAgentOnlineInstaller.XXXXXXXX)
$(mktemp -q -u /tmp/EraAgentOnlineInstaller.XXXXXXXX)
$(mktemp -q -d /tmp/EraAgentOnlineInstaller.XXXXXXXX)

where probably 6 lines will have to be modified to make it work. Also it might help to make added paths unique for each call.

After making the changes on the script, below is the error we're seeing.

ESET Management Agent live installer script. Copyright © 1992-2020 ESET, spol. s r.o. - All rights reserved.
 * Hostname: av.xxxxx.com
 * Port: 2222
 * Installer: hxxp://repository.eset.com/v1/com/eset/apps/business/era/agent/v7/7.2.3261.0/agent_macosx_x86_64.dmg

/Users/aepi/Desktop/ESMCAgentInstaller.sh: line 91: /tmp/postflight.plist: Permission denied
Cleaning up:
rm: /tmp/postflight.plist: Permission denied

 

Any ideas?

Link to comment
Share on other sites

  • ESET Staff
3 hours ago, AlexEspadero said:

After making the changes on the script, below is the error we're seeing.

ESET Management Agent live installer script. Copyright © 1992-2020 ESET, spol. s r.o. - All rights reserved.
 * Hostname: av.xxxxx.com
 * Port: 2222
 * Installer: hxxp://repository.eset.com/v1/com/eset/apps/business/era/agent/v7/7.2.3261.0/agent_macosx_x86_64.dmg

/Users/aepi/Desktop/ESMCAgentInstaller.sh: line 91: /tmp/postflight.plist: Permission denied
Cleaning up:
rm: /tmp/postflight.plist: Permission denied

 

Any ideas?

Could you please double check that installation script is executed with root permissions, i.e. either in root terminal, or in administrator terminal using sudo command? Otherwise it makes sense why script is not able access mentioned file - it should be actually created and removed during installation.

Link to comment
Share on other sites

  • 3 weeks later...

Hi,

 

I'm getting the below message, can anyone please help? I am running  on MacOS 10.15.5 (19F96)

Downloading installer image 'hxxp://repository.eset.com/v1/com/eset/apps/business/era/agent/v7/7.2.3261.0/agent_macosx_x86_64.dmg':

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:--  0:05:00 --:--:--     0

curl: (52) Empty reply from server

Failed to download installer file

Link to comment
Share on other sites

  • ESET Staff

Could you please verify that you can download this file manually on client machine? Also is there any HTTP proxy used / set in installer to be used? Maybe it is not working as expected and providing wrong response ...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...