Locked Database

E Dodd edodd at billiau.net
Thu Jun 9 06:15:02 EDT 2005


On Thu, 9 Jun 2005 05:41, Bob Williams wrote:
> For no apparent reason, Gnucash is now unable to open my database,
> giving the Question:
>
>        "GnuCash could not obtain the lock for /home/finance/nnn.
>  That database may be in use by another user, in which case you should
>                          not open the database.
>                       What would you like to do?"
>
> I don't want to take the 'Quit' option, so I click on Open Anyway. The
> database appears to open to the point where I am informed of pending
> scheduled entries, when the whole application immediately closes.

Here's your problem.
you have a scheduled transaction which is crashing the system

>
> I've tried the third option of Create New File, to get GnuCash running,
> and then attempting to open the locked database from there, but the same
> thing happens.
>
> Although there are two other accounts on this machine, I am effectively
> the only user, and the above scenario happens even if GnuCash is the
> first application I attempt to open after a reboot.
>
> Any ideas, please?

Q: GnuCash crashes on startup trying to run an SX. How do I fix this?

 
A: We're still trying to track down all the various SX problems. First, you 
should make sure you're running the most recent release. Second, if you're 
running the most recent release and still having problems you should file a 
bug report with all the output on your terminal (you ARE running gnucash from 
a terminal, RIGHT???). Third, you should backup your data file because the 
developers may want to see portions of it to help track down this problem. 
Finally, run: 
gnucash --nofile

then turn off the AutoRun option from Edit -> Preferences -> Scheduled 
Transactions . Then exit and restart GnuCash and it should open your data 
file just fine. 

but turning off the 'since last run' fixed mine

-- 
BOFH excuse #10:

hardware stress fractures


More information about the gnucash-user mailing list