Skip to main content
Solved

Veeam hardened repository configuration error while adding linux server


Hi, I am new to Veeam and trying to test Immutability. When i configure linux server as per the first step i am getting error. am i missing anything here? i tried enabling ports on Linux host still the same.

 

3/15/2022 3:58:56 PM Error    Testing Veeam Data Mover service connection Error: No connection could be made because the target machine actively refused it IP_address :6162
                              No connection could be made because the target machine actively refused it ipaddress:6162

 

Best answer by Chris.Childerhose

ragavkumar wrote:

to test i added it using “linux account” i can add linux server and scan all volumes. If i change it to “single user” it fails at connecting stage.

This is the permissions for the backup repository folder that is causing this.  I had similar issues when first doing this with the Single-Use credentials and found this article helpful - Veeam Hardening Linux Repository – Part 1 | StarWind Blog (starwindsoftware.com)

This is by a Veeam Vanguard and explains how to create the user in Linux.

Also there is this guide by Veeam - Step 3. Specify Credentials and SSH Settings - User Guide for VMware vSphere (veeam.com)

View original
Did this topic help you find an answer to your question?

16 comments

Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 9299 comments
  • March 15, 2022

I would suggest you check the Firewall on the Linux box as it may be blocking the port required and noted in the error - 6162.  Let us know.


JMeixner
Forum|alt.badge.img+16
  • On the path to Greatness
  • 2686 comments
  • March 15, 2022

Could be any firewall in between the two systems.Or the local windows firewall on the Veeam server if it is activated…

But it should be definitely a firewall problem...


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 9299 comments
  • March 15, 2022
JMeixner wrote:

Could be any firewall in between the two systems.Or the local windows firewall on the Veeam server if it is activated…

But it should be definitely a firewall problem...

Yes and thanks for the correction there Joe. :smiley:


JMeixner
Forum|alt.badge.img+16
  • On the path to Greatness
  • 2686 comments
  • March 15, 2022
Chris.Childerhose wrote:
JMeixner wrote:

Could be any firewall in between the two systems.Or the local windows firewall on the Veeam server if it is activated…

But it should be definitely a firewall problem...

Yes and thanks for the correction there Joe. :smiley:

I did not want to correct you :fearful:  Just a little addition….


haslund
Forum|alt.badge.img+14
  • Mr. VMCE
  • 396 comments
  • March 15, 2022

Is the backup server and the repository in the same subnet? You said this happens when trying the first initial setup? or it was working and then stopped working?


  • Author
  • Not a newbie anymore
  • 6 comments
  • March 16, 2022

yes they are and there are no linux firewall enabled. After searching logs i see below error i have required Sudo permission for the account.

 

[16.03.2022 11:07:33.211] <139882166994752>          | ERR |Exception during certificate storage initialization
[16.03.2022 11:07:33.211] <139882166994752>          | >>  |boost::filesystem::directory_iterator::construct: Permission denied: "/opt/veeam/transport/certs/client"
[16.03.2022 11:07:33.211] <139882166994752>          | >>  |An exception was thrown from thread [n/a].
[16.03.2022 11:07:33.211] <139882166994752>          | Generating stop signal (CtrlC thread).
[16.03.2022 11:07:33.211] <139882144802560>          | CtrlC thread received stop signal. Exiting.
[16.03.2022 11:07:33.211] <139882144802560>          | Thread finished. Role: 'Ctrl-C thread'.
[16.03.2022 11:07:33.211] <139882166994752>          | Ctrl-C thread stopped.
[16.03.2022 11:07:33.211] <139882166994752> imm      | Stopping immutable repository service...
[16.03.2022 11:07:33.211] <139882166994752> imm      |   Disconnecting from immutable repository service...
[16.03.2022 11:07:33.211] <139882166994752>          | ERR |Operation not permitted
[16.03.2022 11:07:33.211] <139882166994752>          | >>  |Failed to send SIGTERM to child process.
[16.03.2022 11:07:33.211] <139882166994752>          | >>  |An exception was thrown from thread [139882166994752].
[16.03.2022 11:07:33.211] <139882166994752> imm      | Stopping immutable repository service... ok.
[16.03.2022 11:07:33.211] <139882166994752> tpl      | Stopping Environment service...
[16.03.2022 11:07:33.211] <139882166994752>          |   Disconnecting from environment service...
[16.03.2022 11:07:33.211] <139882166994752>          | ERR |Operation not permitted
[16.03.2022 11:07:33.211] <139882166994752>          | >>  |Failed to send SIGTERM to child process.
[16.03.2022 11:07:33.211] <139882166994752>          | >>  |An exception was thrown from thread [139882166994752].
[16.03.2022 11:07:33.211] <139882166994752> tpl      | Stopping Environment service... ok.
[16.03.2022 11:07:33.211] <139882166994752>          | ERR |Fatal error
[16.03.2022 11:07:33.211] <139882166994752>          | >>  |Permission denied
[16.03.2022 11:07:33.211] <139882166994752>          | >>  |[InotifyMonitor] Failed to add watch to event monitor
[16.03.2022 11:07:33.211] <139882166994752>          | >>  |An exception was thrown from thread [139882166994752].
 


  • Author
  • Not a newbie anymore
  • 6 comments
  • March 16, 2022

Yes this is new configuration i am testing this for the first time as we are planning to implement Veeam with Immutability option. Veeam server is Windows will be using Linux Hardened repository. I am trying to add Linux server in Managed system till testing connection its all fine. I am using Veeam 11 version. 


haslund
Forum|alt.badge.img+14
  • Mr. VMCE
  • 396 comments
  • March 16, 2022

How confident are you that the time is accurate on both servers? Are they using the same time server?


  • Author
  • Not a newbie anymore
  • 6 comments
  • March 16, 2022

yes they are on the same time zone. 


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 9299 comments
  • March 16, 2022
ragavkumar wrote:

yes they are and there are no linux firewall enabled. After searching logs i see below error i have required Sudo permission for the account.

 

[16.03.2022 11:07:33.211] <139882166994752>          | ERR |Exception during certificate storage initialization
[16.03.2022 11:07:33.211] <139882166994752>          | >>  |boost::filesystem::directory_iterator::construct: Permission denied: "/opt/veeam/transport/certs/client"
[16.03.2022 11:07:33.211] <139882166994752>          | >>  |An exception was thrown from thread [n/a].
[16.03.2022 11:07:33.211] <139882166994752>          | Generating stop signal (CtrlC thread).
[16.03.2022 11:07:33.211] <139882144802560>          | CtrlC thread received stop signal. Exiting.
[16.03.2022 11:07:33.211] <139882144802560>          | Thread finished. Role: 'Ctrl-C thread'.
[16.03.2022 11:07:33.211] <139882166994752>          | Ctrl-C thread stopped.
[16.03.2022 11:07:33.211] <139882166994752> imm      | Stopping immutable repository service...
[16.03.2022 11:07:33.211] <139882166994752> imm      |   Disconnecting from immutable repository service...
[16.03.2022 11:07:33.211] <139882166994752>          | ERR |Operation not permitted
[16.03.2022 11:07:33.211] <139882166994752>          | >>  |Failed to send SIGTERM to child process.
[16.03.2022 11:07:33.211] <139882166994752>          | >>  |An exception was thrown from thread [139882166994752].
[16.03.2022 11:07:33.211] <139882166994752> imm      | Stopping immutable repository service... ok.
[16.03.2022 11:07:33.211] <139882166994752> tpl      | Stopping Environment service...
[16.03.2022 11:07:33.211] <139882166994752>          |   Disconnecting from environment service...
[16.03.2022 11:07:33.211] <139882166994752>          | ERR |Operation not permitted
[16.03.2022 11:07:33.211] <139882166994752>          | >>  |Failed to send SIGTERM to child process.
[16.03.2022 11:07:33.211] <139882166994752>          | >>  |An exception was thrown from thread [139882166994752].
[16.03.2022 11:07:33.211] <139882166994752> tpl      | Stopping Environment service... ok.
[16.03.2022 11:07:33.211] <139882166994752>          | ERR |Fatal error
[16.03.2022 11:07:33.211] <139882166994752>          | >>  |Permission denied
[16.03.2022 11:07:33.211] <139882166994752>          | >>  |[InotifyMonitor] Failed to add watch to event monitor
[16.03.2022 11:07:33.211] <139882166994752>          | >>  |An exception was thrown from thread [139882166994752].
 

You should look to use the one-time credentials for adding this repo for better security.


  • Author
  • Not a newbie anymore
  • 6 comments
  • March 16, 2022

Like ? i tried also option if sudo does not work use su - . Still the same.


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 9299 comments
  • March 16, 2022

BertrandFR
Forum|alt.badge.img+7
  • Influencer
  • 528 comments
  • March 16, 2022

Check the privileges of your user? Is it sudoers for the installation of datamover?


  • Author
  • Not a newbie anymore
  • 6 comments
  • March 16, 2022

yes it has Sudoers permission and even tried putting Root credentials does not work. only RHEL linux i can see another error. is it because of cert “access denied” error?

 

[16.03.2022 14:45:38.572] <140737338287872> imm      | Performing filesystem scan... Failed.
[16.03.2022 14:45:38.572] <140737338287872> imm      | ERR |Immutable locks retention thread has failed.
[16.03.2022 14:45:38.572] <140737338287872> imm      | >>  |Immutability service is being stopped.
[16.03.2022 14:45:38.572] <140737338287872> imm      | >>  |An exception was thrown from thread [140737353983808].
[16.03.2022 14:45:38.572] <140737338287872>          | Thread finished. Role: 'immutable locks retention'.
[16.03.2022 14:45:38.572] <140737353983808> imm      | Service: shutdown.
 


  • Author
  • Not a newbie anymore
  • 6 comments
  • March 16, 2022

to test i added it using “linux account” i can add linux server and scan all volumes. If i change it to “single user” it fails at connecting stage.


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 9299 comments
  • Answer
  • March 16, 2022
ragavkumar wrote:

to test i added it using “linux account” i can add linux server and scan all volumes. If i change it to “single user” it fails at connecting stage.

This is the permissions for the backup repository folder that is causing this.  I had similar issues when first doing this with the Single-Use credentials and found this article helpful - Veeam Hardening Linux Repository – Part 1 | StarWind Blog (starwindsoftware.com)

This is by a Veeam Vanguard and explains how to create the user in Linux.

Also there is this guide by Veeam - Step 3. Specify Credentials and SSH Settings - User Guide for VMware vSphere (veeam.com)