Standalone backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)
Post Reply
AlexLeadingEdge
Veteran
Posts: 471
Liked: 59 times
Joined: Dec 14, 2015 9:42 pm
Contact:

HELP! Cannot Start VEEAM Service

Post by AlexLeadingEdge »

I want to send off a ticket but VEEAM EP won't start so I'm posting here instead.

Yesterday (Monday) I came in to find that the server has rebooted and VEEAM EP's service has failed to start. Telling it to restart says "Starting services..." and does that for several minutes before failing. Repairing VEEAM EP didn't fix the problem. Stopping antivirus system and repairing didn't fix the issue. After-hours I have rebooted the server but it didn't fix it. Uninstalled VEEAM, rebooted the server, reinstalled, still not starting the service.

I get the error message:

Failed to start service 'VeeamEndpointBackupSvc'. Click Retry to attempt to start the service again. Click Cancel to continue installation without starting the service.

Any idea what is causing this?!

How do I create a ticket when I can't access VEEAM EP? I have the logs, just let me know where to email them! :)
AlexLeadingEdge
Veteran
Posts: 471
Liked: 59 times
Joined: Dec 14, 2015 9:42 pm
Contact:

Re: HELP! Cannot Start VEEAM Service

Post by AlexLeadingEdge »

Just looking through the logs. Here are the install logs for today:

Code: Select all

[20.09.2016 10:11:59][INFO] Creating Installer Application instance.
[20.09.2016 10:11:59][INFO] Installer Application instance created.
[20.09.2016 10:12:02][INFO] InstallerEngine session started.
[20.09.2016 10:12:02][INFO] Stopping tray application.
[20.09.2016 10:12:02][INFO] Tray application stop procedure threw an exception, this can indicate error or tray application is not running.
[20.09.2016 10:12:02][ERROR] System.Threading.WaitHandleCannotBeOpenedException: No handle of the given name exists.
   at System.Threading.EventWaitHandle.OpenExisting(String name, EventWaitHandleRights rights)
   at Veeam.Setup.Endpoint.EndpointCore.TrayAppManager.Stop(IProgressReporter progressReporter)
[20.09.2016 10:12:02][INFO] Stopping exisitng services...
[20.09.2016 10:12:02][INFO] Service name: VeeamEndpointBackupSvc
[20.09.2016 10:12:02][INFO] Service process: Not specified
[20.09.2016 10:12:02][ERROR] System.Exception: No such service found.
   at Veeam.Setup.Common.Util.WindowsService.InitController()
   at Veeam.Setup.Common.Util.WindowsService.Create(String serviceName, String processName)
[20.09.2016 10:12:02][INFO] Service is not installed, skipping.
[20.09.2016 10:12:02][INFO] Exisitng services have been stopped.
[20.09.2016 10:12:02][INFO] Checking presence of Microsoft SQL Server 2012 System CLR Types...
[20.09.2016 10:12:02][INFO] Requested assembly: Microsoft.SqlServer.Types Version: 11
[20.09.2016 10:12:03][INFO] Requested assembly 'Microsoft.SqlServer.Types' version 11 is found in GAC, checking detailed version in registry...
[20.09.2016 10:12:03][INFO] Required version: 11.1.3000.0; Found version: 11.1.3000.0
[20.09.2016 10:12:03][INFO] Checking presence of Microsoft SQL Server 2012 SMO redist...
[20.09.2016 10:12:03][INFO] Requested assembly: Microsoft.SqlServer.Smo Version: 11
[20.09.2016 10:12:03][INFO] Requested assembly 'Microsoft.SqlServer.Smo' version 11 is found in GAC, checking detailed version in registry...
[20.09.2016 10:12:03][INFO] Required version: 11.1.3000.0; Found version: 11.1.3000.0
[20.09.2016 10:12:03][INFO] Checking presence of Microsoft SQL Server 2012 Local DB...
[20.09.2016 10:12:03][INFO] Requested 'InstanceAPIPath' registry key at the 'SOFTWARE\Microsoft\Microsoft SQL Server Local DB\Installed Versions\11.0\' path is found, Checking version.
[20.09.2016 10:12:03][INFO] Required version: 11.2.5058.0; Found version: 11.2.5058.0
[20.09.2016 10:12:03][INFO] Microsoft SQL Server 2012 Local DB upgrade is not required.
[20.09.2016 10:12:16][INFO] Starting services...
[20.09.2016 10:12:16][INFO] Service name: VeeamEndpointBackupSvc
[20.09.2016 10:12:16][INFO] Service process: Not specified
[20.09.2016 10:12:16][INFO] Starting service...
[20.09.2016 10:17:16][ERROR] [InteractionMessage]Failed to start service ‘VeeamEndpointBackupSvc'. 
Click Retry to attempt to start the service again. Click Cancel to continue installation without starting the service.
[20.09.2016 10:18:31][ERROR] [InteractionMessage]Returned result Retry
[20.09.2016 10:23:31][ERROR] [InteractionMessage]Failed to start service ‘VeeamEndpointBackupSvc'. 
Click Retry to attempt to start the service again. Click Cancel to continue installation without starting the service.
[20.09.2016 10:23:34][ERROR] [InteractionMessage]Returned result Cancel
[20.09.2016 10:23:34][ERROR] System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
   at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
   at Veeam.Setup.Common.Util.WindowsService.WaitForStableStatus()
   at Veeam.Setup.Endpoint.Core.WindowsServiceManager.ServiceActionLoop(Action serviceAction, String errorMessage)
   at Veeam.Setup.Endpoint.Core.WindowsServiceManager.StartService(WindowsServiceConfiguration service)
   at Veeam.Setup.Endpoint.Core.WindowsServiceManager.StartSuiteServices(IProgressReporter progressReporter)
   at Veeam.Setup.Endpoint.Core.InstallerEngine.Install(IProgressReporter progressReporter)
[20.09.2016 10:23:34][ERROR] Installation failed.
[20.09.2016 10:23:34][INFO] InstallerEngine session completed. Result = Failed
Mike Resseler
Product Manager
Posts: 8191
Liked: 1322 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: HELP! Cannot Start VEEAM Service

Post by Mike Resseler »

Alex,
Is the email address that you are using in your forum profile correct? If that is the case, I will ask support to contact you

Mike
Vitaliy S.
VP, Product Management
Posts: 27372
Liked: 2799 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: HELP! Cannot Start VEEAM Service

Post by Vitaliy S. »

You can always open ticket via another installation of VEB. Please note that these forums are not monitored by our support team, and people behind these forums do not analyze log snippets.
Dima P.
Product Manager
Posts: 14719
Liked: 1703 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: HELP! Cannot Start VEEAM Service

Post by Dima P. »

How do I create a ticket when I can't access VEEAM EP?
Are you sure? Even though, the service is down tray app should be operational to let you open a support case – can you check that please?
AlexLeadingEdge
Veteran
Posts: 471
Liked: 59 times
Joined: Dec 14, 2015 9:42 pm
Contact:

Re: HELP! Cannot Start VEEAM Service

Post by AlexLeadingEdge »

Logs uploaded (they were huge!).

Ticket 01911251
Dima P.
Product Manager
Posts: 14719
Liked: 1703 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: HELP! Cannot Start VEEAM Service

Post by Dima P. »

Thanks! Let us know how it goes.
AlexLeadingEdge
Veteran
Posts: 471
Liked: 59 times
Joined: Dec 14, 2015 9:42 pm
Contact:

Re: HELP! Cannot Start VEEAM Service

Post by AlexLeadingEdge » 2 people like this post

Fixed!

As far as we can see from the log files, VEB is unable to connect to MS SQL database.

Code: Select all

[21.09.2016 08:47:21] <04> Error    Failed to start service.
[21.09.2016 08:47:21] <04> Error    ExecuteNonQuery failed for Database 'master'.  (Microsoft.SqlServer.Management.Smo.FailedOperationException)
[...]
[21.09.2016 08:47:21] <04> Error    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Management.Common.ExecutionFailureException)
[...]
[21.09.2016 08:47:21] <04> Error    An error occurred while processing the log for database 'VeeamBackup'.  If possible, restore from backup. If a backup is not available, it might be necessary to rebuild the log.
[21.09.2016 08:47:21] <04> Error    Could not open new database 'VeeamBackup'. CREATE DATABASE is aborted. (System.Data.SqlClient.SqlException)
[21.09.2016 08:47:21] <04> Error       at Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSql(ExecuteTSqlAction action, Object execObject, DataSet fillDataSet, Boolean catchException)
[21.09.2016 08:47:21] <04> Error       at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType)
Please try performing these steps:
1. Make sure VEB service is stopped
2. Delete folder C:\Windows\System32\config\systemprofile\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\VeeamEndPoint
3. Delete folder C:\ProgramData\Veeam\EndpointData
4. Set registry value HKEY_LOCAL_MACHINE\Software\Veeam\Veeam Endpoint Backup\RecreateDatabase to "1"
5. Start VEB service
Mike Resseler
Product Manager
Posts: 8191
Liked: 1322 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: HELP! Cannot Start VEEAM Service

Post by Mike Resseler »

Awesome!

Thanks for letting us know AND the solution! Appreciated

Mike
jdgs
Influencer
Posts: 16
Liked: 2 times
Joined: Oct 11, 2012 8:42 am
Full Name: Jack
Contact:

Re: HELP! Cannot Start VEEAM Service

Post by jdgs » 1 person likes this post

Thanks so much for sharing your fix, worked for me perfectly after fighting with it for a few hours! :D
kcross
Lurker
Posts: 1
Liked: 2 times
Joined: May 11, 2021 5:37 am
Contact:

Re: HELP! Cannot Start VEEAM Service

Post by kcross » 2 people like this post

And from 4 years later, thank you for sharing your fix as well!

I had the same problem of the service not starting up, even after re-installing Veeam Agent for Windows several times. Once I implemented your above fix, I could start the agent and run my first full backup with the new hard drive. Thank you again.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], bledd and 29 guests