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!
[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
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.
[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
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.