Got it

Huawei Fusioninsight The default port 5432 or 20051 is occupied

Latest reply: Dec 26, 2018 09:06:52 1181 1 11 0 0

Hello, everyone!

Do you know how to solve Huawei FusionInsight the default port 5432 or 20051 is occupied? Don't worry, the post will share with you.

Problem background and phenomenon

When the cluster installation process or the DBService service restart operation is performed, the DBService service fails to be started, and information such as the 5432 or 20051 port is occupied in the printed error log.

Cause Analysis

This scenario is generally because the default port 5432 or 20051 used by the DBService is occupied by other processes, or the DBService process is not stopped successfully, and the used port is not released.

Solution

Step 1. The resolution of the default port is occupied (using port 20051 as an example, port 5432 is similar).

Step 2.  Use the PuTTY tool to log in to the DBService as the root user and install the error message. Run the command: netstat -nap | grep 20051.

Step 3.  Use the kill command to forcibly terminate the process using port 20051.

Step 4.  After about 2 minutes, execute the command again: netstat -nap | grep 20051 to see if there are still processes occupying the port.

Step 5.  Confirm the service to which the port process belongs and modify it to another port.

Step 6.  Run the find . -name "*20051*" command in the /tmp and /var/run/FusionInsight-DBService directories to delete all the files found.

Step 7.  Log in to FusionInsight Manager and click Service Management to restart the DBService service.

This is my solution, can you share yours?


The port 5432 is normally used by some database service, we'd better make that on different server.
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.