Got it

Cluster installation fails due to a GaussDB abnormality

Latest reply: Sep 29, 2019 02:24:00 416 2 13 0 1

This post is about the fact that a cluster installation fails due to a GaussDB abnormality. More information on how to solve this issue can be found below.


Diagnostic


Cluster installation fails and the following error message is displayed:


150341d73nsll2ib99n9rz.png?image.png


Possible causes and solutions


[Cause 1]:


The /etc/profile file contains read-only variables. As a result, executing source /etc/profile fails.


[Solution 1]:


Run the vi /etc/profile command and delete or comment out the read-only line.


[Cause 2]:


The permission on /home/omm/.profile is incorrect, causing a GaussDB abnormality.


[Diagnostic]:


$OMS_LOG_PATH/scriptlog/ha/scriptlog/ha.log contains java: command not found.


[Fault locating]:


The message java: command not found often indicates that Java commands cannot be recognized when database passwords are decrypted using WCC during the execution of the dbfunc.sh file.


To locate the fault, check whether:


  • The /home/omm/.profile file contains the JDK path.


  • The /home/omm/.profile file can be accessed under user ommdba. After confirmation, the permission of the /home/omm directory is 700 in the environment. As a result, user ommdba cannot access the /home/omm/.profile file.


[Solution 2]:


  • If the /home/omm/.profile file does not contain the JDK path, add the path to the file.


  • If /home/omm/.profile file can be accessed under the ommdba account, change the permission.


Great
View more
  • x
  • convention:

That is a good case
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.