Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
MCI
Contributor II
Contributor II

Qlik Sense Engine Service and Qlik Logging Service do not start Automatic after a restart server

Hi

When our server restarts, all Qlik services start automatically except services Qlik Sense Engine Service and Qlik Logging Service.

For this two services, we need to start it manually and they start correctly !

For information, all Qlik services are in the startup mode in Automatic (Delayed Start).

Do you have any idea what we could do to solve this problem ?

Thanks

6 Replies
charlie_firemind
Partner - Contributor III
Partner - Contributor III

Hey,

Is it possible to add a snippet from your logs here for review?

Get the engine logs.

 

C

ToniKautto
Employee
Employee

Which Qlik Sense release are you using?

MCI
Contributor II
Contributor II
Author

Here  the service engine log

MCI
Contributor II
Contributor II
Author

we have the 12 . 7 version

Marc
Employee
Employee

Run the following PowerShell code as Administrator on the Server then Reboot for the change to take effect.

It will change the Default Windows Service Timeout from 30 seconds to 2 minutes. This should give the Engine enough time to start up successfully.

function Set-ServicePipeTimeout
{
	param
	(
		$Timeout = "120000"
	)
	$registryPath = "HKLM:\SYSTEM\CurrentControlSet\Control"
	$Name = "ServicesPipeTimeout"
	If (!(Test-Path $registryPath))
	{
		New-Item -Path $registryPath -Force | Out-Null
	}
	New-ItemProperty -Path $registryPath -Name $name -Value $Timeout -PropertyType DWORD -Force
}
Set-ServicePipeTimeout
MCI
Contributor II
Contributor II
Author

Hello,

I tested this and for now it works:
start the service QlikSenseRepositoryDatabase immediately and all other services in "Delayed"

 

Thank you for your idea. If we still have problems I would change the timmeout of the Windows service.