Comprehensive data protection for all workloads
Post Reply
DDV
Lurker
Posts: 2
Liked: 1 time
Joined: Feb 04, 2019 6:59 am
Full Name: Jesus A.
Contact:

[SOLVED] Veeam Backup service wont start after update to v9.5 U4

Post by DDV » Feb 04, 2019 7:22 am

Hi,

I have update Veeam version 9.5 U3 to 9.5 U4 and now i have not access to the console and the Backup service wont start after updating.
I can't take to take the log files since i have not access to the console.

These are the errors i can find:

From windows event viewer:

Code: Select all

Event ID 0
Service cannot be started. System.OperationCanceledException: The operation was canceled.
at Veeam.Backup.DBCreator.BackupDatabaseDeployer.CanDeploy(IDatabaseVersion databaseVersion)
at Veeam.Backup.DBCreator.BackupDatabaseDeployer.DatabaseDeploy(List`1 inDeployChangedOptions)
at Veeam.Backup.DBCreator.BackupDatabaseDeployer.Deploy()
at Veeam.Backup.DBManager.SqlRetryableInitializer.Init()
at Veeam.Backup.Service.CVbServiceImpl..ctor(CVbEnvironment env, CTerminationMediator terminator)
at Veeam.Backup.Service.CVeeamBackupSvc.OnStart(String[] args)
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
From Veeam console:

Code: Select all

Failed to connect to the Veeam Backup & Replication server:
No connection could be made because the target machine actively refused it :9392
This is a production server that need be operative as soon as posible, can you help me? my case ID 03394066

Mike Resseler
Product Manager
Posts: 5691
Liked: 599 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Veeam Backup service wont start after update to v9.5 U4

Post by Mike Resseler » Feb 04, 2019 7:51 am

Hi DDV,
First: Welcome to the forums!
Second: Please continue to work with the support team. I noticed that our team is trying to contact you for a remote session.
There can be multiple things that causes this issue. You upgraded to U4 but did all of your consoles being upgraded? Or did you only upgrade the B&R main server and not other components?
In this case, most likely the Veeam Backup & Replication service on the main B&R server won't be running (if I understand the situation correctly).
PS: What exactly do you mean by not having access to the console? Does it mean that you temporarily had access to that B&R server to do the update but now access is revoked? Because I do believe you will need to get access to the logs to solve this problem...

DDV
Lurker
Posts: 2
Liked: 1 time
Joined: Feb 04, 2019 6:59 am
Full Name: Jesus A.
Contact:

Re: Veeam Backup service wont start after update to v9.5 U4

Post by DDV » Feb 04, 2019 11:47 am 1 person likes this post

Hi,
I have been i contact with the support and they found that after the update, the database was locked, so they made this workaround to fix it:

- we created a backup for Veeam DB
https://www.veeam.com/kb1471
- and then we removed the lock file:
SQLCMD -S (SqlServerName)\SqlInstanceName -d VeeamBackup DELETE FROM [dbo].[Options] WHERE name = 'lock_info'

Thank for the help.

Optimine
Lurker
Posts: 1
Liked: 1 time
Joined: Jul 15, 2019 1:57 pm
Full Name: Bryan Lundberg
Contact:

Re: [SOLVED] Veeam Backup service wont start after update to v9.5 U4

Post by Optimine » Jul 15, 2019 2:22 pm 1 person likes this post

Additional solution for the same error for me.
------------------------
TL/DR: SQL 2008 R2 was no longer supported and the Veeam backup database needed to be moved to a newer (SQL Server 2016 for me) instance.
------------------------
Full description:
After Microsoft updates, security patching (the likely culprit), and OS restarts Veeam Backup v9.5 U4 would no longer start.
(Failed to connect to the Veeam Backup & Replication server: No connection could be made because the target machine actively refused it)

I found the Veeam Backup Service, Veeam Broker Service, and Veeam Cloud Connect Service services were not running and would not start (Windows reported that they would start and then immediately stop).

Further digging showed two SQL instances being used by Veeam, one 2008 R2 and another 2016.

Verify name of the (2008R2) SQL instance and Veeam database in windows registry
HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication\SqlServerName (This is the server name where SQL is running)
HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication\SqlInstanceName (This is the instance name needed for the connection, which is in the format Servername\InstanceName)
HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication\SqlDatabaseName (This is the database name in the Databases folder once you connect)

The SQL 2008 R2 services also would not start, and the error listed in Event Viewer was:
The SQL Server ([My2008R2InstanceName]) service terminated with the following service-specific error:
The client and server cannot communicate, because they do not possess a common algorithm.
(where [My2008R2InstanceName] is specific to my local install)

Copy the SQL data and log files (VeeamBackup.MDF and VeeamBackup_log.LDF) from
C:\Program Files\Microsoft SQL Server\MSSQL10_50.[My2008R2InstanceName]\MSSQL\DATA (or wherever your old database files are stored)
to
C:\Program Files\Microsoft SQL Server\MSSQL13.[My2016InstanceName]\MSSQL\DATA (default location, doesn't really matter)

Then go to SQL Server Management Studio, connect to the 2016 instance (ServerName\InstanceName), right-click Databases and choose "Attach".
From the Attach Databases dialog box, navigate to the copy you made of the .mdf file from above in the 2016 instance, and click [Add...]
Make sure the database details window fills in with the copies you made of the .mdf and .ldf files. Click OK.

Go back to your registry setting and redirect the following keys as necessary to point to the (now) 2016 hosted database.
HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication\SqlInstanceName
HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication\SqlServerName

Start the Veeam Backup Service, Veeam Broker Service, and Veeam Cloud Connect Service services.
Start Veeam Backup and Replication shell as normal.

Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests