Got it

Failure in Upgrading oam-p After Changing the Password of Database User omm

115 0 0 0 0

Symptom:

The oam-p service is not restarted after the password change of user omm. As a result, database user omm is locked during the oam-p upgrade.


Diagnosis:

When you access the database, a message is displayed indicating that the database has been locked.


Cause:

After the password change, before you restart the oam-p service, the old password still takes effect.


Solution:

  1. Use PuTTY to log in to the primary FSM node. Ensure that the floating management IP address of the FSM node is used to establish the connection.

  2. Run the su ommdba command to switch to user ommdba.

  3. Run the gsql -U ommdba -d postgres -p 21600 command and enter the user name and password to go to the GaussDB command line. Run the alter user omm account unlock; command to unlock the user.

  4. Switch to user root and run commands sh /root/oam-p-manager_8.0.1/action/appctl.sh stop and sh /root/oam-p-manager_8.0.1/action/appctl.sh start to restart oam-p.


Check After Recovery:

Perform upgrade operations again.

Comment

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

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.