How Do I Fix Error "Agent startup failed because the noexec permission is not allowed on /tmp for SMS Agent. Please remount /tmp without noexec" When I Start the Linux Agent?
Symptom
When you ran sh startup.sh to start the SMS Agent, the following message was reported: "SMS.5102 Agent startup failed because the noexec permission is not allowed on /tmp for SMS Agent Please remount /tmp without noexec."
Possible Causes
This problem occurs because a block device is mounted to the /tmp directory, but the exec permission was not assigned or the noexec permission was assigned during the mounting.
Solution
- Log in to the source server.
- Run the mount -l | grep /tmp command. If information similar to the following is displayed, the noexec permission is assigned:
/dev/vdb1 on /tmp type ext4 (rw, noexec, relatime, data=ordered)
- Remount the block device to the /tmp directory. Do not assign the noexec permission during the mounting. Alternatively, run the mount -o remount exec /tmp command to assign the exec permission.
- Run the mount -l | grep /tmp command again. If information similar to the following is displayed, restart the Agent.
/dev/vdb1 on /tmp type ext4 (rw, relatime, data=ordered)
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.