Shavlik Protect Console Service Fails to Launch - The Service Responsible for Importing Scan and Agent Results Is Not Running

Version 12

    Purpose


    This article provides troubleshooting steps for when the Shavlik Console Service fails to launch.

     

    Symptoms


    The console service fails to launch and you will receive the following error: The service responsible for importing scan and agent results is not running

     

    You will also see in the ST.ServiceHost.managed.log file the following errors:

     

     

    Program.cs:26|System.ServceModel.CommunicationException: The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element. ---> System.ServiceModel.QuotaExceededException: The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.

     

    Cause

     

    There could be a lot of causes for the issue:

     

    1) The Protect license record/activation key has become corrupted. To resolve, follow this article: Launch Interface - Error - Initialize License Fails

    2) The Shavlik Protect Console Service isn't running as Local System

    3) The SQL database needs to be restored. To resolve, follow this article: Restore Shavlik Database From Backup Using SQL Server Management Studio

    4) The Arrivals folder in has become too full and needs to be cleared out. To resolve, follow this article: Protect Console Service Crashes Frequently

    5) The C:\ drive where the Shavlik Protect Console Program and Data Files has run out of disk space. To resolve, follow this article: Purging Downloaded Patch Install Files From The Protect Console

    6) There are old console certificates that need to be deleted and Shavlik Protect reinstalled: Shavlik Protect Console Certificates

    7) The <netNamedPipeBinding> does not have a maximum size built within STServicesBindings.config. To resolve, follow the steps below:

     

    Resolution

     

    1) Backup the Protect database. (How To: Backup a Database)

    2) Stop Protect and the Shavlik Protect Console Service

    3) Extract DeleteRefreshLicenseScheduledJobs.zip (attached to the bottom of this article)

    4) Open SQL Server Management Studio

    5) Connect to the database that contains the Protect database

    6 ) Open DeleteRefreshLicenseScheduledJobs.sql into a query window

    7) Read disclaimer at the top

    8) Select the Protect database

    9) Execute the script

    10) Start the Shavlik Protect Console Service

     

    Verify if Protect is crashing.

     

    11) Stop Protect and the Shavlik Protect Console Service

    12) Backup STServicesBindings.config (LocalDisk:\Program Files\LANDESK\Shavlik Protect)

    ServiceFailError1.PNG

    13) Open STServicesBindings.config

    14) Go to first binding under <netNamedPipeBinding>

    ServiceFailError2.PNG

    15) Add maxReceivedMessageSize="5000000" maxBufferPoolSize="5000000"

    Example:

    Before:

    <netNamedPipeBinding>

    <binding>

    <security mode="Transport" />

    </binding>

     

    After:

    <netNamedPipeBinding>

    <binding maxReceivedMessageSize="5000000" maxBufferPoolSize="5000000">

    <security mode="Transport" />

    </binding>

    Capture2.JPG

    16) Start the Shavlik Protect Console Service.

     

    Affected Product(s)

     

    Shavlik Protect 9.0 - 9.1