Got it

Database Connection Error Upon Login to the OMU Portal

508 0 0 0 0

Symptom

After a user enters the correct user name and password to log in to the OMU portal of the server, the system displays a message indicating a database connection error.

Possible Cause

The system disk is full, causing a failure to start the database process.

Solution

  1. Log in to the server as the admin user and run the su - root command to switch to the root user.
  2. Run the su - postgres -c "/home/postgres/bin/pg_ctl status -D /DB_DATA/data/" command to check whether the database process is normal.

    If the following information is displayed, the database process is normal:

    pg_ctl: server is running (PID: 16858)  
    /home/postgres/bin/postgres "-D" "/DB_DATA/data"     
    • If yes, contact Huawei technical support engineers.
    • If no, go to the next step.

  3. Run the /home/ivstool/bin/service.sh restart pgdb command to restart the database.
  4. After the database is restarted, run the su - postgres -c "/home/postgres/bin/pg_ctl status -D /DB_DATA/data/" command to check whether the database process is normal.

    If yes, no further action is required. If no, go to the next step.

  5. Run the df -h command to check the system disk space usage.

    Ensure that the space usage of each directory (excluding /Snapshot) shown in the red box of Figure 1 does not exceed 80%.

    Figure 1 Disk space usage
    en-us_image_0100792304.png
    • If the space usage of each directory does not exceed 80%, contact Huawei technical support engineers.
    • If the space usage of a directory exceeds 80%, go to the next step.

  6. Run the rm Directory whose space usage exceeds 80%/File name command to delete unnecessary files till the space usage falls below 80%.

    icon-note.gif NOTE:

    Delete unnecessary files, such as captured packets, based on the actual condition.

  7. Run the reboot command to restart the server.
  8. After the server is restarted, check whether the fault is rectified.


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.