Permission Denied: Failed to install the management agent.
- 15 Feb 2024
- 1 Minute to read
- Print
- DarkLight
Permission Denied: Failed to install the management agent.
- Updated on 15 Feb 2024
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
While installing the Veeam agent you may see a permission denied error:
[root@SAU-50429-VS ~]# sh LinuxAgentPackages.SAU_FB5E4_VC_Default_location.sh
Veeam Management Agent Installation
Creating temp directory...
Unpacking installation files...
Extracting packages...
System platform: x64
Installing management agent...
LinuxAgentPackages.SAU_FB5E4_VC_Default_location.sh: line 49: ./getcomputerinfo: Permission denied
Failed to install the management agent.
This is because the script is trying to execute files in /tmp/ but noexec
flag is set on that mount.
You can see below, the noexec flag on tmp mounts, causing the error:
[root@SAU-50429-VS ~]# mount | grep -i '/tmp'
/usr/tmpDSK on /tmp type ext4 (rw,nosuid,noexec,relatime,discard,data=ordered)
/usr/tmpDSK on /var/tmp type ext4 (rw,nosuid,noexec,relatime,discard,data=ordered)
To remedy this issue please perform the following two commands via the terminal:
sed -i 's/$(mktemp -d -t veeammainst-XXXX)/\"\/root\/veeamtmp\"/' /root/LinuxAgentPackages.MyCompany_Default_location.sh
mkdir /root/veeamtmp
Once you've run the above commands, you can re-attempt the installation.
sh /root/LinuxAgentPackages.MyCompany_Default_location.sh
Was this article helpful?