GnuCash could not obtain the lock file...

Robert Kesterson robertk at robertk.com
Wed Feb 11 20:37:37 EST 2015


The lock file is a simple mechanism to prevent running two copies of GnuCash on the same file at once. If GnuCash gets terminated early ( as it did in this case) then it makes it look like a copy of GnuCash is still running. Since you know it isn't, you can safely tell GnuCash to open anyway, which will override the lock and proceed. 

> On Feb 11, 2015, at 7:31 PM, Greg Feneis <mfeneis at gmail.com> wrote:
> 
> ​Hi Folks,
> 
> Last night I had GnuCash running, got things ready to do my taxes and did a
> save as.  I left GnuCash running on my computer over night when Windows 7
> decided to do an update and restart the computer all on its own.  Today,
> when I tried to start GnuCash I get a warning that it could not obtain the
> lock file for the file name that I saved things to.  I got 4 options from
> the warning to proceed with: I could open read only, create new file, Open
> anyway, or quit.  I selected quit because I didn't know what the
> consequences of the other 3 paths to go.
> 
> So, what's a lock file, and why can't it be obtained?  And, which way
> should I go from this warning?  Or, should I do something else entirely?
> 
> I'm running Win 7 64, and  GnuCash 2.6.3 ​
> 
> ​Thanks for any help!​
> 
> 
> Kind regards,
> 
> Greg Feneis
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.



More information about the gnucash-user mailing list