[MonetDB-users] Noob question: Why can I only initiate mserver5 as root?
Logged as root mserver5 works perfectly. Yet when I login as a user and call mserver5:
mserver5 --dbinit="include sql;"
I get the error: !FATAL: GDKlockHome: Database lock '.gdk_lock' denied Any help is greatly appreciated
On Tue, Jan 08, 2008 at 09:51:13AM -0500, Claude Monet wrote:
Logged as root mserver5 works perfectly. Yet when I login as a user and call mserver5:
mserver5 --dbinit="include sql;"
I get the error:
!FATAL: GDKlockHome: Database lock '.gdk_lock' denied
Any help is greatly appreciated You need write access in the dbfarm directory for you lock file. You could try to specify your own dbfarm (and sql_logs) directory.
For example mserver5 --dbfarm="/tmp/dbfarm" --set sql_logdir="/tmp/sql_logs" --dbinit="include sql;" Niels
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- Niels Nes, Centre for Mathematics and Computer Science (CWI) Kruislaan 413, 1098 SJ Amsterdam, The Netherlands room C0.02, phone ++31 20 592-4098, fax ++31 20 592-4312 url: http://www.cwi.nl/~niels e-mail: Niels.Nes@cwi.nl
Claude Monet wrote:
Logged as root mserver5 works perfectly. Yet when I login as a user and call mserver5:
mserver5 --dbinit="include sql;"
I get the error:
!FATAL: GDKlockHome: Database lock '.gdk_lock' denied
Any help is greatly appreciated
then there is already an mserver5 running in that directory. only if you are absolutely sure it is not the case, and a recent system crash occurred, then you may remove the .gdk_lock file from the database directory.
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
participants (3)
-
Claude Monet
-
Martin Kersten
-
Niels Nes