【发布时间】:2021-06-30 04:22:11
【问题描述】:
所以我昨天通过自制软件下载了 ArangoDB。文档说使用以下内容来启动服务器:
/usr/local/Cellar/arangodb/<VERSION>/sbin/arangod &
我最终使用了终端上显示的提示
/usr/local/opt/arangodb/sbin/arangod
不知道这是否一定会有所作为。尽管如此,我还是让服务器正常工作。
然后我想设置身份验证。文档没有说明如何停止服务器。由于我不知道怎么做,我只是关闭了终端窗口
然后我跑了
/usr/local/opt/arangodb/sbin/arango-secure-installation
然后这给了我一个错误
FATAL [...] database is locked by process ..: please stop it first and check that the lockfile 'usr/local/var/lib/arangodb3/LOCK' goes away. If you are sure no other arangod process is running, please remove the lockfile '/usr/local/var/lib/arangodb3/LOCK' and try again
我该如何解决这个问题?我让 webgui 运行但关闭并没有什么不同。
另一个堆栈溢出问题说使用以下命令:
brew services stop arangod
brew services start arangod
brew services restart arangod
这些都不起作用?
那么,两个问题:
a) 我该如何解决这个问题
b) 以及将来如何正确终止服务器?
谢谢
【问题讨论】:
标签: database graph-databases arangodb