Normal Topic sunlock.exe (Read 593 times)
Louis Galvao
Full Member
***
Offline


"Sufferin' Succatash"

Posts: 265
Location: Canada
Joined: Feb 14th, 2005
sunlock.exe
Jul 7th, 2005 at 3:59pm
Print Post Print Post  
I just came across a folder in my Sesame directory labelled C:\Sesame\Utilities\ Lantica with the sunlock.exe file in it.

First of all, is this the file that allows you to unlock an application ?

According to the manual it is and should this be placed in the Programs folder where the Sesame application is stored for it to work ?

My past forums on unlocking a database revealed that I was having trouble unlocking my files and having to shut the Sesame server down.

Thanks,

Louis
  

Louis Galvao
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: sunlock.exe
Reply #1 - Jul 7th, 2005 at 5:00pm
Print Post Print Post  
Quote:
First of all, is this the file that allows you to unlock an application ?


Yes, It is one of the ways to unlock an application.

Quote:
According to the manual it is and should this be placed in the Programs folder where the Sesame application is stored for it to work ?


It does not need to be placed anyplace in particular to work. It is run from a command line and the path along with the name of an application is passed in as the argument.

An example of the syntax would be
Code
Select All
sunlock c:\sesame\data\samples\gems.db 



It does the same thing that Sesame does when you open Server Administration and go to the Unlock Application Tab.

Quote:
My past forums on unlocking a database revealed that I was having trouble unlocking my files and having to shut the Sesame server down.


Did Sesame Server show the files as open when you were trying to unlock them? If Sesame Server has the files loaded, then Sesame Server locked them (So that no one else, besides a client, could open them, as the server is using them) and unlocking them can allow another Sesame Process (Not a Client) to open them.

If two sesame processes (Two separate processes, not two clients connected to the same server) have the same application open, it will not be long before the application is corrupt, sometimes beyond repair.

If you want I can try to think of a way to better describe Sesame's locking.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged