The ./dmarc/dmarclogs folder works, but the ./dmarc/registry does not? I get this error
ERROR instance/beat.go:1014 Exiting: failed to open store 'filebeat': open /usr/share/filebeat/data/registry/filebeat/meta.json: no such file or directory
filebeat_for_dmarc | Exiting: failed to open store 'filebeat': open /usr/share/filebeat/data/registry/filebeat/meta.json: no such file or directory
I have the folder registry under the dmarc folder.
It has the same rights as the dmarclogs
I've temporarily disabled SELinux
Yeah, I had that idea as well, but I still get an error:
filebeat_for_dmarc | 2023-08-01T07:33:28.207Z INFO instance/beat.go:685 Home path: [/usr/share/filebeat] Config path: [/usr/share/filebeat] Data path: [/usr/share/filebeat/data] Logs path: [/usr/share/filebeat/logs] Hostfs Path: [/]
filebeat_for_dmarc | 2023-08-01T07:33:28.208Z ERROR instance/beat.go:1014 Exiting: Failed to create Beat meta file: open /usr/share/filebeat/data/meta.json.new: permission denied
filebeat_for_dmarc | Exiting: Failed to create Beat meta file: open /usr/share/filebeat/data/meta.json.new: permission denied
filebeat_for_dmarc exited with code 1
I just did an experiment, just to check for filerights. I deleted the 'registry' folder on the host, and docker created it without problems.
So at least now I know it's not a host rights issue.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.