swarm错误记录运维技巧(一)

韵味老鸟 2024-06-11 14:56:43

swarm错误记录

Q7:Error response from daemon: Could not attach to network meta: rpc error: code = PermissionDenied desc = network meta not manually attachable

默认情况下使用docker network create -d overlay NET 创建的网络只能被swarm service使用,如果需要被独立的容器使用,需要添加--attachable选项

Q6:Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml

问题现象:Unable to create actions client because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.

解决办法:

xpack.encryptedSavedObjects.encryptionKey: dcbf819d8874e8242eaf107d538fe874

xpack.reporting.encryptionKey: ba2d98e6dad4fa73d77f5f34a568cfdd

xpack.security.encryptionKey: 3871dfc1bd945e1141364e4244800b39

vi ./config/kibana.yml

Q5:Failed to start Filebeat sends log files to Logstash or directly to Elasticsearch

Exiting: Failed to start crawler: creating module reloader failed: could not create module registry for filesets: module system is configured but has no enabled filesets

#调试启动/usr/share/filebeat/bin/filebeat -e -c /etc/filebeat/filebeat.yml -path.home /usr/share/filebeat -path.config /etc/filebeat -path.data /var/lib/filebeat -path.logs /var/log/filebeat

0 阅读:0