Adding Linux repository to Veeam hangs on volume discovery and fails silently

KB ID: 2019
Product: Veeam Backup & Replication
Version: 6.x, 7.x, 8.x
Published: 2015-03-26
Last Modified: 2020-08-13
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

Challenge

When connecting to a Linux repository with Veeam, the connection hangs on the volume discovery step and silently errors out. 

Cause

When Veeam connects to a Linux target the SSH session is opened without a TTY. In some versions of Linux (particularly recent releases of CentOS such as 6.6. and 7, and RHEL5 and higher), this is caused by RequireTTY being set as a default option in the /etc/sudoers file.

Solution

Note: A reboot may be required.
 
To disable RequireTTY globally:
1. Run visudo
2. Find the line for requiretty
3. Comment it out
 
To disable RequireTTY for a specific user:
1. Run the command visudo
2. Create a new line Defaults:<username> !requiretty
Where <username> is the Linux username given to Veeam Backup & Replication when adding the NFS repository.
Click here to send feedback regarding this KB, or suggest content for a new KB.
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.