How Do I Fix Agent Startup Failures Due to Insufficient Space in /tmp on a Linux Source Server?
Symptom
When you ran sh startup.sh to start the SMS Agent, the following message was displayed:
Failed to write all bytes for cffibackend.cpython-36m-x86_64-linux.gnu.so fwrite: No space left on device
Possible Causes
When the Agent is being started, directories and files are generated in the /tmp directory on the source server. These files will occupy about 40 MB of space. You need to reserve more than 100 MB space for the /tmp directory.
Solution
- Log in to the source server.
- Run the df -lh command to check whether there is a volume mounted to the /tmp directory. If there is, check the available space for that volume.
- If the available space in the /tmp directory is insufficient for the mounted volume, perform either of the following operations:
- Delete unnecessary files or expand the capacity of the volume mounted to the /tmp directory.
- Run export TMPDIR=/home/user/tmpdir command (replace /home/user/tmpdir with a directory that meets the requirements) to change the cache directory.
Agent Installation and Startup FAQs
- How Do I Download and Install the Agent on Source Servers?
- What Can I Do If I Fail to Download the Agent Installation File?
- How Do I Verify the Integrity of the Agent Installation File?
- Why Wasn't My Source Server Added to the SMS Console After I Configured the Agent?
- How Do I Configure Certificate Verification in the SMS-Agent Configuration File?
- Where Can I Find the Agent Run Logs?
- Why Is My Target Server Locked During the Migration?
- How Do I Unlock a Target Server Manually?
- How Do I Resolve Error "The application cannot be started due to incorrect parallel configuration" When I Start the Agent?
- Why Does the Agent Not Start the First Time I Launch It?
- Why Does the Windows Agent Executable Not Run When I Double-Click It?
- How Do I Fix Error "INTERNAL ERROR: cannot create temporary directory!" When I Start the Agent?
- How Do I Troubleshoot Failures of Pasting the AK/SK Pair When I Start the Agent (Python 2)?
- How Do I Resolve Error "utf-8 codec can't decode byte 0xce in position0: invalid continuation byte" When I Start the Agent?
- How Do I Restart the Agent?
- How Do I Fix Agent Startup Failures Due to Insufficient Space in /tmp on a Linux Source Server?
- How Do I Fix Error "Failed to start sms agent! 'disks'" When I Start the Agent on a Linux Source Server?
- How Do I Fix Error "Failed to obtain information about disk X" When I Start the Agent on a Linux Source Server?
- How Do I Choose When the System Asks Whether to Disable the Google Services Detected on My Source Server on the Google Cloud?
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.
Chatbotmore