Got it

Preinstallation Failure Due to Improper File Permission

Created: Jun 25, 2019 03:35:34Latest reply: Jun 25, 2019 03:40:21 325 1 1 0 0
  Rewarded HiCoins: 0 (problem resolved)

Performing capacity expansion as the omm user and performs the preinstallation operation,
the following error messages are displayed:

Featured Answers
tanglei
Created Jun 25, 2019 03:40:21

Hi there!

1. The preinstallation log (/tmp/fi-preinstall.log) is analyzed. The information displayed in the log is the same as the error message in the preceding screenshot, which indicates that the user has no permission to perform this operation.

2. The owner group of the /opt/FusionInsight_SetupTool file is checked, and it is found that the owner group is root:root. (For C60U20 and earlier versions, check the owner group of the /opt/FusionInsight file.)

3. The preinstallation operation is performed on the OMS node. Checking the OMS node shows that the omm user does not run the privilege escalation script preset.sh.

Solution

Step 1.

Run the chown omm:wheel FusionInsight_SetupTool -R command in the opt directory to change the owner group. (For C60U20 and earlier versions, run the chown omm:wheel/FusionInsight -R command).

Step 2.

Run the sh/opt/preset/preset.sh command (privilege escalation command) on the OMS node.

Step 3. 

If there is the /tmp/fi-preinstall.lo file whose owner group is root, remove the file. Otherwise, the omm user has no write permission on the log.

Step 4.

Perform the preinstallation operation again.
View more
  • x
  • convention:

All Answers
Hi there!

1. The preinstallation log (/tmp/fi-preinstall.log) is analyzed. The information displayed in the log is the same as the error message in the preceding screenshot, which indicates that the user has no permission to perform this operation.

2. The owner group of the /opt/FusionInsight_SetupTool file is checked, and it is found that the owner group is root:root. (For C60U20 and earlier versions, check the owner group of the /opt/FusionInsight file.)

3. The preinstallation operation is performed on the OMS node. Checking the OMS node shows that the omm user does not run the privilege escalation script preset.sh.

Solution

Step 1.

Run the chown omm:wheel FusionInsight_SetupTool -R command in the opt directory to change the owner group. (For C60U20 and earlier versions, run the chown omm:wheel/FusionInsight -R command).

Step 2.

Run the sh/opt/preset/preset.sh command (privilege escalation command) on the OMS node.

Step 3. 

If there is the /tmp/fi-preinstall.lo file whose owner group is root, remove the file. Otherwise, the omm user has no write permission on the log.

Step 4.

Perform the preinstallation operation again.
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.