Gnucash 1.6.6 on RedHat 7.3 only starts as root

Peter T. Abplanalp pta@psaconsultants.com
Fri, 30 Aug 2002 15:29:34 -0600


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Aug 30, 2002 at 11:15:05PM +0200, Daniel Brahneborg wrote:
> I started using gnucash a few weeks ago, and it has worked pretty fine.
> One day I made the mistake of starting it as root, and since then it
> absolutely refuses to run when I'm my usual user.  It complains about
> not being able to get the lock for the data file, and then it just
> stops.  When running it with --loglevel 6 the output ended with the two

in the same directory as your data file, you will find a file with the
extension .LCK.  it is probably owned by root and thus unmodifiable by
a mere user.  remove it as root and try again to start gnucash as your
normal id.

it sounds like perhaps you didn't shutdown gnucash cleanly as root and
the lockfile was left behind.  something else that might work is to
start gnucash as root and exit it cleanly.  afaik, this should remove
the lockfile as well.

hth

- -- 
Peter Abplanalp

Email:   pta@psaconsultants.com
PGP:     pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9b+O9ggA8sH0iRXQRAgPeAJ4tayFE3vZsEufGweefhjSjrDeCGQCeIVKZ
IjuvL23T2AXsGefAkoh0pdk=
=lpjU
-----END PGP SIGNATURE-----