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 mount -l | grep /tmp. 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 mount -o remount exec /tmp to assign the exec permission.
- Run mount -l | grep /tmp again. If information similar to the following is displayed, restart the Agent.
/dev/vdb1 on /tmp type ext4 (rw, relatime, data=ordered)
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot