On 07-04-2010 15:57:09 +0100, Dave Howorth wrote:
Hi, noob question ...
I've just installed MonetDB on an Ubuntu Karmic machine. I've got merovingian running:
monetdb 7379 1 0 Apr06 ? 00:00:01 /usr/bin/merovingian
but I see permission denied when I try to use monetdb on the same machine:
$ monetdb status permission denied
As an experiment, I have added my user to the monetdb group and I have changed the permissions so that the monetdb group can access the socket:
root:/var/MonetDB5/dbfarm# ls -la total 12 drwxrwx--- 2 monetdb monetdb 4096 Apr 6 17:13 . drwxrwx--- 3 monetdb monetdb 4096 Apr 6 17:13 .. srwxrwx--- 1 monetdb monetdb 0 Apr 6 17:13 .merovingian_control -rw------- 1 monetdb nogroup 0 Apr 6 17:13 .merovingian_lock -rw------- 1 monetdb nogroup 48 Apr 6 17:13 .merovingian_pass
But I still see permission denied. What's the correct way to set the system up? A pointer to whichever piece of the docs that I've missed would be ideal :)
You must be the owner, e.g. the "administrator" to perform operations using monetdb, or you must enable socket-based control which requires a passphrase to be setup. Check the mero_controlport option in the merovingian manpage[1]. [1] http://homepages.cwi.nl/~fabian/MonetDB/Man%20Pages.html/merovingian.html