Got it

Upgrade Failed Due to Incorrect Environment Variables Specified by source for the Profile

Created: Jun 26, 2019 07:58:17Latest reply: Jun 26, 2019 09:11:13 215 1 1 0 0
  Rewarded HiCoins: 0 (problem resolved)

During the upgrade, the error message "unix_socket_directory no such file or directory" is

displayed during the execution of the upgrade.sh script.

155719eqqz0z0xxqrrqsv0.png?image.png


Featured Answers
GouJing
Created Jun 26, 2019 09:11:13

Hi!

Cause analysis

The possible cause is that an incorrect binary file is used for the database connection. Try to connect to the database and check the connection result.

Upgrade Failed Due to Incorrect Environment Variables Specified by source for the Profile-2979059-1

The command output indicates that the connection failed even if the gaussdb process is running properly. So, the failure may be caused by the incorrect configuration of source for the profile or .bashrc file. Check the configuration file.

Upgrade Failed Due to Incorrect Environment Variables Specified by source for the Profile-2979059-2

In the configuration file, the correct source path (highlighted) for the profile is commented out and the MPPDB path (white) is in use.

Solution

Correct the source configuration in the configuration file as follows:

source /home/omm/.mpp_profile
# source /opt/huawei/Bigdata/mppdb/.mppdbgs_profile
View more

This article contains more resources

You need to log in to download or view. No account? Register

x
  • x
  • convention:

All Answers
Hi!

Cause analysis

The possible cause is that an incorrect binary file is used for the database connection. Try to connect to the database and check the connection result.

Upgrade Failed Due to Incorrect Environment Variables Specified by source for the Profile-2979059-1

The command output indicates that the connection failed even if the gaussdb process is running properly. So, the failure may be caused by the incorrect configuration of source for the profile or .bashrc file. Check the configuration file.

Upgrade Failed Due to Incorrect Environment Variables Specified by source for the Profile-2979059-2

In the configuration file, the correct source path (highlighted) for the profile is commented out and the MPPDB path (white) is in use.

Solution

Correct the source configuration in the configuration file as follows:

source /home/omm/.mpp_profile
# source /opt/huawei/Bigdata/mppdb/.mppdbgs_profile
View more

This article contains more resources

You need to log in to download or view. No account? Register

x
  • 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.