Help Center/
MapReduce Service/
User Guide (ME-Abu Dhabi Region)/
Troubleshooting/
Using DBService/
Default Port 20050 or 20051 Is Occupied
Updated on 2022-02-22 GMT+08:00
Default Port 20050 or 20051 Is Occupied
Symptom
DBService restart fails, and information indicating that port 20050 or 20051 is occupied is displayed in the printed fault log.
Cause Analysis
- The default port 20050 or 20051 used by DBService is occupied by another process.
- The DBService process is not stopped, and the port used by DBService is not released.
Solution
This solution uses port 20051 as an example. The solution to the problem that port 20050 is occupied is similar.
- Log in to the node where the error is reported as user root, and run the netstat -nap | grep 20051 command to check the process that occupies port 20051.
- Run the kill command to forcibly stop the process that uses port 20051.
- About 2 minutes later, run the netstat -nap | grep 20051 command again to check whether any process uses the port.
- Check the service to which the process belongs and change the port for the service.
- Run the find . -name "*20051*" command in the /tmp and /var/run/MRS-DBService/ directories, and delete all files found.
- Log in to Manager and restart DBService.
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