- nebula 版本:2.6.0
- 部署方式:单机
- 操作系统:CentOS Linux release 7.9.2009 (Core)
- 安装方式:Docker
- docker版本:1.13.1
- docker-compose版本:1.18.0
- 是否为线上版本:N
问题描述:我试着在CentOS7的虚拟机部署nebula的docker版,但是一直无法正常启动。下面是启动时的日志,里面提到了Permission denied
,于是我将logs文件的权限改为了rwx模式,但仍然会出现相同的错误信息。
另外,我在论坛里找到了请教 Nebula Graph 2.0 Docker Compose 安装问题这个帖子,里面有相似的问题但没有具体的解决办法,请问这个问题该如何解决呢?
[ytkj@192 nebula-docker-compose]$ docker-compose up
Recreating nebuladockercompose_metad0_1 ...
Recreating nebuladockercompose_metad1_1 ...
Recreating nebuladockercompose_metad1_1 ... done
Recreating nebuladockercompose_storaged2_1 ...
Recreating nebuladockercompose_storaged1_1 ...
Recreating nebuladockercompose_storaged2_1 ... done
Recreating nebuladockercompose_graphd1_1 ...
Recreating nebuladockercompose_graphd_1 ...
Recreating nebuladockercompose_graphd_1 ... done
Attaching to nebuladockercompose_metad0_1, nebuladockercompose_metad2_1, nebuladockercompose_metad1_1, nebuladockercompose_storaged1_1, nebuladockercompose_storaged0_1, nebuladockercompose_storaged2_1, nebuladockercompose_graphd1_1, nebuladockercompose_graphd2_1, nebuladockercompose_graphd_1
metad2_1 | WARNING: Logging before InitGoogleLogging() is written to STDERR
metad2_1 | E1109 08:55:36.578418 1 MetaDaemon.cpp:203] Failed to create or open `/logs/metad-stdout.log': Permission denied
metad0_1 | WARNING: Logging before InitGoogleLogging() is written to STDERR
metad0_1 | E1109 08:55:36.486173 1 MetaDaemon.cpp:203] Failed to create or open `/logs/metad-stdout.log': Permission denied
metad1_1 | WARNING: Logging before InitGoogleLogging() is written to STDERR
metad1_1 | E1109 08:55:36.644002 1 MetaDaemon.cpp:203] Failed to create or open `/logs/metad-stdout.log': Permission denied
storaged1_1 | WARNING: Logging before InitGoogleLogging() is written to STDERR
storaged1_1 | E1109 08:55:38.011570 1 StorageDaemon.cpp:65] Failed to create or open `/logs/storaged-stdout.log': Permission denied
nebuladockercompose_metad0_1 exited with code 1
storaged0_1 | WARNING: Logging before InitGoogleLogging() is written to STDERR
storaged0_1 | E1109 08:55:38.076349 1 StorageDaemon.cpp:65] Failed to create or open `/logs/storaged-stdout.log': Permission denied
nebuladockercompose_metad2_1 exited with code 1
nebuladockercompose_metad1_1 exited with code 1
nebuladockercompose_storaged1_1 exited with code 1
storaged2_1 | WARNING: Logging before InitGoogleLogging() is written to STDERR
storaged2_1 | E1109 08:55:38.153842 1 StorageDaemon.cpp:65] Failed to create or open `/logs/storaged-stdout.log': Permission denied
graphd1_1 | Could not create logging file: Permission denied
graphd1_1 | COULD NOT CREATE A LOGGINGFILE 20221109-085539.1!Could not create logging file: Permission denied
graphd1_1 | COULD NOT CREATE A LOGGINGFILE 20221109-085539.1!Could not create logging file: Permission denied
graphd1_1 | COULD NOT CREATE A LOGGINGFILE 20221109-085539.1!E1109 08:55:39.380911 1 GraphDaemon.cpp:74] Failed to create or open `/logs/graphd-stdout.log': Permission denied
nebuladockercompose_storaged0_1 exited with code 1
graphd2_1 | Could not create logging file: Permission denied
graphd2_1 | COULD NOT CREATE A LOGGINGFILE 20221109-085539.1!Could not create logging file: Permission denied
graphd2_1 | COULD NOT CREATE A LOGGINGFILE 20221109-085539.1!Could not create logging file: Permission denied
graphd2_1 | COULD NOT CREATE A LOGGINGFILE 20221109-085539.1!E1109 08:55:39.453431 1 GraphDaemon.cpp:74] Failed to create or open `/logs/graphd-stdout.log': Permission denied
graphd_1 | Could not create logging file: Permission denied
graphd_1 | COULD NOT CREATE A LOGGINGFILE 20221109-085539.1!Could not create logging file: Permission denied
graphd_1 | COULD NOT CREATE A LOGGINGFILE 20221109-085539.1!Could not create logging file: Permission denied
graphd_1 | COULD NOT CREATE A LOGGINGFILE 20221109-085539.1!E1109 08:55:39.476969 1 GraphDaemon.cpp:74] Failed to create or open `/logs/graphd-stdout.log': Permission denied
nebuladockercompose_storaged2_1 exited with code 1
nebuladockercompose_graphd1_1 exited with code 1
nebuladockercompose_graphd2_1 exited with code 1
nebuladockercompose_graphd_1 exited with code 1