Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The daemon does not respect the actual name of the mserver5 executable #6327

Closed
monetdb-team opened this issue Nov 30, 2020 · 0 comments
Closed
Labels
bug Something isn't working normal Server Tools

Comments

@monetdb-team
Copy link

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:

  1. configure --program_prefix=testprefix_
  2. make install
  3. testprefix_monetdbd create /path/to/dbfarm
  4. testprefix_monetdbd start /path/to/dbfarm
  5. testprefix_monetdb create testdb
  6. 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
[...]

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:

Change slightly the way the path to the executable for mserver5 is found

This fixes bug #6327
@monetdb-team monetdb-team added bug Something isn't working normal Server Tools labels Nov 30, 2020
@sjoerdmullender sjoerdmullender added this to the Ancient Release milestone Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working normal Server Tools
Projects
None yet
Development

No branches or pull requests

2 participants