DBServer Instance Is Always in the Restoring State Because the Incorrect /tmp Directory Permission
Symptom
A DBServer instance remains in the Restoring state. The status cannot be recovered even after a restart.
Cause Analysis
- Check /var/log/Bigdata/dbservice/healthCheck/dbservice_processCheck.log. It is found that GaussDB is abnormal.
Figure 1 GaussDB exception
- The check result shows that the permission on the /tmp directory is incorrect.
Figure 2 /tmp permission
Solution
- Run the following command to modify the /tmp permission:
chmod 1777 /tmp
- Wait until the instance status recovers.
Parent topic: Using DBService
- Symptom
- Cause Analysis
- Solution