Help Center/
MapReduce Service/
Troubleshooting/
Using DBService/
DBService Failed to Start Due to the Loss of the DBService Configuration File
Updated on 2022-12-09 GMT+08:00
DBService Failed to Start Due to the Loss of the DBService Configuration File
Symptom
The nodes are powered off unexpectedly, and the standby DBService node fails to be restarted.
Cause Analysis
- The /var/log/Bigdata/dbservice/DB/gaussdb.log file is viewed, which contains no information.
- The /var/log/Bigdata/dbservice/scriptlog/preStartDBService.log file is viewed. This file contains the following information, indicating that the configuration information is lost:
The program "gaussdb" was found by " /opt/Bigdata/MRS_xxx/install/dbservice/gaussdb/bin/gs_guc) But not was not the same version as gs_guc. Check your installation.
- The configuration file in the /srv/BigData/dbdata_service/data directory on the active DBServer node is compared with the configuration file in the /srv/BigData/dbdata_service/data directory on the standby DBServer node, which shows major difference.
Solution
- Copy the content in the /srv/BigData/dbdata_service/data directory on the active node to the standby node and ensure that the file permission and owner group are the same as those on the active node.
- Modify configuration in postgresql.conf. Set localhost to the IP of the local node and remotehost to the IP of the peer node.
- Log in to Manager and restart the standby DBServer node.
Parent topic: Using DBService
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot