文档首页 > > 常见问题> Agent安装与启动>

Linux系统提示“Agent startup failed because the noexec permission is not allow on /tmp for SMS Agent. Please remount /tmp without noexec.”该如何处理?

Linux系统提示“Agent startup failed because the noexec permission is not allow on /tmp for SMS Agent. Please remount /tmp without noexec.”该如何处理?

分享
更新时间:2021/01/15 GMT+08:00

问题描述

执行sh startup.sh启动sms Agent时,提示“SMS.5102 Agent startup failed because the noexec permission is not allow on /tmp for SMS Agent. Please remount /tmp without noexec.”。

问题分析

该问题一般是由于有块设备挂载在/tmp目录下,但是挂载时未指定exec权限或者指定了noexec权限导致。

解决方案

  1. 登录源端服务器。
  2. 执行mount -l | grep /tmp,返回如下类似结果,说明被指定了noexec权限。

    /dev/vdb1 on /tmp type ext4 (rw, noexec, relatime, data=ordered)

  3. 重新挂载该块设备到/tmp目录下,挂载时不能指定noexec,或者可以执行mount -o remount exec /tmp以明确指定exec权限。
  4. 再次执行mount -l | grep /tmp,返回类似结果即可重启启动Agent进行迁移。

    /dev/vdb1 on /tmp type ext4 (rw, relatime, data=ordered)

分享: