Help Center/ MapReduce Service/ User Guide (Ankara Region)/ Troubleshooting/ Using DBService/ Components Failed to Connect to DBService in Normal State
Updated on 2024-11-29 GMT+08:00

Components Failed to Connect to DBService in Normal State

Symptom

Upper-layer components fail to connect to DBService. The DBService component and two instances are normal.

Figure 1 DBService status

Cause Analysis

  1. The upper-layer component is DBService connected through dbservice.floatip.
  2. Run the netstat -anp | grep 20051 command on the node where DBServer resides. It is found that the Gauss process of DBService is not bound to the floating IP address during startup, and only the local IP address 127.0.0.1 is listened.

Solution

  1. Restart the DBService service.
  2. Run the netstat -anp | grep 20051 command on the active DBServer node to check whether dbservice.floatip is bound.