HELP! Cannot Start VEEAM Service

Backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)

HELP! Cannot Start VEEAM Service

Veeam Logoby AlexLeadingEdge » Mon Sep 19, 2016 10:21 pm

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
Expert
 
Posts: 118
Liked: 13 times
Joined: Mon Dec 14, 2015 9:42 pm

Re: HELP! Cannot Start VEEAM Service

Veeam Logoby AlexLeadingEdge » Mon Sep 19, 2016 10:25 pm

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
AlexLeadingEdge
Expert
 
Posts: 118
Liked: 13 times
Joined: Mon Dec 14, 2015 9:42 pm

Re: HELP! Cannot Start VEEAM Service

Veeam Logoby Mike Resseler » Tue Sep 20, 2016 5:04 am

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
Mike Resseler
Veeam Software
 
Posts: 3089
Liked: 359 times
Joined: Fri Feb 08, 2013 3:08 pm
Location: Belgium, the land of the fries, the beer, the chocolate and the diamonds...
Full Name: Mike Resseler

Re: HELP! Cannot Start VEEAM Service

Veeam Logoby Vitaliy S. » Tue Sep 20, 2016 10:42 am

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.
Vitaliy S.
Veeam Software
 
Posts: 19450
Liked: 1092 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: HELP! Cannot Start VEEAM Service

Veeam Logoby Dima P. » Tue Sep 20, 2016 3:22 pm

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?
Dima P.
Veeam Software
 
Posts: 6074
Liked: 433 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: HELP! Cannot Start VEEAM Service

Veeam Logoby AlexLeadingEdge » Tue Sep 20, 2016 9:06 pm

Logs uploaded (they were huge!).

Ticket 01911251
AlexLeadingEdge
Expert
 
Posts: 118
Liked: 13 times
Joined: Mon Dec 14, 2015 9:42 pm

Re: HELP! Cannot Start VEEAM Service

Veeam Logoby Dima P. » Wed Sep 21, 2016 5:58 pm

Thanks! Let us know how it goes.
Dima P.
Veeam Software
 
Posts: 6074
Liked: 433 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: HELP! Cannot Start VEEAM Service

Veeam Logoby AlexLeadingEdge » Wed Sep 21, 2016 8:54 pm

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
AlexLeadingEdge
Expert
 
Posts: 118
Liked: 13 times
Joined: Mon Dec 14, 2015 9:42 pm

Re: HELP! Cannot Start VEEAM Service

Veeam Logoby Mike Resseler » Thu Sep 22, 2016 5:08 am

Awesome!

Thanks for letting us know AND the solution! Appreciated

Mike
Mike Resseler
Veeam Software
 
Posts: 3089
Liked: 359 times
Joined: Fri Feb 08, 2013 3:08 pm
Location: Belgium, the land of the fries, the beer, the chocolate and the diamonds...
Full Name: Mike Resseler

Re: HELP! Cannot Start VEEAM Service

Veeam Logoby jdgs » Fri Apr 07, 2017 8:20 am 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
jdgs
Influencer
 
Posts: 14
Liked: 2 times
Joined: Thu Oct 11, 2012 8:42 am
Full Name: Jack


Return to Veeam Agent for Windows



Who is online

Users browsing this forum: No registered users and 5 guests