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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.