If you configure from source using the --program_suffix or --program_prefix flags, monetdbd cannot start any database, because it is forking with the monetdbd executable instead of the mserver5 executable.
Reproducible: Always
Steps to Reproduce:
configure --program_prefix=testprefix_
make install
testprefix_monetdbd create /path/to/dbfarm
testprefix_monetdbd start /path/to/dbfarm
testprefix_monetdb create testdb
testprefix_monetdb start testdb
Actual Results:
starting database 'testdb'... FAILED
start: starting 'testdb' failed: database 'testdb' appears to shut itself down after starting, check monetdbd's logfile (merovingian.log) for possible hints
$ less /path/to/dbfarm/merovignian.log
[...]
2017-05-30 11:33:10 MSG merovingian[16423]: starting database 'testdb', up min/avg/max: 0s/0s/0s, crash average: 0.00 0.00 0.00 (0-0=0)
2017-05-30 11:33:11 MSG testdb[16559]: arguments: /path/to/executable/testprefix_monetdbd --dbpath=/tmp/foo/testdb --set merovingian_uri=mapi:monetdb://zarquon.zarniwoop.org:50000/testdb --set mapi_open=false --set mapi_port=0 --set mapi_usock=/tmp/foo/testdb/.mapi.sock --set monet_vault_key=/tmp/foo/testdb/.vaultkey --set gdk_nr_threads=4 --set max_clients=64 --set sql_optimizer=default_pipe --set monet_daemon=yes
2017-05-30 11:33:11 MSG testdb[16559]: usage: monetdbd [ command [ command-options ] ]
2017-05-30 11:33:11 MSG testdb[16559]: where command is one of:
2017-05-30 11:33:11 MSG testdb[16559]: create, start, stop, get, set, version or help
2017-05-30 11:33:11 MSG testdb[16559]: use the help command to get help for a particular command
2017-05-30 11:33:11 MSG testdb[16559]: The dbfarm to operate on must always be given to
2017-05-30 11:33:11 MSG testdb[16559]: monetdbd explicitly.
2017-05-30 11:33:11 ERR testdb[16559]: monetdbd: unknown command: --dbpath=/tmp/foo/testdb
2017-05-30 11:33:13 MSG merovingian[16423]: database 'testdb' (16559) has exited with exit status 1
[...]
Date: 2017-05-30 12:25:31 +0200
From: @kutsurak
To: Merovingian devs <>
Version: 11.25.21 (Dec2016-SP4)
Last updated: 2017-07-17 16:07:46 +0200
Comment 25355
Date: 2017-05-30 12:25:31 +0200
From: @kutsurak
User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0
Build Identifier:
If you configure from source using the --program_suffix or --program_prefix flags, monetdbd cannot start any database, because it is forking with the monetdbd executable instead of the mserver5 executable.
Reproducible: Always
Steps to Reproduce:
Actual Results:
starting database 'testdb'... FAILED
start: starting 'testdb' failed: database 'testdb' appears to shut itself down after starting, check monetdbd's logfile (merovingian.log) for possible hints
$ less /path/to/dbfarm/merovignian.log
[...]
2017-05-30 11:33:10 MSG merovingian[16423]: starting database 'testdb', up min/avg/max: 0s/0s/0s, crash average: 0.00 0.00 0.00 (0-0=0)
2017-05-30 11:33:11 MSG testdb[16559]: arguments: /path/to/executable/testprefix_monetdbd --dbpath=/tmp/foo/testdb --set merovingian_uri=mapi:monetdb://zarquon.zarniwoop.org:50000/testdb --set mapi_open=false --set mapi_port=0 --set mapi_usock=/tmp/foo/testdb/.mapi.sock --set monet_vault_key=/tmp/foo/testdb/.vaultkey --set gdk_nr_threads=4 --set max_clients=64 --set sql_optimizer=default_pipe --set monet_daemon=yes
2017-05-30 11:33:11 MSG testdb[16559]: usage: monetdbd [ command [ command-options ] ]
2017-05-30 11:33:11 MSG testdb[16559]: where command is one of:
2017-05-30 11:33:11 MSG testdb[16559]: create, start, stop, get, set, version or help
2017-05-30 11:33:11 MSG testdb[16559]: use the help command to get help for a particular command
2017-05-30 11:33:11 MSG testdb[16559]: The dbfarm to operate on must always be given to
2017-05-30 11:33:11 MSG testdb[16559]: monetdbd explicitly.
2017-05-30 11:33:11 ERR testdb[16559]: monetdbd: unknown command: --dbpath=/tmp/foo/testdb
2017-05-30 11:33:13 MSG merovingian[16423]: database 'testdb' (16559) has exited with exit status 1
[...]
Expected Results:
The database should start.
Comment 25356
Date: 2017-05-30 13:28:23 +0200
From: MonetDB Mercurial Repository <>
Changeset 24dd2ff6c348 made by Panagiotis Koutsourakis kutsurak@monetdbsolutions.com in the MonetDB repo, refers to this bug.
For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=24dd2ff6c348
Changeset description:
The text was updated successfully, but these errors were encountered: