aleksb 1 Posted April 25, 2017 Share Posted April 25, 2017 Hi, I've got one workstation (macOS Sierra 10.12.4) which has problem launching agent. I tried to re-install agent, but I'm getting upgrade failure. Launching agent (in Terminal, to see all the errors); $ /Applications/ESET\ Remote\ Administrator\ Agent.app/Contents/MacOS/ERAAgent Loading kernel ! Failed to load library: /Applications/ESET Remote Administrator Agent.app/Contents/MacOS/Kernel.dylib, error: dlopen(/Applications/ESET Remote Administrator Agent.app/Contents/MacOS/Kernel.dylib, 9): Library not loaded: Protobuf.dylib Referenced from: /Applications/ESET Remote Administrator Agent.app/Contents/MacOS/Kernel.dylib Reason: image not found Not found: Era::Kernel::CCoreModule Then, when trying to upgrade ERA Agent: $ sudo bash EraAgentInstaller.sh Downloading installer image 'hxxp://repository.eset.com/v1/com/eset/apps/business/era/agent/v6/6.5.376.0/agent-macosx-i386.dmg': % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 28.7M 100 28.7M 0 0 15.1M 0 0:00:01 0:00:01 --:--:-- 15.0M Checking integrity of of downloaded package /tmp/EraAgentOnlineInstaller.dmg.4I7vAOGv: OK Mounting image '/tmp/EraAgentOnlineInstaller.dmg.4I7vAOGv': Checksumming Protective Master Boot Record (MBR : 0)… Protective Master Boot Record (MBR :: verified CRC32 $FACBEFF7 Checksumming GPT Header (Primary GPT Header : 1)… GPT Header (Primary GPT Header : 1): verified CRC32 $ABF9AB5A Checksumming GPT Partition Data (Primary GPT Table : 2)… GPT Partition Data (Primary GPT Tabl: verified CRC32 $0FF56751 Checksumming (Apple_Free : 3)… (Apple_Free : 3): verified CRC32 $00000000 Checksumming disk image (Apple_HFS : 4)… ............................................................................................................................................................................................................................. disk image (Apple_HFS : 4): verified CRC32 $E5F3C96F Checksumming (Apple_Free : 5)… (Apple_Free : 5): verified CRC32 $00000000 Checksumming GPT Partition Data (Backup GPT Table : 6)… GPT Partition Data (Backup GPT Table: verified CRC32 $0FF56751 Checksumming GPT Header (Backup GPT Header : 7)… GPT Header (Backup GPT Header : 7): verified CRC32 $9FB5A9AE verified CRC32 $217CAE33 /dev/disk3 GUID_partition_scheme /dev/disk3s1 Apple_HFS /private/tmp/EraAgentOnlineInstaller.mount.hNgOiyiz Installing package '/tmp/EraAgentOnlineInstaller.mount.hNgOiyiz/Agent-MacOSX-i386-6_5_376_0.pkg': installer: Package name is ESET Remote Administrator Agent installer: Upgrading at base path / installer: The upgrade failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.) Cleaning up: "disk3" unmounted. "disk3" ejected. unlink: /tmp/postflight.plist: No such file or directory After this step, I tried to see if any logs exists --- Nope. Nothing in the following paths: /Library/Application Support/com.eset.remoteadministrator.agent/Logs/ /Users/$USER/Library/Logs/EraAgentInstaller.log Any help would be appreciated. Thank you. Link to comment Share on other sites More sharing options...
ESET Staff MartinK 375 Posted April 25, 2017 ESET Staff Share Posted April 25, 2017 Could you please re-run installation with sudo bash -x EraAgentInstaller.sh so that all commands performed during installation are visible? Errors does not make sens, for example file /tmp/postflight.plist should have been created even before installation itself. Agent is also not starting because of missing files... Link to comment Share on other sites More sharing options...
aleksb 1 Posted April 25, 2017 Author Share Posted April 25, 2017 I've fixed issue by renaming `/Applications/ESET Remote Administrator Agent.app` into something like `/Applications/ESET Remote Administrator Agent.app_bad` and then running `EraAgentInstaller.sh` twice. Running with -x is useless, as it clearly visible, that error comes from the `echo "Installing package '$local_mount/$local_pkg':" && sudo -S installer -pkg "$local_mount/$local_pkg" -target /` line in the `EraAgentInstaller.sh` Link to comment Share on other sites More sharing options...
Recommended Posts