8000 [10928] FATAL [1e987] unable to create database directory 'agent1': failed to create directory 'agent1': Permission denied · Issue #11661 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

[10928] FATAL [1e987] unable to create database directory 'agent1': failed to create directory 'agent1': Permission denied #11661

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

24865p opened this issue May 20, 2020 · 2 comments

Comments

@24865p
Copy link
24865p commented May 20, 2020

My Environment

  • ArangoDB Version: Latest
  • Storage Engine: RocksDB
  • Deployment Mode: Cluster
  • Deployment Strategy: Manual Start | ArangoDB Starter
  • Configuration:
  • Infrastructure:
  • Operating System: centos8
  • Total RAM in your machine:
  • Disks in use: SSD
  • Used Package: rpm

Component, Query & Data

Affected feature:

AQL query (if applicable):

AQL explain (if applicable):

Dataset:

Size of your Dataset on disk:

Replication Factor & Number of Shards (Cluster only):

Steps to reproduce

  1. I wanna create a cluster of arrango node with three machines

Problem:

arangod --server.endpoint tcp://0.0.0.0:5001 --agency.my-address=tcp://127.0.0.1:5001 --server.authentication false --agency.activate true --agency.size 3 --agency.endpoint tcp://127.0.0.1:5001 --agency.supervision true --database.directory agent1 &

[1] 11125
[root@localhost ~]# 2020-05-20T12:36:02Z [11125] INFO [e52b0] ArangoDB 3.6.3-1 enterprise [linux] 64bit, using jemalloc, build tags/v3.6.3.1-0-g76b2e00b64-dirty, VPack 0.1.33, RocksDB 6.2.0, ICU 58.1, V8 7.1.302.28, OpenSSL 1.1.1g 21 Apr 2020
2020-05-20T12:36:02Z [11125] INFO [75ddc] detected operating system: Linux version 4.9.216 (root@localhost.localdomain) (gcc version 8.3.1 20190507 (Red Hat 8.3.1-4) (GCC) ) #1 SMP Wed Mar 25 09:35:58 EDT 2020
2020-05-20T12:36:02Z [11125] INFO [25362] {memory} Available physical memory: 33645981696
2020-05-20T12:36:02Z [11125] WARNING [118b0] {memory} maximum number of memory mappings per process is 65530, which seems too low. it is recommended to set it to at least 512000
2020-05-20T12:36:02Z [11125] WARNING [49528] {memory} execute 'sudo sysctl -w "vm.max_map_count=512000"'
2020-05-20T12:36:02Z [11125] WARNING [e8b68] {memory} /sys/kernel/mm/transparent_hugepage/enabled is set to 'always'. It is recommended to set it to a value of 'never' or 'madvise'
2020-05-20T12:36:02Z [11125] WARNING [f3108] {memory} execute 'sudo bash -c "echo madvise > /sys/kernel/mm/transparent_hugepage/enabled"'
2020-05-20T12:36:02Z [11125] WARNING [f3108] {memory} execute 'sudo bash -c "echo madvise > /sys/kernel/mm/transparent_hugepage/defrag"'
2020-05-20T12:36:02Z [11125] INFO [144fe] using storage engine 'rocksdb'
2020-05-20T12:36:02Z [11125] INFO [43396] {authentication} Jwt secret not specified, generating...
2020-05-20T12:36:02Z [11125] INFO [3bb7d] {cluster} Starting up with role AGENT
2020-05-20T12:36:02Z [11125] INFO [6ea38] using endpoint 'http+tcp://0.0.0.0:5001' for non-encrypted requests
2020-05-20T12:36:02Z [11125] INFO [a1c60] {syscall} file-descriptors (nofiles) hard limit is 131072, soft limit is 131072
2020-05-20T12:36:02Z [11125] FATAL [1e987] unable to create database directory 'agent1': failed to create directory 'agent1': Permission denied

Expected result:

@dothebart
Copy link
Contributor

Hi,
please have a look at the deployment chapters:
https://www.arangodb.com/docs/stable/deployment.html
It explains howto use the starter to run a setup; the starter will create directories etc.

@Simran-B
Copy link
Contributor
Simran-B commented Jun 3, 2020

Closing this ticket because we didn't receive feedback. Feel free to reopen if the problem persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
0