Help Center/ Server Migration Service/ FAQs/ Known Errors and Solutions/ SMS.5105 Agent Startup Failed. Insufficient Permissions to Add Files to or Delete Files from xxx
Updated on 2024-08-31 GMT+08:00

SMS.5105 Agent Startup Failed. Insufficient Permissions to Add Files to or Delete Files from xxx

Symptom

When you started the Agent on a Linux source server, you received the error "SMS.5105 Agent startup failed. Insufficient permissions to add files to or delete files from xxx."

Possible Causes

The root directory on the source server is set to be unmodifiable. Files cannot be added to or modified in the root directory.

Log in to the source server and run the following command to check the attributes of the root directory:

lsattr -d /root

If the root directory has the i attribute, files cannot be added to or modified in the root directory.

Solution

  1. Run the following command to remove the unmodifiable attribute from the root directory:
    chattr -i /root
  2. Run the following command to check the attribute is removed from the root directory:
    lsattr -d /root

  3. Restart the Agent.