Quantcast
Channel: Shavlik User Community : All Content - Ivanti Patch for Windows
Viewing all articles
Browse latest Browse all 2126

Shavlik Protect Console Service Fails to Launch.

$
0
0

Purpose


The purpose of this article is to troubleshoot an error 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:

YYYY-MM-DDTHH:MM:SS.7690850Z 0005 C Program.cs:26|System.ServiceModel.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 SQL database needs to be restored. To resolve, follow this article: Restore Shavlik Database From Backup Using SQL Server Management Studio

3) 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

 

Does the service still crash?

If no, stop. You do not have to go any further.

 

If yes, perform the following:

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>

ServiceFailError3.PNG

16) Start the Shavlik Protect Console Service.

 

Affected Product(s)


Shavlik Protect 9.x


Viewing all articles
Browse latest Browse all 2126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>