monetdb:'voc'没有可用的连接

时间:2017-03-22 17:39:08

标签: monetdb

我&我的电脑(mac)正试图遵循monetdb教程(https://www.monetdb.org/Documentation/UserGuide/Tutorial

我们上去运行此mclient -u monetdb -d voc,输入“monetdb”作为密码并返回以下消息:

  

“voc”

没有可用的连接

有谁知道发生了什么?我的意思是毕竟我们只是按照教程。

此外,你知道是否有一个包含所有monetdb错误代码及其含义的数据库+一个解决错误的命题?

edit0 - 添加日志文件 -

2017-03-22 16:17:53 MSG merovingian[29679]: Merovingian 1.7 (Dec2016-SP2) starting
2017-03-22 16:17:53 MSG merovingian[29679]: monitoring dbfarm /Volumes/Transcend/monetdb/
2017-03-22 16:17:53 MSG merovingian[29679]: accepting connections on TCP socket localhost:50000
2017-03-22 16:17:53 MSG merovingian[29679]: accepting connections on UNIX domain socket /tmp/.s.monetdb.50000
2017-03-22 16:17:53 MSG discovery[29679]: listening for UDP messages on localhost:50000
2017-03-22 16:17:53 MSG control[29679]: accepting connections on UNIX domain socket /tmp/.s.merovingian.50000
2017-03-22 16:20:50 MSG control[29679]: (local): created database 'voc'
2017-03-22 16:21:22 MSG control[29679]: (local): served status list
2017-03-22 16:21:22 MSG control[29679]: (local): released database 'voc'
2017-03-22 16:23:19 MSG merovingian[29679]: starting database 'voc', up min/avg/max: 0s/0s/0s, crash average: 0.00 0.00 0.00 (0-0=0)
2017-03-22 16:23:20 MSG voc[29783]: arguments: /usr/local/monetdb/bin/mserver5 --dbpath=/Volumes/Transcend/monetdb/voc --set merovingian_uri=mapi:monetdb://macbook-pro-de-teva-1.home:50000/voc --set mapi_open=false --set mapi_port=0 --set mapi_usock=/Volumes/Transcend/monetdb/voc/.mapi.sock --set monet_vault_key=/Volumes/Transcend/monetdb/voc/.vaultkey --set gdk_nr_threads=8 --set max_clients=64 --set sql_optimizer=default_pipe --set monet_daemon=yes
2017-03-22 16:23:20 MSG merovingian[29679]: sending process 29783 (database 'voc') the TERM signal
2017-03-22 16:23:21 MSG merovingian[29679]: database 'voc' has shut down
2017-03-22 16:23:21 ERR control[29679]: !monetdbd: an internal error has occurred 'database 'voc' started up, but failed to open up a communication channel'
2017-03-22 16:23:21 ERR merovingian[29679]: client error: database 'voc' started up, but failed to open up a communication channel
2017-03-22 21:43:40 MSG merovingian[37128]: Merovingian 1.7 (Dec2016-SP2) starting
2017-03-22 21:43:40 MSG merovingian[37128]: monitoring dbfarm /Volumes/Transcend/monetdb/
2017-03-22 21:51:06 MSG merovingian[37290]: Merovingian 1.7 (Dec2016-SP2) starting
2017-03-22 21:51:06 MSG merovingian[37290]: monitoring dbfarm /Volumes/Transcend//monetdb/
2017-03-22 21:51:06 ERR merovingian[37290]: binding to stream socket port 50000 failed: Address already in use
2017-03-22 21:51:06 ERR merovingian[37290]: fatal startup condition encountered, aborting startup
2017-03-23 10:52:34 MSG merovingian[1950]: Merovingian 1.7 (Dec2016-SP2) starting
2017-03-23 10:52:34 MSG merovingian[1950]: monitoring dbfarm /Volumes/Transcend/monetdb/
2017-03-23 10:52:34 MSG merovingian[1950]: accepting connections on TCP socket localhost:50000
2017-03-23 10:52:34 MSG merovingian[1950]: accepting connections on UNIX domain socket /tmp/.s.monetdb.50000
2017-03-23 10:52:34 MSG discovery[1950]: listening for UDP messages on localhost:50000
2017-03-23 10:52:34 MSG control[1950]: accepting connections on UNIX domain socket /tmp/.s.merovingian.50000
2017-03-23 10:53:17 MSG control[1950]: (local): served status list
2017-03-23 10:53:37 MSG merovingian[1950]: starting database 'voc', up min/avg/max: 2s/8h/17h, crash average: 0.00 0.00 0.00 (2-2=0)
2017-03-23 10:53:37 MSG merovingian[1950]: sending process 1975 (database 'voc') the TERM signal
2017-03-23 10:53:37 MSG voc[1975]: arguments: /usr/local/monetdb/bin/mserver5 --dbpath=/Volumes/Transcend/monetdb/voc --set merovingian_uri=mapi:monetdb://MacBook-Pro-de-teva.local:50000/voc --set mapi_open=false --set mapi_port=0 --set mapi_usock=/Volumes/Transcend/monetdb/voc/.mapi.sock --set monet_vault_key=/Volumes/Transcend/monetdb/voc/.vaultkey --set gdk_nr_threads=8 --set max_clients=64 --set sql_optimizer=default_pipe --set monet_daemon=yes
2017-03-23 10:53:38 MSG merovingian[1950]: database 'voc' has shut down
2017-03-23 10:53:38 ERR control[1950]: !monetdbd: an internal error has occurred 'database 'voc' started up, but failed to open up a communication channel'

2017-03-23 10:53:38 ERR merovingian [1950]:客户端错误:数据库'voc'启动,但无法打开通讯通道

edit1 ---添加mserver5响应---

从指向SD卡上的农场的终端:

MacBook-Pro****:monetdb Teva$ mserver5
# MonetDB 5 server v11.25.9 "Dec2016-SP2"
# Serving database 'demo', using 8 threads
# Compiled for x86_64-apple-darwin16/64bit with 128bit integers
# Found 16.000 GiB available main-memory.
# Copyright (c) 1993-July 2008 CWI.
# Copyright (c) August 2008-2017 MonetDB B.V., all rights reserved
# Visit http://www.monetdb.org/ for further information
!IOException:mal_mapi.listen:operation failed: bind to stream socket port 50000 failed: Address already in use

从指向坐在/ mydocuments上的农场的终端

MacBook-Pro-***:Documents Teva$ sudo mserver5
!FATAL: GDKlockHome: Database lock '.gdk_lock' denied

1 个答案:

答案 0 :(得分:0)

  

!IOException:mal_mapi.listen:操作失败:绑定到流套接字   端口50000失败:地址已在使用中

似乎有什么东西挡住了monetdb所需的端口

终止该过程并再试一次