简体   繁体   English

"ArangoDB 启动失败"

[英]ArangoDB failed to start

I have installed the lastest version of arangodb 3.1.25.我已经安装了最新版本的 arangodb 3.1.25。

Follow the installation manual , when I start it I get按照安装手册,当我启动它时,我得到

[root@cloudera-manager init.d]# arangod start

2017-07-15T09:40:15Z [19742] INFO ArangoDB 3.1.25 [linux] 64bit, using VPack 0.1.30, ICU 54.1, V8 5.0.71.39, OpenSSL 1.0.1e-fips 11 Feb 2013
2017-07-15T09:40:15Z [19742] INFO using SSL options: SSL_OP_CIPHER_SERVER_PREFERENCE, SSL_OP_TLS_ROLLBACK_BUG
2017-07-15T09:40:15Z [19742] INFO Starting up with role SINGLE
2017-07-15T09:40:15Z [19742] INFO Authentication is turned on
2017-07-15T09:40:15Z [19742] INFO Authentication system only
2017-07-15T09:40:15Z [19742] INFO Authentication for unix sockets is turned on
2017-07-15T09:40:15Z [19742] INFO file-descriptors (nofiles) hard limit is 8192, soft limit is 8192

    FATAL unable to create database directory 'start': Failed to create directory [start] Permission denied

I need to start it on remote so I changed it in the cnfiguration file as follows [console] pretty-print = true我需要在远程启动它,所以我在 cnfiguration 文件中将其更改如下 [console] pretty-print = true

[server]
endpoint = tcp://0.0.0.0:8529
authentication = true
# username = root
# password =

[javascript]
startup-directory = usr/share/arangodb3/js

Running Arangosh I get :运行 Arangosh 我得到:

Pretty printing values.
Connected to ArangoDB 'http+tcp://0.0.0.0:8529' version: 3.1.25 [server], databa                                                   se: '_system', username: 'root'

Type 'tutorial' for a tutorial or 'help' to see common examples

Yet it is not accessible .然而它是不可访问的。 Where could the problem be from ?问题可能出在哪里? any help would be appreciated,Thanks任何帮助将不胜感激,谢谢

You should create a folder \/opt\/arangodb\/start :您应该创建一个文件夹 \/opt\/arangodb\/start :

mkdir -p /opt/arangodb/start
chmod 777 /opt/arangodb/start 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM