When the server restarts normally or when the Server restarts after Qlik Sense upgrade, all Qlik services start automatically except services Qlik Logging Service (or Qlik Sense Engine Service).
Environment
Resolution
The required services may not have started on time or in the right order. For the correct startup order see Manual Start and Stop order of Qlik Sense services.
Set Services to start delayed
- Open the Windows Services Console
- Locate the Qlik Sense Services
- Configure every service (except the QlikSenseRepositoryDatabase) by:
- Opening the Services
- Choosing the Startup type in the General tab
- Setting it to Delayed
- Reboot
Increase Service Timeout
If the above has not resolved the issue, the Windows Service Timeout needs to be increased. The default value is 30 seconds. We provide a PowerShell script that allows an Administrator to set it to 2 minutes.
Alternatively, change the value in the registry. See Qlik Sense: "Error 1053: The service did not respond to the start control request in a timely fashio... for details.
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