Guys! Im desperate... the DB is not starting anymore... Can someone help me? Im starting the DB but I receive the following msg: starting database 'sb_traf'... FAILED start: starting 'sb_traf' failed: database 'sb_traf' appears to shut itself down after starting, check monetdbd's logfile for possible hints This is part of the log... maybe somebody has a clue. 2016-07-02 22:15:30 MSG merovingian[28268]: proxying client static.10-10-10-225.clients.your-server.de:47462 for database 'sb_traf' to mapi:monetdb:///opt/monetdb/CUSTOMERnew/sb_traf/.mapi.sock?database=sb_traf 2016-07-02 22:15:30 MSG merovingian[28268]: target connection is on local UNIX domain socket, passing on filedescriptor instead of proxying 2016-07-02 22:15:30 MSG merovingian[28268]: proxying client static.10-10-10-225.clients.your-server.de:47463 for database 'sb_traf' to mapi:monetdb:///opt/monetdb/CUSTOMERnew/sb_traf/.mapi.sock?database=sb_traf 2016-07-02 22:15:30 MSG merovingian[28268]: target connection is on local UNIX domain socket, passing on filedescriptor instead of proxying 2016-07-02 22:20:29 MSG merovingian[28268]: proxying client static.10-10-10-225.clients.your-server.de:47726 for database 'sb_traf' to mapi:monetdb:///opt/monetdb/CUSTOMERnew/sb_traf/.mapi.sock?database=sb_traf 2016-07-02 22:20:29 MSG merovingian[28268]: target connection is on local UNIX domain socket, passing on filedescriptor instead of proxying 2016-07-02 22:20:29 MSG merovingian[28268]: database 'sb_traf' (28351) was killed by signal SIGSEGV 2016-07-02 22:20:36 MSG merovingian[28268]: starting database 'sb_traf', up min/avg/max: 11s/1d/3w, crash average: 1.00 0.40 0.50 (69-25=44) 2016-07-02 22:20:36 MSG sb_traf[29578]: arguments: /usr/bin/mserver5 --dbpath=/opt/monetdb/CUSTOMERnew/sb_traf --set merovingian_uri=mapi:monetdb://CUSTOMER-monetbd:54321/sb_traf --set mapi_open=false --set mapi_port=0 --set mapi_usock=/opt/monetdb/CUSTOMERnew/sb_traf/.mapi.sock --set monet_vault_key=/opt/monetdb/CUSTOMERnew/sb_traf/.vaultkey --set gdk_nr_threads=8 --set max_clients=64 --set sql_optimizer=default_pipe --set monet_daemon=yes 2016-07-02 22:20:36 MSG sb_traf[29578]: # MonetDB 5 server v11.21.19 "Jul2015-SP4" 2016-07-02 22:20:36 MSG sb_traf[29578]: # Serving database 'sb_traf', using 8 threads 2016-07-02 22:20:36 MSG sb_traf[29578]: # Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs and 128bit integers dynamically linked 2016-07-02 22:20:36 MSG sb_traf[29578]: # Found 20.000 GiB available main-memory. 2016-07-02 22:20:36 MSG sb_traf[29578]: # Copyright (c) 1993-July 2008 CWI. 2016-07-02 22:20:36 MSG sb_traf[29578]: # Copyright (c) August 2008-2015 MonetDB B.V., all rights reserved 2016-07-02 22:20:36 MSG sb_traf[29578]: # Visit http://www.monetdb.org/ for further information 2016-07-02 22:20:36 MSG sb_traf[29578]: # Listening for UNIX domain connection requests on mapi:monetdb:///opt/monetdb/CUSTOMERnew/sb_traf/.mapi.sock 2016-07-02 22:20:36 MSG sb_traf[29578]: # Start processing logs sql/sql_logs version 52200 2016-07-02 22:20:36 MSG sb_traf[29578]: # Start reading the write-ahead log 'sql_logs/sql/log.81841' 2016-07-02 22:20:36 MSG sb_traf[29578]: # Finished reading the write-ahead log 'sql_logs/sql/log.81841' 2016-07-02 22:20:36 MSG sb_traf[29578]: # Finished processing logs sql/sql_logs 2016-07-02 22:20:36 MSG merovingian[28268]: database 'sb_traf' (29578) was killed by signal SIGSEGV 2016-07-02 22:20:36 ERR merovingian[28268]: client error: database 'sb_traf' appears to shut itself down after starting, check monetdbd's logfile for possible hints 2016-07-02 22:20:37 MSG merovingian[28268]: starting database 'sb_traf', up min/avg/max: 11s/1d/3w, crash average: 1.00 0.50 0.50 (70-25=45) 2016-07-02 22:20:37 MSG sb_traf[29582]: arguments: /usr/bin/mserver5 --dbpath=/opt/monetdb/CUSTOMERnew/sb_traf --set merovingian_uri=mapi:monetdb://CUSTOMER-monetbd:54321/sb_traf --set mapi_open=false --set mapi_port=0 --set mapi_usock=/opt/monetdb/CUSTOMERnew/sb_traf/.mapi.sock --set monet_vault_key=/opt/monetdb/CUSTOMERnew/sb_traf/.vaultkey --set gdk_nr_threads=8 --set max_clients=64 --set sql_optimizer=default_pipe --set monet_daemon=yes 2016-07-02 22:20:37 MSG sb_traf[29582]: # MonetDB 5 server v11.21.19 "Jul2015-SP4" 2016-07-02 22:20:37 MSG sb_traf[29582]: # Serving database 'sb_traf', using 8 threads 2016-07-02 22:20:37 MSG sb_traf[29582]: # Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs and 128bit integers dynamically linked 2016-07-02 22:20:37 MSG sb_traf[29582]: # Found 20.000 GiB available main-memory. 2016-07-02 22:20:37 MSG sb_traf[29582]: # Copyright (c) 1993-July 2008 CWI. 2016-07-02 22:20:37 MSG sb_traf[29582]: # Copyright (c) August 2008-2015 MonetDB B.V., all rights reserved 2016-07-02 22:20:37 MSG sb_traf[29582]: # Visit http://www.monetdb.org/ for further information 2016-07-02 22:20:37 MSG sb_traf[29582]: # Listening for UNIX domain connection requests on mapi:monetdb:///opt/monetdb/CUSTOMERnew/sb_traf/.mapi.sock 2016-07-02 22:20:37 MSG sb_traf[29582]: # Start processing logs sql/sql_logs version 52200 2016-07-02 22:20:37 MSG sb_traf[29582]: # Start reading the write-ahead log 'sql_logs/sql/log.81841' 2016-07-02 22:20:37 MSG sb_traf[29582]: # Finished reading the write-ahead log 'sql_logs/sql/log.81841' 2016-07-02 22:20:37 MSG sb_traf[29582]: # Finished processing logs sql/sql_logs 2016-07-02 22:20:37 MSG merovingian[28268]: database 'sb_traf' (29582) was killed by signal SIGSEGV 2016-07-02 22:20:37 ERR merovingian[28268]: client error: database 'sb_traf' appears to shut itself down after starting, check monetdbd's logfile for possible hints
Hi, On Linux you might try to start the server with the following command gdb --args /usr/bin/mserver5 --dbpath=/opt/monetdb/CUSTOMERnew/sb_traf --set merovingian_uri=mapi:monetdb://CUSTOMER-monetbd:54321/sb_traf --set mapi_open=false --set mapi_port=0 --set mapi_usock=/opt/monetdb/CUSTOMERnew/sb_traf/.mapi.sock --set monet_vault_key=/opt/monetdb/CUSTOMERnew/sb_traf/.vaultkey --set gdk_nr_threads=8 --set max_clients=64 --set sql_optimizer=default_pipe --set monet_daemon=yes --dbinit="sql.start();" This at least could give you a stack trace where the segfault occurs, which helps in determining the cause. Furthermore, you might check your free diskspace and the size of the sql_logs directory in the dbfarm/<database> regards, Martin
Hi Martin Im not been able to start it with your code... Regarding the space there is a lot of free space.. This is what I get: gdb --args /usr/bin/mserver5 --dbpath=/opt/monetdb/CUSTOMERnew/sb_traf --set merovingian_uri=mapi:monetdb://CUSTOMER-monetbd:54321/sb_traf --set mapi_open=false --set mapi_port=0 --set mapi_usock=/opt/monetdb/CUSTOMERnew/sb_traf/.mapi.sock --set monet_vault_key=/opt/monetdb/CUSTOMERnew/sb_traf/.vaultkey --set gdk_nr_threads=8 --set max_clients=64 --set sql_optimizer=default_pipe --set monet_daemon=yes --dbinit="sql.start();" GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-80.el7 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/bin/mserver5...Reading symbols from
/usr/bin/mserver5...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Missing separate debuginfos, use: debuginfo-install
MonetDB5-server-11.21.19-20160405.el7.centos.x86_64
*Ariel Abadi*
Direct: +54 11 5279.2054
Mobile:+54 9 11 6050.0101
Email: aabadi@starconnecting.com
Web: www.starconnecting.com
On Sat, Jul 2, 2016 at 8:20 PM, Martin Kersten
Hi, On Linux you might try to start the server with the following command
gdb --args /usr/bin/mserver5 --dbpath=/opt/monetdb/CUSTOMERnew/sb_traf --set merovingian_uri=mapi:monetdb://CUSTOMER-monetbd:54321/sb_traf --set mapi_open=false --set mapi_port=0 --set mapi_usock=/opt/monetdb/CUSTOMERnew/sb_traf/.mapi.sock --set monet_vault_key=/opt/monetdb/CUSTOMERnew/sb_traf/.vaultkey --set gdk_nr_threads=8 --set max_clients=64 --set sql_optimizer=default_pipe --set monet_daemon=yes --dbinit="sql.start();"
This at least could give you a stack trace where the segfault occurs, which helps in determining the cause.
Furthermore, you might check your free diskspace and the size of the sql_logs directory in the dbfarm/<database>
regards, Martin _______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
Indeed, for that you have to re-compile with --enable-debug On 03/07/16 02:02, Ariel Abadi wrote:
Hi Martin Im not been able to start it with your code...
Regarding the space there is a lot of free space..
This is what I get: gdb --args /usr/bin/mserver5 --dbpath=/opt/monetdb/CUSTOMERnew/sb_traf --set merovingian_uri=mapi:monetdb://CUSTOMER-monetbd:54321/sb_traf --set mapi_open=false --set mapi_port=0 --set mapi_usock=/opt/monetdb/CUSTOMERnew/sb_traf/.mapi.sock --set monet_vault_key=/opt/monetdb/CUSTOMERnew/sb_traf/.vaultkey --set gdk_nr_threads=8 --set max_clients=64 --set sql_optimizer=default_pipe --set monet_daemon=yes --dbinit="sql.start();" GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-80.el7 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /usr/bin/mserver5...Reading symbols from /usr/bin/mserver5...(no debugging symbols found)...done. (no debugging symbols found)...done. Missing separate debuginfos, use: debuginfo-install MonetDB5-server-11.21.19-20160405.el7.centos.x86_64
*/ /* */ /* */Ariel Abadi/* Direct: +54 11 5279.2054 Mobile:+54 9 11 6050.0101 Email: aabadi@starconnecting.com mailto:aabadi@starconnecting.com Web: www.starconnecting.com http://www.starconnecting.com
On Sat, Jul 2, 2016 at 8:20 PM, Martin Kersten
mailto:martin.kersten@cwi.nl> wrote: Hi, On Linux you might try to start the server with the following command
gdb --args /usr/bin/mserver5 --dbpath=/opt/monetdb/CUSTOMERnew/sb_traf --set merovingian_uri=mapi:monetdb://CUSTOMER-monetbd:54321/sb_traf --set mapi_open=false --set mapi_port=0 --set mapi_usock=/opt/monetdb/CUSTOMERnew/sb_traf/.mapi.sock --set monet_vault_key=/opt/monetdb/CUSTOMERnew/sb_traf/.vaultkey --set gdk_nr_threads=8 --set max_clients=64 --set sql_optimizer=default_pipe --set monet_daemon=yes --dbinit="sql.start();"
This at least could give you a stack trace where the segfault occurs, which helps in determining the cause.
Furthermore, you might check your free diskspace and the size of the sql_logs directory in the dbfarm/<database>
regards, Martin _______________________________________________ users-list mailing list users-list@monetdb.org mailto:users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
_______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
I get this error quite often and in most cases, setting the environment
variable LC_LANG and LC_ALL has solved this problem. Please try this, but
I'm not sure about the exact case of you.
http://stackoverflow.com/questions/26001468/starting-database-failed-in-mone...
Thanks & Regards,
Vijayakrishna.P.
Mobile : (+91) 9500402305.
On Sun, Jul 3, 2016 at 5:58 AM, Martin Kersten
Indeed, for that you have to re-compile with --enable-debug
On 03/07/16 02:02, Ariel Abadi wrote:
Hi Martin Im not been able to start it with your code...
Regarding the space there is a lot of free space..
This is what I get: gdb --args /usr/bin/mserver5 --dbpath=/opt/monetdb/CUSTOMERnew/sb_traf --set merovingian_uri=mapi:monetdb://CUSTOMER-monetbd:54321/sb_traf --set mapi_open=false --set mapi_port=0 --set mapi_usock=/opt/monetdb/CUSTOMERnew/sb_traf/.mapi.sock --set monet_vault_key=/opt/monetdb/CUSTOMERnew/sb_traf/.vaultkey --set gdk_nr_threads=8 --set max_clients=64 --set sql_optimizer=default_pipe --set monet_daemon=yes --dbinit="sql.start();" GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-80.el7 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /usr/bin/mserver5...Reading symbols from /usr/bin/mserver5...(no debugging symbols found)...done. (no debugging symbols found)...done. Missing separate debuginfos, use: debuginfo-install MonetDB5-server-11.21.19-20160405.el7.centos.x86_64
*/ /* */ /* */Ariel Abadi/* Direct: +54 11 5279.2054 Mobile:+54 9 11 6050.0101 Email: aabadi@starconnecting.com mailto:aabadi@starconnecting.com Web: www.starconnecting.com http://www.starconnecting.com
On Sat, Jul 2, 2016 at 8:20 PM, Martin Kersten
mailto:martin.kersten@cwi.nl> wrote: Hi, On Linux you might try to start the server with the following command
gdb --args /usr/bin/mserver5 --dbpath=/opt/monetdb/CUSTOMERnew/sb_traf --set merovingian_uri=mapi:monetdb://CUSTOMER-monetbd:54321/sb_traf --set mapi_open=false --set mapi_port=0 --set mapi_usock=/opt/monetdb/CUSTOMERnew/sb_traf/.mapi.sock --set monet_vault_key=/opt/monetdb/CUSTOMERnew/sb_traf/.vaultkey --set gdk_nr_threads=8 --set max_clients=64 --set sql_optimizer=default_pipe --set monet_daemon=yes --dbinit="sql.start();"
This at least could give you a stack trace where the segfault occurs, which helps in determining the cause.
Furthermore, you might check your free diskspace and the size of the sql_logs directory in the dbfarm/<database>
regards, Martin _______________________________________________ users-list mailing list users-list@monetdb.org mailto:users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
_______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
_______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
Martin, Vijay
Thanks for your help!!
Martin,
What you proposed to me, exceeded my knowledge, but thanks a lot.
Vijay,
I tried what you have sent, and didnt work, but Thks either!!!
I have created a new DB and imported the data from a back. My concern is
that I dont know what had happend, so it might be possible this could
happend in the future... that day I will try to kill myself :D
Thks a lot!
*Ariel Abadi*
Direct: +54 11 5279.2054
Mobile:+54 9 11 6050.0101
Email: aabadi@starconnecting.com
Web: www.starconnecting.com
On Mon, Jul 4, 2016 at 3:01 AM, Vijay Krishna
I get this error quite often and in most cases, setting the environment variable LC_LANG and LC_ALL has solved this problem. Please try this, but I'm not sure about the exact case of you.
http://stackoverflow.com/questions/26001468/starting-database-failed-in-mone...
Thanks & Regards,
Vijayakrishna.P. Mobile : (+91) 9500402305.
On Sun, Jul 3, 2016 at 5:58 AM, Martin Kersten
wrote: Indeed, for that you have to re-compile with --enable-debug
On 03/07/16 02:02, Ariel Abadi wrote:
Hi Martin Im not been able to start it with your code...
Regarding the space there is a lot of free space..
This is what I get: gdb --args /usr/bin/mserver5 --dbpath=/opt/monetdb/CUSTOMERnew/sb_traf --set merovingian_uri=mapi:monetdb://CUSTOMER-monetbd:54321/sb_traf --set mapi_open=false --set mapi_port=0 --set mapi_usock=/opt/monetdb/CUSTOMERnew/sb_traf/.mapi.sock --set monet_vault_key=/opt/monetdb/CUSTOMERnew/sb_traf/.vaultkey --set gdk_nr_threads=8 --set max_clients=64 --set sql_optimizer=default_pipe --set monet_daemon=yes --dbinit="sql.start();" GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-80.el7 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /usr/bin/mserver5...Reading symbols from /usr/bin/mserver5...(no debugging symbols found)...done. (no debugging symbols found)...done. Missing separate debuginfos, use: debuginfo-install MonetDB5-server-11.21.19-20160405.el7.centos.x86_64
*/ /* */ /* */Ariel Abadi/* Direct: +54 11 5279.2054 Mobile:+54 9 11 6050.0101 Email: aabadi@starconnecting.com mailto:aabadi@starconnecting.com Web: www.starconnecting.com http://www.starconnecting.com
On Sat, Jul 2, 2016 at 8:20 PM, Martin Kersten
mailto:martin.kersten@cwi.nl> wrote: Hi, On Linux you might try to start the server with the following command
gdb --args /usr/bin/mserver5 --dbpath=/opt/monetdb/CUSTOMERnew/sb_traf --set merovingian_uri=mapi:monetdb://CUSTOMER-monetbd:54321/sb_traf --set mapi_open=false --set mapi_port=0 --set mapi_usock=/opt/monetdb/CUSTOMERnew/sb_traf/.mapi.sock --set monet_vault_key=/opt/monetdb/CUSTOMERnew/sb_traf/.vaultkey --set gdk_nr_threads=8 --set max_clients=64 --set sql_optimizer=default_pipe --set monet_daemon=yes --dbinit="sql.start();"
This at least could give you a stack trace where the segfault occurs, which helps in determining the cause.
Furthermore, you might check your free diskspace and the size of the sql_logs directory in the dbfarm/<database>
regards, Martin _______________________________________________ users-list mailing list users-list@monetdb.org mailto:users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
_______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
_______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
_______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
participants (4)
-
Ariel Abadi
-
Martin Kersten
-
Martin Kersten
-
Vijay Krishna