Hello there,
Server info:
1 - I´m running ubuntu server 18.04
2 - Elk stack running on 7.13 version
fleet server creation does not work.
root@elastic:/tmp/agent/elastic-agent-7.13.1-linux-x86_64# sudo ./elastic-agent install -f --fleet-server-es=https://localhost:9200 --fleet-server-service-token=AAEAAWVsYXN0aWMvZmxlZXQtc2VydmVyL3Rva2VuLTE2MjI4NzA5NjA3NjU6aDN4dUQ1Y2NUYmFyZ2VkYUFiQXBKUQ --fleet-server-es-ca=/etc/elasticsearch/elastic-certificates.p12
The Elastic Agent is currently in BETA and should not be used in production2021-06-05T02:31:33.008-0300 INFO cmd/enroll_cmd.go:300 Generating self-signed certificate for Fleet Server
2021-06-05T02:31:34.557-0300 INFO cmd/enroll_cmd.go:610 Waiting for Elastic Agent to start Fleet Server
2021-06-05T02:31:37.565-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Restarting
2021-06-05T02:31:43.576-0300 INFO cmd/enroll_cmd.go:648 Fleet Server - Restarting
2021-06-05T02:31:45.579-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-06-05T02:31:46.581-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Restarting
2021-06-05T02:31:52.591-0300 INFO cmd/enroll_cmd.go:648 Fleet Server - Restarting
2021-06-05T02:31:58.607-0300 INFO cmd/enroll_cmd.go:648 Fleet Server - Restarting
2021-06-05T02:32:04.621-0300 INFO cmd/enroll_cmd.go:648 Fleet Server - Restarting
2021-06-05T02:32:10.637-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-06-05T02:32:11.639-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Restarting
2021-06-05T02:32:12.641-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-06-05T02:32:13.643-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Restarting
2021-06-05T02:32:14.646-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-06-05T02:32:15.648-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Restarting
2021-06-05T02:32:21.661-0300 INFO cmd/enroll_cmd.go:648 Fleet Server - Restarting
2021-06-05T02:32:27.675-0300 INFO cmd/enroll_cmd.go:648 Fleet Server - Restarting
2021-06-05T02:32:33.709-0300 INFO cmd/enroll_cmd.go:648 Fleet Server - Restarting
2021-06-05T02:32:36.718-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-06-05T02:32:37.720-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Restarting
2021-06-05T02:32:43.732-0300 INFO cmd/enroll_cmd.go:648 Fleet Server - Restarting
2021-06-05T02:32:49.744-0300 INFO cmd/enroll_cmd.go:648 Fleet Server - Restarting
2021-06-05T02:32:55.757-0300 INFO cmd/enroll_cmd.go:648 Fleet Server - Restarting
2021-06-05T02:33:01.769-0300 INFO cmd/enroll_cmd.go:648 Fleet Server - Restarting
2021-06-05T02:33:07.782-0300 INFO cmd/enroll_cmd.go:648 Fleet Server - Restarting
2021-06-05T02:33:11.791-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-06-05T02:33:12.794-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Restarting
2021-06-05T02:33:13.796-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-06-05T02:33:14.799-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Restarting
2021-06-05T02:33:15.801-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-06-05T02:33:16.803-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Restarting
2021-06-05T02:33:22.816-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-06-05T02:33:23.818-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Restarting
2021-06-05T02:33:29.831-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Starting
2021-06-05T02:33:30.833-0300 INFO cmd/enroll_cmd.go:643 Fleet Server - Restarting
Error: fleet-server never started by elastic-agent daemon: context canceled
Error: enroll command failed with exit code: 1