PDQ Deploy crashes 17.1.0.0

0

After updating to 17.1.0.0 im starting to see the PDQ Deploy service is crashing. Even thou I setup the service to restart if crashing it fails to do so.

Any idea?

From Windows Event Viewer:

Application: PDQDeployService.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: C:\Windows\system32\CrashLog-PDQInventoryConsole-2019-04-16T15_32_58.7304453+02_00.txt The type initializer for 'AdminArsenal.Data.SQLite.SqliteEngine' threw an exception. The type initializer for 'AdminArsenal.Data.SQLite.SqliteEngine' threw an exception. at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.get_StackTrace() at AdminArsenal.ProgramInfo.

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(System.String[]) at System.AppDomain._nExecuteAssembly(System.Reflection.RuntimeAssembly, System.String[]) at System.AppDomain.ExecuteAssembly(System.String, System.String[]) at System.AppDomain.ExecuteAssembly(System.String) at AdminArsenal.Integration.AppDomainIntegration+RequestSession.Open() at AdminArsenal.Integration.AppDomainSession.CreateSession() at AdminArsenal.OnDemand1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetOrCreate(System.Func1<System.__Canon>) at AdminArsenal.Integration.AppDomainSession.Execute(AdminArsenal.Data.Transfer) at AdminArsenal.Integration.PDQSiblingInstallation.Execute(System.String, AdminArsenal.Data.Transfer) at AdminArsenal.PDQDeploy.Integration.PDQInventoryDatabase.NotifyRefreshDeployments(AdminArsenal.Runner.TargetHostName[], Boolean) at AdminArsenal.PDQDeploy.Integration.PDQInventoryServer.PublishNotifyRefreshComputers(AdminArsenal.Runner.TargetHostName[]) at AdminArsenal.PDQDeploy.NotifyRefreshDeploymentsThread.Execute(System.Threading.CancellationToken) at AdminArsenal.Service.ServiceThread.TimerElapsed(System.Object, System.Timers.ElapsedEventArgs) at System.Timers.Timer.MyTimerCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.TimerQueueTimer.CallCallback() at System.Threading.TimerQueueTimer.Fire() at System.Threading.TimerQueue.FireNextTimers()


The type initializer for 'AdminArsenal.Data.SQLite.SqliteEngine' threw an exception. System.TypeInitializationException HResult: 0x80131534 Code:5428 Facility:19 Warning ------- INNER EXCEPTIONS ------- A dynamic link library (DLL) initialization routine failed System.ComponentModel.Win32Exception NativeErrorCode: 1114 at AdminArsenal.Data.SQLite.SqliteEngine..cctor() ------- OUTER EXCEPTION ------- The type initializer for 'AdminArsenal.Data.SQLite.SqliteEngine' threw an exception. System.TypeInitializationException HResult: 0x80131534 Code:5428 Facility:19 Warning at AdminArsenal.Data.SQLite.SqliteEngine..ctor(SqliteConnectionPool pool) at AdminArsenal.Data.SQLite.SqliteConnectionPool.Checkout() at AdminArsenal.Data.SQLite.SqliteConnection.Open() at AdminArsenal.Diagnostics.DebugLogDatabase.OpenDatabase(FileInfo file) at AdminArsenal.Diagnostics.DebugLogDatabase..ctor(FileInfo file) at AdminArsenal.Diagnostics.LogManager..ctor(ProgramInfo info) at AdminArsenal.ProgramInfo..ctor()


Faulting application name: PDQDeployService.exe, version: 17.1.0.0, time stamp: 0x5b91a664 Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0x80131623 Fault offset: 0x00007ffbde30fedc Faulting process id: 0x830 Faulting application start time: 0x01d4f4548c1d394e Faulting application path: C:\Program Files (x86)\Admin Arsenal\PDQ Deploy\PDQDeployService.exe Faulting module path: unknown Report Id: 25d40920-604c-11e9-8104-0050569663bc Faulting package full name: Faulting package-relative application ID:

Cancel
login to comment
0

Looks like an issue with your database. Maybe try this to verify -

  1. Stop the PDQ Inventory and Deploy services.
  2. Make a copy of your database.db file (C:\ProgramData\AdminArsenal\PDQ Inventory by default).
  3. Rename the original to database.db.old.
  4. Restart the services (maybe just the Inventory service for this test) and try to open Inventory.

The database.db file should be recreated from scratch once Inventory is started. If Inventory opens, your issue is likely a corrupted .db file. You can then either copy over one of your backups created by the auto-backup feature in PDQ, or your own backup (after stopping the service again).

If you want to attempt to repair your database, shoot a ticket over to PDQ support letting them know the problem you're having. Sometimes they are able to repair corrupt databases, though there's no guarantee, and there's the possibility that data will be lost in the recovery even if they are successful.

Cancel
login to comment

Reply