PDQ Inventory service fails to start - Error 1053
On Windows 7 x64, I upgraded to PDQ Inventory 16.6, without issue. The system is set to automatically reboot every night, so uptime is always less than a day.
Yesterday and today, I've been beating my head against the wall with PDQ Inventory not loading. When I attempt to start the service, I get the following message:
Windows could not start the PDQ Inventory service on Local Computer.
Error 1053: The service did not respond to the start or control request in a timely fashion.
[ OK ]
It is set to log on as my Domain Admin account, as is PDQ Deploy (which is working fine). Thoughts?
When checking the Windows Event Log (Application log), I see the following entries:
Source: .NET Runtime
Application: PDQInventoryService.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: C:\Windows\system32\CrashLog-PDQInventoryService-2019-02-20T10_48_40.1041588-08_00.txt UNIQUE constraint failed: Versions.Version Database = C:\ProgramData\Admin Arsenal\PDQ Inventory\log.db Error Code = SQLITE_CONSTRAINT SQL = create unique index if not exists UX_Versions_Version on Versions (Version) Column Names = Versions.Version Sqlite Connection Elapsed = 00:00:01.2890000 UNIQUE constraint failed: Versions.Version Database = C:\ProgramData\Admin Arsenal\PDQ Inventory\log.db Error Code = SQLITE_CONSTRAINT SQL = create unique index if not exists UX_Versions_Version on Versions (Version) Column Names = Versions.Version Sqlite Connection Elapsed = 00:00:01.2890000 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.get_StackTrace() at AdminArsenal.ProgramInfo.<TryLogLastwillAndTestamentInternal>g__SerializeError|19_1(StringBuilder
msg, Exception err) at AdminArsenal.ProgramInfo.TryLogLastwillAndTestamentInternal(Exception error, String message, String crashLogFileName, Boolean retryOnEventLogError) at AdminArsenal.ProgramInfo.TryLogLastWillAndTestament(Exception ex) at AdminArsenal.ProgramInfo..ctor() at AdminArsenal.LibraryProgramInfo..ctor() at AdminArsenal.ProductProgramInfo..ctor(ProductCode productCode, Int32 defaultTcpPort) at AdminArsenal.PDQInventory.InventoryProgramInfo..ctor() at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at AdminArsenal.ReflectionExtensions.Instantiate(Type type, Object[] args) at AdminArsenal.ReflectionExtensions.Instantiate[T](Type type) at AdminArsenal.ProgramInfo.InitializeT at AdminArsenal.PDQInventory.Program..cctor() at AdminArsenal.PDQInventory.Program.Main()
Stack: at System.Environment.FailFast(System.String, System.Exception) at AdminArsenal.ProgramInfo.TryLogLastwillAndTestamentInternal(System.Exception,
System.String, System.String, Boolean) at AdminArsenal.ProgramInfo.TryLogLastWillAndTestament(System.Exception) at AdminArsenal.ProgramInfo..ctor() at AdminArsenal.LibraryProgramInfo..ctor() at AdminArsenal.ProductProgramInfo..ctor(AdminArsenal.ProductCode, Int32) at AdminArsenal.PDQInventory.InventoryProgramInfo..ctor() at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean) at System.Reflection.RuntimeConstructorInfo.Invoke(System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo) at AdminArsenal.ReflectionExtensions.Instantiate(System.Type, System.Object[]) at AdminArsenal.ReflectionExtensions.Instantiate[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089] at AdminArsenal.ProgramInfo.Initialize[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089] at AdminArsenal.PDQInventory.Program..cctor() at AdminArsenal.PDQInventory.Program.Main()
Source: PDQInventoryService, Version=16.6.0.0, Culture=neutral, PublicKeyToken=null
C:\Windows\system32\CrashLog-PDQInventoryService-2019-02-20T10_48_40.1041588-08_00.txt UNIQUE constraint failed: Versions.Version Database = C:\ProgramData\Admin Arsenal\PDQ Inventory\log.db Error Code = SQLITE_CONSTRAINT SQL = create unique index if not exists UX_Versions_Version on Versions (Version) Column Names = Versions.Version Sqlite Connection Elapsed = 00:00:01.2890000 UNIQUE constraint failed: Versions.Version Database = C:\ProgramData\Admin Arsenal\PDQ Inventory\log.db Error Code = SQLITE_CONSTRAINT SQL = create unique index if not exists UX_Versions_Version on Versions (Version) Column Names = Versions.Version Sqlite Connection Elapsed = 00:00:01.2890000 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.get_StackTrace() at AdminArsenal.ProgramInfo.<TryLogLastwillAndTestamentInternal>g__SerializeError|19_1(StringBuilder
msg, Exception err) at AdminArsenal.ProgramInfo.TryLogLastwillAndTestamentInternal(Exception error, String message, String crashLogFileName, Boolean retryOnEventLogError) at AdminArsenal.ProgramInfo.TryLogLastWillAndTestament(Exception ex) at AdminArsenal.ProgramInfo..ctor() at AdminArsenal.LibraryProgramInfo..ctor() at AdminArsenal.ProductProgramInfo..ctor(ProductCode productCode, Int32 defaultTcpPort) at AdminArsenal.PDQInventory.InventoryProgramInfo..ctor() at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at AdminArsenal.ReflectionExtensions.Instantiate(Type type, Object[] args) at AdminArsenal.ReflectionExtensions.Instantiate[T](Type type) at AdminArsenal.ProgramInfo.InitializeT at AdminArsenal.PDQInventory.Program..cctor() at AdminArsenal.PDQInventory.Program.Main()
Comments
I think you might be running into this issue: https://community.pdq.com/posts/11340-pdq-inventory-license-check-stopped-working/#11346
Works, thank you!