Sunday, May 19, 2013
Google Custom Search

Our Community

Membership Membership:
Latest New User Latest: jin02023343
New Today New Today: 1
New Yesterday New Yesterday: 2
User Count Overall: 28633

People Online People Online:
Visitors Visitors: 7
Members Members: 0
Total Total: 7

Online Now Online Now:

ClearCanvas Community Forums

how to unlock a service ??!!
Last Post 2012-07-29 07:54 AM by jkorman1. 8 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
sinansahin
Veteran Member
Veteran Member
Posts:77

--
2010-01-19 06:06 AM  

Hi All,

 

I have scheduleded import dicom files service and enable it. But it stacks, no files imported. Even I have disable it, restart the service and reboot the computer the service seems locked on the scheduling page and does not work, no file import

 

Any idea how to make it work or how to unlock the service

 

sinan

 

steve
Senior Member
Senior Member
Posts:2096

--
2010-01-19 05:56 PM  
When a service is marked as "Locked" in the GUI, this means it is running in the ShredHostService. It should unlock itself after it completes running. You can also check the listed server IP Address to confirm where it is running.

If the service is stuck as Locked (this could happen if the IP address of the server changed after the service crashed or was shutdown improperly), the ShredHostService will not clean up after itself properly, and you have to manually go into the database and unlock the service in the ServiceLock table.

Steve
Live and real-time support available for Personal, Team, and Cleome Edition customers.
sinansahin
Veteran Member
Veteran Member
Posts:77

--
2010-01-20 03:47 PM  
Yes it worked,

thanks
shawns1234
New Member
New Member
Posts:11

--
2010-08-04 01:25 AM  
I am getting this issue as well. However, when I unlock it.. the service then proceeds to use up all the remaining memory in my server, but does not import anything. (4GB Memory)
steve
Senior Member
Senior Member
Posts:2096

--
2010-08-05 04:02 PM  
As mentioned in a previous post, when a service is "Locked" in the Service Scheduling page, this means the service is actually running. Manually unlocking it in the database while the service is running can cause problems with the system. The intent of this mechanism is to ensure a service only runs at one time on a single server, and manually unlocking the service while it is still running may cause it to be run more than once.

Steve
Live and real-time support available for Personal, Team, and Cleome Edition customers.
jkorman1
New Member
New Member
Posts:5

--
2012-07-25 08:14 AM  
Could you please tell me where the database is typically located and the steps required to unlock it. thank you
jkorman1
New Member
New Member
Posts:5

--
2012-07-25 11:15 AM  
"When a service is marked as "Locked" in the GUI, this means it is running in the ShredHostService. It should unlock itself after it completes running. You can also check the listed server IP Address to confirm where it is running.

If the service is stuck as Locked (this could happen if the IP address of the server changed after the service crashed or was shutdown improperly), the ShredHostService will not clean up after itself properly, and you have to manually go into the database and unlock the service in the ServiceLock table.

Steve"

Is it possible to further elaborate on this? Within the SQL Server Management, I am having difficulty unlocking the service in the ServiceLock table. Am I in the correct location? All options seem to be greyed out and inaccessible.
steve
Senior Member
Senior Member
Posts:2096

--
2012-07-27 09:35 AM  
This query will show the actual rows in the ServiceLock table, plus it joins on ServiceLockTypeEnum + Filesystem to show the type of entry and the filesystem its associated with respectively:

select * from ServiceLock
join ServiceLockTypeEnum on ServiceLock.ServiceLockTypeEnum = ServiceLockTypeEnum.Enum
left join Filesystem on Filesystem.GUID = servicelock.FilesystemGUID

The Lock bit in the ServiceLock table just has to be reset to 0 for the appropriate row. The above joins should help you identify the row for a specific filesytem and type of service scheduling entry.

Steve
Live and real-time support available for Personal, Team, and Cleome Edition customers.
jkorman1
New Member
New Member
Posts:5

--
2012-07-29 07:54 AM  

Thanks Steve that did the trick

You are not authorized to post a reply.

Active Forums 4.1
Copyright 2013 ClearCanvas Inc. All Rights Reserved