You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried the latest MonetDB (v11.35.9) with embedded Python 2/3 on Linux/Ubuntu but after starting the database crashes. Thanks for your help.
Reproducible: Always
Steps to Reproduce:
$ sudo apt install monetdb5-sql monetdb-client monetdb-python2 monetdb-python3
$ apt list | grep monetdb
...
libmonetdb-client-odbc/bionic,now 11.35.9 amd64 [installed,auto-removable]
libmonetdb-client12/bionic,now 11.35.9 amd64 [installed,automatic]
libmonetdb-stream13/bionic,now 11.35.9 amd64 [installed,automatic]
libmonetdb19/bionic,now 11.35.9 amd64 [installed,automatic]
monetdb-client/bionic,now 11.35.9 amd64 [installed]
monetdb-python2/bionic,now 11.35.9 amd64 [installed]
monetdb-python3/bionic,now 11.35.9 amd64 [installed]
monetdb5-server/bionic,now 11.35.9 amd64 [installed,automatic]
monetdb5-sql/bionic,now 11.35.9 amd64 [installed]
...
$ monetdbd create mydbfarm
$ monetdbd start mydbfarm
$ monetdb create voc
$ monetdb release voc
$ monetdb set embedpy3=true voc or embedpy=true [embedpy3=false]
$ monetdb get all
name prop source value
voc name - voc
voc type default database
voc shared default yes
voc nthreads default 8
voc optpipe default default_pipe
voc readonly default no
voc embedr default no
voc embedpy default no
voc embedpy3 local yes
voc embedc default no
voc ipv6 default no
voc listenaddr default
voc nclients default 64
voc dbextra default
voc memmaxsize default
voc vmmaxsize default
$ monetdb start voc
Actual Results:
starting database 'voc'... FAILED
start: starting 'voc' failed: database 'voc' appears to shut itself down after starting, check monetdbd's logfile (merovingian.log) for possible hints
2020-02-17 16:10:30 MSG merovingian[918]: starting database 'voc', up min/avg/max: 14s/14s/14s, crash average: 0.00 0.00 0.00 (1-1=0)
2020-02-17 16:10:31 MSG voc[3113]: arguments: /usr/bin/mserver5 --dbpath=/var/monetdb5/dbfarm/voc --set merovingian_uri=mapi:monetdb://silver:50000/voc --set mapi_open=false --set mapi_ipv6=false --set mapi_port=0 --set mapi_usock=/var/monetdb5/dbfarm/voc/.mapi.sock --set monet_vault_key=/var/monetdb5/dbfarm/voc/.vaultkey --set gdk_nr_threads=8 --set max_clients=64 --set sql_optimizer=default_pipe --set embedded_py=3
2020-02-17 16:10:31 MSG voc[3113]: MonetDB 5 server v11.35.9 (Nov2019-SP1)
2020-02-17 16:10:31 MSG voc[3113]: Serving database 'voc', using 8 threads
2020-02-17 16:10:31 MSG voc[3113]: Compiled for x86_64-pc-linux-gnu/64bit with 128bit integers
2020-02-17 16:10:31 MSG voc[3113]: Found 15.120 GiB available main-memory of which we use 12.323 GiB
2020-02-17 16:10:31 MSG voc[3113]: Copyright (c) 1993 - July 2008 CWI.
2020-02-17 16:10:31 MSG voc[3113]: Copyright (c) August 2008 - 2019 MonetDB B.V., all rights reserved
2020-02-17 16:10:31 MSG voc[3113]: Visit https://www.monetdb.org/ for further information
2020-02-17 16:10:31 MSG voc[3113]: Listening for UNIX domain connection requests on mapi:monetdb:///var/monetdb5/dbfarm/voc/.mapi.sock
2020-02-17 16:10:31 MSG voc[3113]: MonetDB/SQL module loaded
2020-02-17 16:10:31 ERR voc[3113]: main thread:!ERROR:MALException:pyapi.eval:PY000!Failed to initialize embedded python
2020-02-17 16:10:31 ERR voc[3113]: !MALException:pyapi.eval:PY000!Failed to initialize embedded python
2020-02-17 16:10:33 MSG merovingian[918]: database 'voc' (3113) has exited with exit status 0
2020-02-17 16:10:33 ERR control[918]: (local): failed to fork mserver: database 'voc' appears to shut itself down after starting, check monetdbd's logfile (/var/log/monetdb/merovingian.log) for possible hints
2020-02-17 16:13:16 MSG merovingian[918]: caught SIGTERM, starting shutdown sequence
2020-02-17 16:13:16 MSG control[918]: control channel closed
2020-02-17 16:13:16 MSG merovingian[918]: Merovingian 11.35.9 stopped
Do you have python3-numpy installed?
It's a required package for embedded Python, so if it isn't installed it's a problem with the package dependencies.
In the mean time, you can install it and be on your way.
Date: 2020-02-17 17:03:21 +0100
From: Arnold Kuzniar <<arnold.kuzniar>>
To: buildtools devs <>
Version: 11.35.9 (Nov2019-SP1)
CC: @gijzelaerr, @PedroTadim
Last updated: 2020-06-03 16:58:54 +0200
Comment 27559
Date: 2020-02-17 17:03:21 +0100
From: Arnold Kuzniar <<arnold.kuzniar>>
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0
Build Identifier:
I've tried the latest MonetDB (v11.35.9) with embedded Python 2/3 on Linux/Ubuntu but after starting the database crashes. Thanks for your help.
Reproducible: Always
Steps to Reproduce:
$ sudo apt install monetdb5-sql monetdb-client monetdb-python2 monetdb-python3
$ apt list | grep monetdb
...
libmonetdb-client-odbc/bionic,now 11.35.9 amd64 [installed,auto-removable]
libmonetdb-client12/bionic,now 11.35.9 amd64 [installed,automatic]
libmonetdb-stream13/bionic,now 11.35.9 amd64 [installed,automatic]
libmonetdb19/bionic,now 11.35.9 amd64 [installed,automatic]
monetdb-client/bionic,now 11.35.9 amd64 [installed]
monetdb-python2/bionic,now 11.35.9 amd64 [installed]
monetdb-python3/bionic,now 11.35.9 amd64 [installed]
monetdb5-server/bionic,now 11.35.9 amd64 [installed,automatic]
monetdb5-sql/bionic,now 11.35.9 amd64 [installed]
...
$ monetdbd create mydbfarm
$ monetdbd start mydbfarm
$ monetdb create voc
$ monetdb release voc
$ monetdb set embedpy3=true voc or embedpy=true [embedpy3=false]
$ monetdb get all
name prop source value
voc name - voc
voc type default database
voc shared default yes
voc nthreads default 8
voc optpipe default default_pipe
voc readonly default no
voc embedr default no
voc embedpy default no
voc embedpy3 local yes
voc embedc default no
voc ipv6 default no
voc listenaddr default
voc nclients default 64
voc dbextra default
voc memmaxsize default
voc vmmaxsize default
$ monetdb start voc
Actual Results:
starting database 'voc'... FAILED
start: starting 'voc' failed: database 'voc' appears to shut itself down after starting, check monetdbd's logfile (merovingian.log) for possible hints
2020-02-17 16:10:30 MSG merovingian[918]: starting database 'voc', up min/avg/max: 14s/14s/14s, crash average: 0.00 0.00 0.00 (1-1=0)
2020-02-17 16:10:31 MSG voc[3113]: arguments: /usr/bin/mserver5 --dbpath=/var/monetdb5/dbfarm/voc --set merovingian_uri=mapi:monetdb://silver:50000/voc --set mapi_open=false --set mapi_ipv6=false --set mapi_port=0 --set mapi_usock=/var/monetdb5/dbfarm/voc/.mapi.sock --set monet_vault_key=/var/monetdb5/dbfarm/voc/.vaultkey --set gdk_nr_threads=8 --set max_clients=64 --set sql_optimizer=default_pipe --set embedded_py=3
2020-02-17 16:10:31 MSG voc[3113]: MonetDB 5 server v11.35.9 (Nov2019-SP1)
2020-02-17 16:10:31 MSG voc[3113]: Serving database 'voc', using 8 threads
2020-02-17 16:10:31 MSG voc[3113]: Compiled for x86_64-pc-linux-gnu/64bit with 128bit integers
2020-02-17 16:10:31 MSG voc[3113]: Found 15.120 GiB available main-memory of which we use 12.323 GiB
2020-02-17 16:10:31 MSG voc[3113]: Copyright (c) 1993 - July 2008 CWI.
2020-02-17 16:10:31 MSG voc[3113]: Copyright (c) August 2008 - 2019 MonetDB B.V., all rights reserved
2020-02-17 16:10:31 MSG voc[3113]: Visit https://www.monetdb.org/ for further information
2020-02-17 16:10:31 MSG voc[3113]: Listening for UNIX domain connection requests on mapi:monetdb:///var/monetdb5/dbfarm/voc/.mapi.sock
2020-02-17 16:10:31 MSG voc[3113]: MonetDB/SQL module loaded
2020-02-17 16:10:31 ERR voc[3113]: main thread:!ERROR:MALException:pyapi.eval:PY000!Failed to initialize embedded python
2020-02-17 16:10:31 ERR voc[3113]: !MALException:pyapi.eval:PY000!Failed to initialize embedded python
2020-02-17 16:10:33 MSG merovingian[918]: database 'voc' (3113) has exited with exit status 0
2020-02-17 16:10:33 ERR control[918]: (local): failed to fork mserver: database 'voc' appears to shut itself down after starting, check monetdbd's logfile (/var/log/monetdb/merovingian.log) for possible hints
2020-02-17 16:13:16 MSG merovingian[918]: caught SIGTERM, starting shutdown sequence
2020-02-17 16:13:16 MSG control[918]: control channel closed
2020-02-17 16:13:16 MSG merovingian[918]: Merovingian 11.35.9 stopped
Comment 27568
Date: 2020-02-19 08:42:15 +0100
From: @PedroTadim
*** Bug #6826 has been marked as a duplicate of this bug. ***
Comment 27581
Date: 2020-03-02 10:03:07 +0100
From: @sjoerdmullender
Do you have python3-numpy installed?
It's a required package for embedded Python, so if it isn't installed it's a problem with the package dependencies.
In the mean time, you can install it and be on your way.
Comment 27582
Date: 2020-03-02 17:54:19 +0100
From: MonetDB Mercurial Repository <>
Changeset b96cb465c3a9 made by Sjoerd Mullender sjoerd@acm.org in the MonetDB repo, refers to this bug.
For complete details, see https//devmonetdborg/hg/MonetDB?cmd=changeset;node=b96cb465c3a9
Changeset description:
Comment 27656
Date: 2020-04-08 11:41:02 +0200
From: @gijzelaerr
Sorry for the delay in response, but I can confirm that yes this resolves the issue!
thanks.
The text was updated successfully, but these errors were encountered: