Hello,
I am learning on the casual cluster configuration.
My current configuration is as follows -the neo4j instance of my vm has been stopped:
uname -r
4.14.35-1844.4.5.el7uek.x86_64
docker version
Client:
Version: 18.09.1-ol
API version: 1.39
Go version: go1.10.8
Git commit: c3ab8a8
Built: Mon Feb 11 23:20:32 2019
OS/Arch: linux/amd64
Experimental: falseServer: Docker Engine - Community
Engine:
Version: 18.09.1-ol
API version: 1.39 (minimum version 1.12)
Go version: go1.10.8
Git commit: c3ab8a8
Built: Mon Feb 11 23:09:34 2019
OS/Arch: linux/amd64
Experimental: false
Default Registry: docker.io
neo4j version
OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N
neo4j 3.5.5
I have created 3 core servers with a shell script as follows:
docker run --name=core1
--volume=pwd
/core1/conf:/conf --volume=pwd
/core1/data:/data --volume=pwd
/core1/logs:/logs
--publish=11474:7474 --publish=11687:7687
--env=NEO4J_dbms_connector_bolt_advertised__address=localhost:11687
--network=training-cluster
--env=NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
--env=NEO4J_causal__clustering_minimum__core__cluster__size__at__formation=3
--env=NEO4J_causal__clustering_minimum__core__cluster__size__at__runtime=3
--env=NEO4J_causal__clustering_initial__discovery__members=core1:5000,core2:5000,core3:5000,core4:5000,core5:5000
--env=NEO4J_dbms_mode=CORE
--detach
$1
The last line being: docker stop core1 core2 core3
When I tried to restart the core servers, one by one, I met the following problem:
docker start -a core1
find: /conf/original-neo4j.conf: Permission denied
find: /conf/neo4j.conf: Permission denied
If my user is neo4j and has been added to the docker group -even to root, what am I missing?
id neo4j
uid=990(neo4j) gid=988(neo4j) groups=988(neo4j),0(root),986(docker)
The docker log shows this:
May 01 18:36:54 ol7-neo4j-db.localdomain dockerd[11291]: time="2019-05-01T18:36:54.570991376+02:00" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Thanks in advance for your help.
Blai