Got it

The patch installation failed

Created: Dec 27, 2019 07:12:46Latest reply: Nov 14, 2021 14:43:13 584 6 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello team.


Here is my problem. The patch installation failed during the phase of Distributing the patch. 

Retry still failed. Each time, some nodes failed to deliver patches.

And I check the controller log, /var/log/Bigdata/controller/controller.log, and find that ssh exits abnormally.

Someone can help this?

log ssh


Featured Answers

Recommended answer

little_fish
Admin Created Dec 27, 2019 07:49:14

Dear Geek,

I see your ClientAliveInterval is 300. It means that SSH connection will be automatically disconnected in 5 minutes, and the patch operation is usually not completed in 5 minutes.

Here are 2 solutions:
Log in to each node as the root user, modify the configuration file / etc / ssh / sshd_config, Comment out the two parameters ClientAliveCountMax, ClientAliveInterval, or modify the values of these two parameters to satisfy ClientAliveCountMax * ClientAliveInterval to ensure that these two values are multiplied > = 900 (15min), then restart the sshd service, service sshd restart.

Any further questions, let us know!

View more
  • x
  • convention:

All Answers
Dear,
Check the system service ssh. /etc/ssh/sshd_config is this file has been modified?
View more
  • x
  • convention:

Which parameters do I need to check in /etc/ssh/sshd_config?
View more
  • x
  • convention:

ClientAliveCountMax and ClientAliveInterval
View more
  • x
  • convention:

ClientAliveCountMax is 0, ClientAliveInterval is 300.
View more
  • x
  • convention:

Dear Geek,

I see your ClientAliveInterval is 300. It means that SSH connection will be automatically disconnected in 5 minutes, and the patch operation is usually not completed in 5 minutes.

Here are 2 solutions:
Log in to each node as the root user, modify the configuration file / etc / ssh / sshd_config, Comment out the two parameters ClientAliveCountMax, ClientAliveInterval, or modify the values of these two parameters to satisfy ClientAliveCountMax * ClientAliveInterval to ensure that these two values are multiplied > = 900 (15min), then restart the sshd service, service sshd restart.

Any further questions, let us know!

View more
  • x
  • convention:

Good answer
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.