Installation fails (SQLLocalDB)

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

Installation fails (SQLLocalDB)

Veeam Logoby Regnor » Mon Dec 08, 2014 1:16 pm

I've tried to install VEB on a rather old workstation with Windows 7 installed. The setup tries to start the services and fails with a timeout.
It looks like the problem is related to the SQL LocalDB; I've found a program folder for an existing "SQL Server Compact Edition" but because of the age of the workstation I don't really know which software depends on this installation.

SQLLocalDB 11.0 Error 528:
Windows API call WaitForMultipleObjects returned error code: 575. Windows system error message is: {Fehler in Anwendung}
Die Anwendung konnte nicht ordnungsgemäß gestartet werden (0x%lx). Klicken Sie auf "OK", um die Anwendung zu beenden.
Reported at line: 3621.

Followed by Veeam Endpoint Backup Service Error 0:
Der Dienst kann nicht gestartet werden. System.Exception: Error occurred during LocalDB instance startup: SQL Server process failed to start.

bei Veeam.Common.CSqlLocalDb.ThrowLocalDbException(Int32 errorCode, String function)
bei Veeam.Common.CSqlLocalDb.StartInstance(String instanceName)
bei Veeam.Common.CSqlLocalDbInstance.Start()
bei Veeam.EndPoint.CEndPointServiceImpl.PrepareSqlInstance()
bei Veeam.EndPoint.CEndPointServiceImpl..ctor(CVbOptions options, CTerminationMediator terminator, CExternalEventsWatcher externalEventsWatcher)
bei Veeam.EndPoint.EndPointService.OnStart(String[] args)
bei System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
Regnor
Veeam ProPartner
 
Posts: 91
Liked: 21 times
Joined: Mon Jan 31, 2011 11:17 am

Re: Installation fails (SQLLocalDB)

Veeam Logoby Dima P. » Mon Dec 08, 2014 5:04 pm

QA is investigating this.
Dima P.
Veeam Software
 
Posts: 6384
Liked: 448 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Installation fails (SQLLocalDB)

Veeam Logoby Keyser » Tue Dec 09, 2014 2:41 pm 1 person likes this post

Just a qucik note.

If you have a restart pending for other reasons then the installer will install the first SQL part and then ask for a restart. If you elect not to restart the installation will fail with a big error.

If you elect to restart the installer does not continue after restart and you have to start over manually.

Not a big issue, just so you know.
Keyser
Enthusiast
 
Posts: 33
Liked: 5 times
Joined: Thu Feb 13, 2014 10:11 am

Re: Installation fails (SQLLocalDB)

Veeam Logoby Dima P. » Tue Dec 09, 2014 9:54 pm

Regnor,
Sorry for the delay QA is still drilling the logs.
Dima P.
Veeam Software
 
Posts: 6384
Liked: 448 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Installation fails (SQLLocalDB)

Veeam Logoby Regnor » Wed Dec 10, 2014 11:07 am

No problem; it's a beta :)
Regnor
Veeam ProPartner
 
Posts: 91
Liked: 21 times
Joined: Mon Jan 31, 2011 11:17 am

Re: Installation fails (SQLLocalDB)

Veeam Logoby Dima P. » Thu Dec 11, 2014 11:06 am

Sorry for taking this so long.

Here is what we found – the existing local db components where locked during the installation by other application (or possibly SQL itself), so setup requested a restart and then was timed out it could not get access to these components in time. It may happen that you asked to restart during the Endpoint set due the SQL requirements, issues or updates. We actually received several cases with the same issue when existing SQL was updating itself and the PC was not restarted in proper period of time.

Did you try to run a new install after restart? Was it successful?
Dima P.
Veeam Software
 
Posts: 6384
Liked: 448 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Installation fails (SQLLocalDB)

Veeam Logoby Regnor » Thu Dec 11, 2014 11:26 am

When you say new install after restart, do you mean just run the install over the existing installation(which was aborted) or first completely uninstall VEB und run a fresh installation?
Setup itself didn't tell me that it needed a restart but I did try that and also logged on with a different user. Everytime I first uninstalled the VEB components and then tried to install it again --> same problem.

EDIT: In the case of the existing SQL installation; does VEB change/update anything on this SQL instance? If so, we would have to look for any compability issues.
Regnor
Veeam ProPartner
 
Posts: 91
Liked: 21 times
Joined: Mon Jan 31, 2011 11:17 am

Re: Installation fails (SQLLocalDB)

Veeam Logoby Dima P. » Thu Dec 11, 2014 11:39 am

Yes. Try to:

- uninstall Endpoint completely
- reboot your computer
- run the installation again
- if required, reboot again
Dima P.
Veeam Software
 
Posts: 6384
Liked: 448 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Installation fails (SQLLocalDB)

Veeam Logoby Regnor » Thu Dec 11, 2014 12:00 pm

Ok; I did try that and it didn't work.
But give me an hour or so, I'll clone the client and do some testing at my desk.
Regnor
Veeam ProPartner
 
Posts: 91
Liked: 21 times
Joined: Mon Jan 31, 2011 11:17 am

Re: Installation fails (SQLLocalDB)

Veeam Logoby Regnor » Fri Dec 12, 2014 7:17 am

I've tried it again; after a few minutes I'm getting the error that the service couldn't start and then after some time a SQL error is displayed.
If I choose to continue the 'starting services' windows stays and nothing happens after that.
Regnor
Veeam ProPartner
 
Posts: 91
Liked: 21 times
Joined: Mon Jan 31, 2011 11:17 am

Re: Installation fails (SQLLocalDB)

Veeam Logoby Dima P. » Fri Dec 12, 2014 1:47 pm

Regnor,
QA got the following idea: we would need to find out what application still uses the existing localdb, since its locking the instance and would not allow Endpoint to use it. Possibly, you could send us a list of the installed applications so we could try to investigate the blocker?
Dima P.
Veeam Software
 
Posts: 6384
Liked: 448 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Installation fails (SQLLocalDB)

Veeam Logoby Dima P. » Wed Dec 17, 2014 3:03 pm

Hello Max,
I am sorry for taking so long to respond. We reviewed the application list you've sent and it seems none of these could lock the local db. What you can try to do is manually delete the endpoint instance and re install the Veeam Endpoint from scratch. Here is an instruction:

- Before you go ,please, double check you have the Microsoft SQL Server 2012 Express LocalDB
- Check Veeam Endpoint Backup is not listed in the ‘Programs and Features’ If yes – uninstall it
- Download PSTools: http://download.sysinternals.com/files/PSTools.zip
- Install it. (for ease of use it could be unpacked to C:\PSTools\)
- Go to Run > cmd as administrator
- cd C:\PSTools (or the folder you used for during unpacking)
- Run PsExec.exe –i –s cmd.exe (the user agreement message may pop up )
- New command line would appear. Make sure its running under nt authority\system by running whoami
- In the new command prompt type in “C:\Program Files\Microsoft SQL Server\110\Tools\Binn\SqlLocalDB.exe” delete VeeamEndPoint (with quotes)
- If you see the message “LocalBD instance “VeeamEndPoint” deleted” then you can procceed to the new Veeam Endpoint Installation.

Let me know if that works. Thank you.
Dima P.
Veeam Software
 
Posts: 6384
Liked: 448 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Installation fails (SQLLocalDB)

Veeam Logoby Regnor » Wed Dec 17, 2014 3:42 pm

Hello Dima,

I'm out off office for the next two weeks.
Do we have the time to wait till I'm back or shall a call a colleague, so that he can execute your instructions?
Regnor
Veeam ProPartner
 
Posts: 91
Liked: 21 times
Joined: Mon Jan 31, 2011 11:17 am

Re: Installation fails (SQLLocalDB)

Veeam Logoby Dima P. » Wed Dec 17, 2014 3:59 pm

Max,
No rush - so it’s up to you.
Dima P.
Veeam Software
 
Posts: 6384
Liked: 448 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Installation fails (SQLLocalDB)

Veeam Logoby ender » Tue Dec 23, 2014 4:25 pm

I have a very similar same problem on my workstation, running Windows 8.1 Pro x64 (Slovenian language version). The installer gets to "Starting services", then hangs there for a few minutes and complains that it failed to start service ‘Veeam EndPoint Backup Service'. If I click Cancel, I then get an SQL error a few minutes later:
Code: Select all
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
Veeam.Backup.Common.CSqlException: Microsoft SQL server hosting the configuration database is currently unavailable. Possible reasons are heavy load, networking issue, server reboot, or hot backup.
Please wait, and try again later.

Error information:
SQL server is not available
   at Veeam.Backup.Common.CExceptionUtil.ThrowSqlException(Exception innerException)
   at Veeam.Backup.DBManager.CDbAccessor.ExecDataReader(String spName, CommandBehavior commandBehavior, Int32 timeoutSeconds, SqlParameter[] spParams)
   at Veeam.Backup.DBManager.CBackupJobsDbScope.GetBackupJobs()
   at Veeam.Backup.Core.CBackupJob.GetAll()
   at Veeam.EndPoint.Backup.CEpBackupJobHelper.FindJob()


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34014 built by: FX45W81RTMGDR
    CodeBase: file:///W:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Veeam.Setup.Wizard
    Assembly Version: 2.0.0.3
    Win32 Version: 2.0.0.3
    CodeBase: file:///W:/Users/ender/AppData/Local/Temp/RarSFX1/EndPoint/Suite/Veeam.Setup.Wizard.dat
----------------------------------------
Veeam.Setup.Common
    Assembly Version: 1.0.0.10
    Win32 Version: 1.0.0.10
    CodeBase: file:///W:/Users/ender/AppData/Local/Temp/RarSFX1/EndPoint/Suite/Veeam.Setup.Common.DLL
----------------------------------------
Veeam.Setup.MsiLibrary
    Assembly Version: 1.0.0.3
    Win32 Version: 1.0.0.3
    CodeBase: file:///W:/Users/ender/AppData/Local/Temp/RarSFX1/EndPoint/Suite/Veeam.Setup.MsiLibrary.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///W:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///W:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34239 built by: FX452RTMGDR
    CodeBase: file:///W:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///W:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///W:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR
    CodeBase: file:///W:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///W:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Veeam.Setup.EndPointSetup
    Assembly Version: 8.0.0.1822
    Win32 Version: 8.0.0.1822
    CodeBase: file:///W:/Users/ender/AppData/Local/Temp/RarSFX1/EndPoint/Suite/Veeam.Setup.EndPointSetup.DLL
----------------------------------------
Veeam.Setup.PrereqEngine
    Assembly Version: 2.0.0.1
    Win32 Version: 2.0.0.1
    CodeBase: file:///W:/Users/ender/AppData/Local/Temp/RarSFX1/EndPoint/Suite/Veeam.Setup.PrereqEngine.DLL
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///W:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.ServiceProcess
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///W:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
Veeam.EndPoint.Core
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.0.1822
    CodeBase: file:///W:/Program%20Files/Veeam/EndPoint%20Backup/Veeam.EndPoint.Core.dll
----------------------------------------
Veeam.EndPoint.Common
    Assembly Version: 1.0.0.0
    Win32 Version: 8.0.0.1822
    CodeBase: file:///W:/Program%20Files/Veeam/EndPoint%20Backup/Veeam.EndPoint.Common.dll
----------------------------------------
Veeam.Backup.Common
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.0.1822
    CodeBase: file:///W:/Program%20Files/Veeam/EndPoint%20Backup/Veeam.Backup.Common.dll
----------------------------------------
Veeam.Backup.Configuration
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.0.1822
    CodeBase: file:///W:/Program%20Files/Veeam/EndPoint%20Backup/Veeam.Backup.Configuration.DLL
----------------------------------------
Veeam.Backup.Core.Common
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.0.1822
    CodeBase: file:///W:/Program%20Files/Veeam/EndPoint%20Backup/Veeam.Backup.Core.Common.DLL
----------------------------------------
Veeam.Backup.Model
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.0.1822
    CodeBase: file:///W:/Program%20Files/Veeam/EndPoint%20Backup/Veeam.Backup.Model.DLL
----------------------------------------
Veeam.Backup.Core
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.0.1822
    CodeBase: file:///W:/Program%20Files/Veeam/EndPoint%20Backup/Veeam.Backup.Core.DLL
----------------------------------------
Veeam.Backup.DBManager
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.0.1822
    CodeBase: file:///W:/Program%20Files/Veeam/EndPoint%20Backup/Veeam.Backup.DBManager.DLL
----------------------------------------
System.Security
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///W:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
----------------------------------------
Veeam.Backup.DBAccessor
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.0.1822
    CodeBase: file:///W:/Program%20Files/Veeam/EndPoint%20Backup/Veeam.Backup.DBAccessor.DLL
----------------------------------------
Veeam.Tape.Database
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.0.1822
    CodeBase: file:///W:/Program%20Files/Veeam/EndPoint%20Backup/Veeam.Tape.Database.DLL
----------------------------------------
Veeam.Tape.Model
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.0.1822
    CodeBase: file:///W:/Program%20Files/Veeam/EndPoint%20Backup/Veeam.Tape.Model.DLL
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///W:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///W:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///W:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

I tried the suggestions from this thread, but they don't work (the end result is the same).

Since this is the computer I use daily, it already has a bunch of stuff installed, including several versions of Visual Studio and the included SQL Servers.
ender
Novice
 
Posts: 3
Liked: never
Joined: Tue Dec 23, 2014 10:50 am

Next

Return to Veeam Agent for Windows



Who is online

Users browsing this forum: Bing [Bot], Google Feedfetcher, ikorsakov, Polina and 27 guests