Qlik Community

Ask a Question

Knowledge

Search or browse our knowledge base to find answers to your questions ranging from account questions to troubleshooting error messages. The content is curated and updated by our global Support team

Announcements
Support Cases coming to Qlik Community Oct. 4! Start chats, open cases, explore resources. Prep for the big move: READ DETAILS

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

Andre_Sostizzo
Digital Support
Digital Support

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

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 

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.


Environment:
QlikView any version 

 

Resolution:

 

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

  • Stop the QlikView Distribution Service in the Services.msc.
    • If it cannot be stopped, end/kill the process in the Windows Task Manager.
  • Verify the Service is stopped by refreshing the Services.msc or via Windows Task Manager.
  • 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>
  • Take a backup of the folder by renaming the folder. 
    • Alternatively move the folder to another location entirely.
  • 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 

  • Log in to the server as the Service Account (use command WHOAMI to confirm in command line to verify the logged in account).
  • Open the QlikView Server Settings.ini file (Default: C:\ProgramData\QlikTech\QlikViewServer\Settings.ini)
  • 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.
  • When access to the folders has been verified, attempt to open some existing files to confirm READ access.
  • 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.
  • 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

  • Navigate to the QlikViewServer folder (Default: C:\ProgramData\QlikTech\QlikViewServer)
  • Copy all the items from under the [Settings 7] section to the [Authentication] section to another file
  • Remove the the content in Setting 7 section and save the file
  • 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

  • Rename the QlikViewServer folder (Default: C:\ProgramData\QlikTech\QlikViewServer) to for example "QlikViewServer-backup"
  • Start QlikView Server service
  • 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.

 

 

Other Possible Causes

In any QlikView version prior to 12.30 (November 2018), IPv4 is the preferred protocol instead of IPv6 when using a Domain User as the Service account running the QlikView Server service.

IPv4 is required for installation of QlikView Server prior to November 2018. 
 
Resolution: Change the preferred protocol from IPv6 to IPv4
 
Use the following steps to verify:

  • Type in a CMD window "netstat -aon"
  • Check for port 4747 in the Local Address and its associated IP address.
  • Check that the local address is a IPv4 address and not a IPv6 (an IPv6 address would look like EX: [fe80::bcfa:9196:e70b:cea3%11]:4747)

    If IPv6 is the type of address shown, then IPv4 MUST be set as preferred when using a Domain account as the Service account for QlikView Server.

    QlikView Server only works with IPv4, so it has to be enabled (or set as preferred). Alternatively, attempt to use a Local User / Local System account (NOT RECOMMENDED).



 

Labels (1)
Version history
Revision #:
3 of 3
Last update:
‎2021-02-10 06:17 AM
Updated by:
 
Contributors