Standalone backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)
Post Reply
psych
Influencer
Posts: 12
Liked: 1 time
Joined: May 10, 2019 2:54 pm
Full Name: GB Sistemos
Contact:

Windows Agent Backup error

Post by psych »

Hello,

So the story is that I added new backup job with type of Windows Agent Backup, all other backup jobs working fine. Windows server is not AD domain joined, Windows Server standard 2019 (1809, 64 bit). Eventually, agent was installed from Veeam B&R 11 server and it was reachable and also was able to make a backup to remote repository. Now agent gets warning when I try to rescan host - 1 host processed with warnings. When I try to run backup job - it gives error saying Processing hostname Error: Failed to connect to hostname:6160. I tried to telnet from R&B to Windows machine and I can connect. Not sure where is the problem. I know that server is reachable from R&B server, required ports are opened.
What I tried already:
opened ports on Windows machine following this article https://helpcenter.veeam.com/docs/backu ... ml?ver=110
Restarted server
Edited local security policy by allowing the following: Restrict NTLM: Incoming NTLM traffic

From logs what I found, not sure where to look:

Code: Select all

[08.12.2021 13:19:46] <16> Info     Finalizing session "0dbc35d7-47fc-452a-a814-aa7ab8bd9553" of the job "Infrastructure update".
[08.12.2021 13:19:46] <16> Info     [RTS] Notified that job was finished. SessionId: [0dbc35d7-47fc-452a-a814-aa7ab8bd9553]
[08.12.2021 13:19:46] <16> Info     [RTS] Unregister repository usage, jobSessionId '0dbc35d7-47fc-452a-a814-aa7ab8bd9553'
[08.12.2021 13:19:46] <16> Info     [RTS] Unregister repository usage, jobSessionId '0dbc35d7-47fc-452a-a814-aa7ab8bd9553'
[08.12.2021 13:19:46] <16> Info     Connecting to remote VBR, ips: 'R&B Server IP', port: '10005', sessionName: 'ManagedModeSession'.
[08.12.2021 13:19:46] <16> Info     Certificate not found
[08.12.2021 13:19:46] <16> Info         Job event 'vaw_finished' was disposed. Session: '0dbc35d7-47fc-452a-a814-aa7ab8bd9553'.
[08.12.2021 13:19:46] <16> Error    Job [<unknown>] is in invalid state. SessionId: [0dbc35d7-47fc-452a-a814-aa7ab8bd9553]
[08.12.2021 13:19:46] <16> Error    Certificate not found (System.Exception)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CForeignInvokerClient.UseSslConnection(NetworkCredential credential, X509Certificate2& certificate)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CForeignInvokerClient.GetConnectionParams(IEnumerable`1 serverAddresses, Int32 serverPort, NetworkCredential credential)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CForeignInvokerClient..ctor(IEnumerable`1 serverAddresses, Int32 serverPort, NetworkCredential credential, Boolean persistentConnection, Boolean useReconnectionPolicy)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CForeignBackupService.GetForeignInvokerClient(IPAddress[] ipAddresses, UInt16 port, NetworkCredential credential, Boolean persistentConnection, Boolean useReconnectionPolicy)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CForeignBackupService.Connect(IPAddress[] ipAddresses, UInt16 port, NetworkCredential credential, String sessionName, CForeignServiceSessionType sessionType, String hostName, Boolean keepLeaseAlive, Boolean ignoreKeepAliveFailures)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CReconnactableForeignDbAccessor.Reconnect()
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CReconnactableForeignDbAccessor.InvokeWithRemoteDbAccessorId(CForeignInvokerDBSpec spec, Nullable`1 transactionScopeIdentifier)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CJobsSessionsForeignDbScope.FindSession(Guid id)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CBaseSession.Find(Guid id)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CSessionCompletingTrackerUtils.IsNeedToStopAgents()
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CSessionCompletingTrackerUtils.PostCompleteSession(Guid sessId)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.ResourceScheduler.CResourceTaskScheduler.NotifyJobFinished(Guid sessId)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Service.CJobRunner.HandleFinishedJob(Guid jobSessionId, Boolean shouldBeTerminated, Boolean finishedUnexpectedly)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Service.CJobRunner.SafeHandleFinishedJob(Guid finishedJobSessionId)
[08.12.2021 13:19:46] <16> Info     Connecting to remote VBR, ips: 'R&B Server IP', port: '10005', sessionName: 'ManagedModeSession'.
[08.12.2021 13:19:46] <16> Info     Certificate not found
[08.12.2021 13:19:46] <16> Error    Certificate not found (System.Exception)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CForeignInvokerClient.UseSslConnection(NetworkCredential credential, X509Certificate2& certificate)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CForeignInvokerClient.GetConnectionParams(IEnumerable`1 serverAddresses, Int32 serverPort, NetworkCredential credential)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CForeignInvokerClient..ctor(IEnumerable`1 serverAddresses, Int32 serverPort, NetworkCredential credential, Boolean persistentConnection, Boolean useReconnectionPolicy)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CForeignBackupService.GetForeignInvokerClient(IPAddress[] ipAddresses, UInt16 port, NetworkCredential credential, Boolean persistentConnection, Boolean useReconnectionPolicy)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CForeignBackupService.Connect(IPAddress[] ipAddresses, UInt16 port, NetworkCredential credential, String sessionName, CForeignServiceSessionType sessionType, String hostName, Boolean keepLeaseAlive, Boolean ignoreKeepAliveFailures)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CReconnactableForeignDbAccessor.Reconnect()
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CReconnactableForeignDbAccessor.InvokeWithRemoteDbAccessorId(CForeignInvokerDBSpec spec, Nullable`1 transactionScopeIdentifier)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CBackupJobsSessionsForeignDbScope.FindSession(Guid id)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Core.CBackupSession.Find(Guid jobSessId)
[08.12.2021 13:19:46] <16> Error       at Veeam.Backup.Service.CJobRunner.RemoveInvalidJobFromRetrying(Guid sessionId)
[08.12.2021 13:20:00] <18> Info     Creating collect statistics session
[08.12.2021 13:20:00] <18> Info     Creating collect statistics session
[08.12.2021 13:20:00] <18> Info         Job event 'vaw_started' was created for session '31e976f8-b344-4841-b233-eaa0944ec3ff'. Event full name: 'Global\vaw_startedvmjobevent31e976f8-b344-4841-b233-eaa0944ec3ff'
[08.12.2021 13:20:00] <18> Info         Job event 'vaw_busy' was created for session '31e976f8-b344-4841-b233-eaa0944ec3ff'. Event full name: 'Global\vaw_busyvmjobevent31e976f8-b344-4841-b233-eaa0944ec3ff'
[08.12.2021 13:20:00] <18> Info         Starting process. Path: [C:\Program Files\Veeam\Endpoint Backup\Veeam.EndPoint.Manager.exe], Arguments: ["STARTCOLLECTINFRASTATISTIC" "f768ccbd-b157-40ab-bc10-6ce0f812d8a0" "31e976f8-b344-4841-b233-eaa0944ec3ff" ]

Egor Yakovlev
Veeam Software
Posts: 2297
Liked: 558 times
Joined: Jun 14, 2013 9:30 am
Full Name: Egor Yakovlev
Location: Prague, Czech Republic
Contact:

Re: Windows Agent Backup error

Post by Egor Yakovlev »

Hi!

Whenever there are technical problems, feel free to open support case to find the root of it.
Side note, your link refers to VBR ports used with managed Windows Servers. For Veeam Agent management related connection ports please check this guide.

/Cheers!

psych
Influencer
Posts: 12
Liked: 1 time
Joined: May 10, 2019 2:54 pm
Full Name: GB Sistemos
Contact:

Re: Windows Agent Backup error

Post by psych »

Hi,

Thanks for your reply. I looked at your posted guide and added few more ports but still but still problem is there. I don't see what particular warning it gives me for more clues other than just "warning" when I am re-scanning hosts. Don't see why it can't connect via 6160 while ports are opened.

psych
Influencer
Posts: 12
Liked: 1 time
Joined: May 10, 2019 2:54 pm
Full Name: GB Sistemos
Contact:

Re: Windows Agent Backup error

Post by psych »

Also to confirm at least 6160 port I tried to run tnc from both sides, seems OK to me.
This is what I get:
From R&B to Windows server:

Code: Select all

PS C:\Users\Administrator> tnc  -port 6160 -informationlevel Detailed


ComputerName             : 
RemoteAddress            : 
RemotePort               : 6160
AllNameResolutionResults : 
MatchingIPsecRules       :
NetworkIsolationContext  : Internet
InterfaceAlias           : Ethernet0
SourceAddress            : 
NetRoute (NextHop)       : 
PingSucceeded            : True
PingReplyDetails (RTT)   : 3 ms
TcpTestSucceeded         : True



PS C:\Users\Administrator> tnc  -port 11731 -informationlevel Detailed


ComputerName             : 
RemoteAddress            : 
RemotePort               : 11731
AllNameResolutionResults : 
MatchingIPsecRules       :
NetworkIsolationContext  : Internet
InterfaceAlias           : Ethernet0
SourceAddress            : 
NetRoute (NextHop)       : 
PingSucceeded            : True
PingReplyDetails (RTT)   : 2 ms
TcpTestSucceeded         : True
And vice versa:

Code: Select all

PS C:\Users\GBsistemos> tnc -port 6160 -informationlevel Detailed


ComputerName            : 
RemoteAddress           : 
RemotePort              : 6160
NameResolutionResults   : 
MatchingIPsecRules      :
NetworkIsolationContext : Internet
IsAdmin                 : False
InterfaceAlias          : Ethernet0
SourceAddress           : 192.168.1.177
NetRoute (NextHop)      : 192.168.1.254
TcpTestSucceeded        : True



PS C:\Users\User> tnc  -port 11731 -informationlevel Detailed


ComputerName            : 
RemoteAddress           : 
RemotePort              : 11731
NameResolutionResults   : 
MatchingIPsecRules      :
NetworkIsolationContext : Internet
IsAdmin                 : False
InterfaceAlias          : Ethernet0
SourceAddress           : 192.168.1.177
NetRoute (NextHop)      : 192.168.1.254
TcpTestSucceeded        : True
So I am wondering where is the problem if not in the port?

wishr
Veeam Software
Posts: 2904
Liked: 408 times
Joined: Aug 07, 2018 3:11 pm
Full Name: Fedor Maslov
Contact:

Re: Windows Agent Backup error

Post by wishr »

Hi Psych,

Our customer support engineers will be happy to troubleshoot that for you. Without logs and environment analysis which is done on the customer support end, it's hard to say what's going on there.

Thanks

psych
Influencer
Posts: 12
Liked: 1 time
Joined: May 10, 2019 2:54 pm
Full Name: GB Sistemos
Contact:

Re: Windows Agent Backup error

Post by psych »

Hi,

Thanks for the reply.
I have trial actually and thus I cannot open a case in the support center. How can I get a technical support for a trial?

wishr
Veeam Software
Posts: 2904
Liked: 408 times
Joined: Aug 07, 2018 3:11 pm
Full Name: Fedor Maslov
Contact:

Re: Windows Agent Backup error

Post by wishr »

We do provide customer support via common channels for customers using free products. It is provided on the best effort basis.

Please, note, that you should specify a case ID when posting about any technical issue on these forums (as mentioned when you click New Topic and Post Reply), otherwise the post may get deleted.

I hope that helps! Thanks.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests