/opt/bitnami/scripts/libminio.sh: line 364: /bitnami/minio/data/.root_user: Permission denied
其他两个服务的日志也差不多,都是挂载的目录没有正确的权限。
使用以下命令设置目录权限:
chmod -R 777 挂载的目录路径
二、Elasticsearch 启动的引导检查失败
es报错信息:
ERROR: [2] bootstrap checks failed. You must address the points described in the following [2] lines before starting Elasticsearch.
bootstrap check failure [1] of [2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
bootstrap check failure [2] of [2]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
02:08:37.33 INFO ==> ** Starting MinIO setup **
minio 02:08:37.37 INFO ==> Starting MinIO in background...
minio 02:08:47.46 INFO ==> Adding local Minio host to 'mc' configuration...
minio 02:08:52.59 INFO ==> Adding local Minio host to 'mc' configuration...
minio 02:08:57.73 INFO ==> Adding local Minio host to 'mc' configuration...
minio 02:09:02.80 INFO ==> Adding local Minio host to 'mc' configuration...
minio 02:09:07.87 INFO ==> Adding local Minio host to 'mc' configuration...
minio 02:09:12.95 INFO ==> Adding local Minio host to 'mc' configuration...
minio 02:09:18.02 INFO ==> Adding local Minio host to 'mc' configuration...
minio 02:09:23.09 INFO ==> Adding local Minio host to 'mc' configuration...
minio 02:09:28.15 INFO ==> Adding local Minio host to 'mc' configuration...
minio 02:09:33.22 INFO ==> Adding local Minio host to 'mc' configuration...
minio 02:09:38.30 INFO ==> Adding local Minio host to 'mc' configuration...
minio 02:09:43.36 INFO ==> Adding local Minio host to 'mc' configuration...
Failed to add temporary MinIO server
minio 02:09:48.45 INFO ==> MinIO is already stopped...