Skip to main content

QlikView: "Error 1053: The service did not respond to the start or control request in a timely fashion"

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Andre_Sostizzo
Digital Support
Digital Support

QlikView: "Error 1053: The service did not respond to the start or control request in a timely fashion"

Last Update:

Apr 3, 2023 10:11:16 AM

Updated By:

Sonja_Bauernfeind

Created date:

Apr 27, 2015 8:45:08 PM

Error 1053: The service did not respond to the start control request in a timely fashion when trying to start the services.

QlikView Server Service, Distribution Service, Directory Service Connector, or WebServer fail to start.


 1053 the service did not respond.png 

 

Content:

 

About

When a service starts, the service communicates to the Service Control Manager how long the service must have to start (the time-out period for the service). If the Service Control Manager does not receive a "service started" notice from the service within this time-out period, the Service Control Manager terminates the process that hosts the service. This time-out period is typically less than 30 seconds. If you do not adjust this time-out period, the Service Control Manager ends the process.
 
The Microsoft Windows Service Control Manager controls the state (i.e., started, stopped, paused, etc.) of all installed Windows services. By default, the Service Control Manager will wait 30,000 milliseconds (30 seconds) for a service to respond. However, certain configurations, technical restrictions, or performance issues may result in the service taking longer than 30 seconds to start and report ready to the Service Control Manager.

 

QlikView Distribution Service

The QlikView Distribution Service fails to start with the following error:
 

1053 the service did not respond - distribution service.png

 
OR the QlikView Distribution Service status is stuck in a “Starting” state.

 

Recreate the Distribution Service Folder

  1. Stop the QlikView Distribution Service in the Services.msc.
    If it cannot be stopped, end/kill the process in the Windows Task Manager.
  2. Verify the Service is stopped by refreshing the Services.msc or via Windows Task Manager.
  3. Once the Service is stopped, navigate to the DistributionService folder (Default: C:\ProgramData\QlikTech\DistributionService).
    Non-Default Application Data Folder may be confirmed via QMC -> System tab -> Setup -> Distribution Services -> General Tab -> Settings for QDS -> Application Data Folder: <location>
  4. Take a backup of the folder by renaming the folder. 
    Alternatively move the folder to another location entirely.
  5. Attempt to start the Qlikview Distribution Service from the Service.msc. 
    Verify the Distribution Service folder was recreated if the Service started successfully.

 
Note: When the Distribution Service Folder is recreated, it contains no Task Status and History in the QMC. Tasks will show their Last Execution as “Never” and no logs will be available either. This information may be gathered from the original folder backup if necessary. Recreating this folder will NOT remove or delete Tasks for the environment. That information is saved in the QVPR.
 

QlikView Server Service

QlikView Server fails with the error below:


1053 the service did not respond.png



The Qlikview Server needs full access to its mounted folders, its root folder, and its settings files. Either of those might no longer be accessible, or the settings file might be corrupted. 
 

Verify Mounted Folder Access 

  1. Log in to the server as the Service Account (use command WHOAMI to confirm in command line to verify the logged in account).
  2. Open the QlikView Server Settings.ini file (Default: C:\ProgramData\QlikTech\QlikViewServer\Settings.ini)
  3. Look for all the folder addresses in this file and try to open them in a Windows File Browser one-by-one to confirm access as the Service Account from that server.
  4. When access to the folders has been verified, attempt to open some existing files to confirm READ access.
  5. Create a test TXT file to confirm WRITE access to the folders.
    Note: If any of the Open/Read/Write operations fail, it will need to be resolved on the Windows level for the Service Account and its permissions to the folder or there’s an issue somewhere with a folder in the full path.
  6. Once all the folders are confirmed accessible, try starting QVS service again.

Note: If UNC paths are in use, service accounts parse every folder in the path in sequential order, so all folders in the path must have the same rights/permissions as the end location, or the access will be reduced to any interim folder's most restrictive setting.


If everything looks to be fine with the above review, attempt the below steps of clearing out the Settings 7 section of the Settings.ini file and if that fails, the reconstruction of the QlikViewServer folder.

 

Clear the [Settings 7] Section in the Settings.ini

  1. Navigate to the QlikViewServer folder (Default: C:\ProgramData\QlikTech\QlikViewServer)
  2. Copy all the items from under the [Settings 7] section to the [Authentication] section to another file
  3. Remove the the content in Setting 7 section and save the file
  4. Try to start the QlikView Server Service

Note: If this works, start adding lines of the original Settings.ini file back in and see where it fails to start the service.

 

Rebuild the "QlikViewServer" folder

This steps leads to a loss of all QlikView server configuration and license data! Treat it as a migration if the step is necessary: QlikView Upgrade and Migration Procedure

  1. Rename the QlikViewServer folder (Default: C:\ProgramData\QlikTech\QlikViewServer) to for example "QlikViewServer-backup"
  2. Start QlikView Server service
  3. Make sure that QlikView Server service starts
    Note: This clears out any changes to the Settings.ini and will need to be redone within the file or the QMC.

 

Labels (1)
Contributors
Version history
Last update:
‎2023-04-03 10:11 AM
Updated by: