
Hi All, I have followed the instructions as simple as they are in the docs, but when I tried to start the monetdb create <path to my dbfarm folder>, it cries that it cannot find conrol port (and I have to suply it with -p along with -h and -P parameters). I am only trying to get things running on localhost - do I need to somehow setup the mserver5 daemon? No mention of that in the tutorial. Thank you very much for help. Best regards, Jiri Nadvornik

Have you started a database first with monetdbd? Check out this page: https://www.monetdb.org/Documentation/monetdbd Hope it helps. Jennie

Hi Jiří, My guesses: 1) network misconfiguration, hostname versus localhost etc. 2) running monetdbd as a regular user and not monetdb or root. Radovan On 02/26/2015 02:59 PM, Jiří Nádvorník wrote:
-- __________________________ Radovan Bičiště ceos data s.r.o. Pouchovská 153 500 03 Hradec Králové Czech Republic mobil CZ: +420 601 563 014 skype: rbiciste

Hi Radovan, Aha! So from the installation instructions last line (adding my user to the monetDB group) I expected to run the server from my user account. That seems not the case? The server must be run from root? That is not *that much* secure.. Jiri N. 2015-02-26 15:05 GMT+01:00 Radovan Bičiště <radovan.biciste@ceosdata.com>:

Hi Jiri, yes you can run the monetdbd daemon and thus the monetdb server (mserver5) as user. It might indeed be a network misconfiguration, e.g., hostname or IP lookup go wrong. Could you please share the EXACT command you run AND error message you get? Thanks! Stefan ----- Original Message -----
-- | Stefan.Manegold@CWI.nl | DB Architectures (DA) | | www.CWI.nl/~manegold/ | Science Park 123 (L321) | | +31 (0)20 592-4212 | 1098 XG Amsterdam (NL) |

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Do not run monetdbd as root. You should really be extremely cautious about running programs as root. On 26/02/15 15:05, Radovan Bičiště wrote:
Yes, that should be the first thing to run. System misconfiguration could well be the cause here, as Radovan says. But do not use root to run the server.
- -- Sjoerd Mullender -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQCVAwUBVO818z7g04AjvIQpAQL2qgP8CBBrtChMG5nvG0ri/71oK4IYu19e8vVE nqHFQZ6cAnYyLbwgzFCYaPUUo7DaaLJpBmd3loOEAFhLxWqFLWak9n3r539zkMwk ubhsMp3tMWYkthNge+8pJmgkyroqSyNc20C9UusRaIJj1sNZM6vCfFmHBHcJU8Hg peFzKlSTn3o= =uDJE -----END PGP SIGNATURE-----

Hi, So my exact command and error message are as follows: caucau@ubuntu:~$ monetdb create /home/caucau/data/monetDB_data monetdb: cannot find a control socket, use -h and/or -p I followed exactly the instructions of installation for Ubuntu/debian. My localhost is normal (127.0.0.1). Thanks for further answers, Jiri Nadvornik

Hi Jiří, Notice the difference between (the deamon) monetdbd and monetdb. First, you should create a dbfarm using monetdbd, e.g., # monetdbd create /home/caucau/data/monetDB_data then start it # monetdbd start /home/caucau/data/monetDB_data then create a database # monetdb create demo && monetdb release demo && monetdb start demo and then connect to it # mclient -d demo Cheers, Kostis On 02/26/2015 05:08 PM, Jiří Nádvorník wrote:
-- Kostis E. Kyzirakos, Ph.D. Centrum voor Wiskunde en Informatica DB Architectures (DA) Office L315 Science Park 123 1098 XG Amsterdam (NL) tel: +31 (20) 592-4034 mobile: +31 (0) 6422-95345 e-mail: kostis@cwi.nl

Hi Kostis, Yes that's it! From my quick reading I have supposed the daemon and application to be controlled by the same command. That little 'd' at the end can be easily overlooked by newcomers. Thank you very much for clarifying this, I will read carefully every single letter from now on :). Cheers, Jiri
participants (6)
-
Jiří Nádvorník
-
Kostis Kyzirakos
-
Radovan Bičiště
-
Sjoerd Mullender
-
Stefan Manegold
-
Ying Zhang