Got it

Huawei Fusioninsight Gauss Database Exception Fails to Install Cluster

Latest reply: Dec 26, 2018 08:57:47 977 2 9 0 0

Problem background and phenomenon

The installation cluster progress bar has no start time to fail directly:

 104331sjj1jevov35tsvt5.png

Possible causes and solutions

Possible causes of database anomalies:

[Problem Cause 1]:

"/etc/profile" has a readonly environment variable that causes the exit when executing source /etc/profile.

[Solution 1]:

Execute vi /etc/profile, delete or comment the readonly line.

[Problem 2]:

The "/home/omm/.profile" permission is incorrect, causing the Gaussian database to be abnormal.

[problem phenomenon]

Observe the "$OMS_LOG_PATH/scriptlog/ha/scriptlog/ha.log" log, which prompts "java: command not found".

【identify the problem】

The general prompt "java: command not found" is caused by the WCC decryption database password when executing the dbfunc.sh file. The error is caused by not recognizing the java command.

There are two aspects to identifying this issue:

1. Whether the jdk path is included in "/home/omm/.profile".

2. Is it possible to access "/home/omm/.profile" under the ommdba account, and it is confirmed that the "/home/omm" directory is 700 permissions in the environment, and "/home/omm/.profile" cannot be accessed under the ommdba account. ".

[positioning conclusion]

The "/home/omm/.profile" permission is incorrect, causing a Gaussian database exception.

[Solution 2]:

 If the jdk path is not included in /home/omm/.profile, increase it.

 If the ommdba account cannot access "/home/omm/.profile", please modify the permissions.


Whether the jdk path is included in "/home/omm/.profile".Could you explain that in more detail?
View more
  • x
  • convention:

For the file "/home/omm/.profile", we assign the ommdba account read permission is enough is OK, right?
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.