New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
elastic-agent can not install in macbook #1209
Comments
Version: I installed the docker image from ==> https://www.elastic.co/guide/en/elasticsearch/reference/8.1/docker.html#docker-prod-prerequisites |
add: {"log.level":"info","@timestamp":"2022-03-09T11:47:41.164+0800","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":777},"message":"Fleet Server - Error - could not start the HTTP server for the API: could not set mode 480 for unix socket file at location /Library/Elastic/Agent/data/tmp/default/fleet-server/fleet-server.sock: chmod /Library/Elastic/Agent/data/tmp/default/fleet-server/fleet-server.sock: no such file or directory","ecs.version":"1.6.0"} |
add by elasticsearch log out: es-cluster-es01-1 | {"@timestamp":"2022-03-09T05:40:10.120Z", "log.level": "WARN", "message":"received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/172.21.0.3:9200, remoteAddress=/172.21.0.1:64874}", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"elasticsearch[es01][transport_worker][T#2]","log.logger":"org.elasticsearch.xpack.security.transport.netty4.SecurityNetty4HttpServerTransport","elasticsearch.cluster.uuid":"RYv_WVG8RNeOQL05TSPOqg","elasticsearch.node.id":"Pu9F4WPLT86_hGgcQRpDbg","elasticsearch.node.name":"es01","elasticsearch.cluster.name":"docker-cluster"} |
Running Agent on M1 is not yet supported, we are working on it. (see our current matrix) |
thanks for your comment. |
I should add we are actively working on it, see elastic/beats#29585 |
fyi @AndersonQ related to your M1 work |
Thanks, I'm gonna ensure we cover this when testing the M1 agent |
@AndersonQ shouldn't we close this one and keep only the M1 build? |
I'd say so. |
elastic-agent-8.1.0
macbook(apple m1 max) macos12.2.1
Download elastic-agent-8.1.0-darwin-x86_64
unzip
sudo ./elastic-agent install ...
error:
-> % sudo ./elastic-agent install
--fleet-server-es=http://localhost:9200
--fleet-server-service-token=AAEAAWVsYXN0aWMvZmxlZXQtc2VydmVyL3Rva2VuLTE2NDY3OTUxOTE1Mjk6cFJ1UDdGbUtUMnVzcVMyZDBJU3VKdw
--fleet-server-policy=499b5aa7-d214-5b5d-838b-3cd76469844e
--fleet-server-insecure-http
Elastic Agent will be installed at /Library/Elastic/Agent and will run as a service. Do you want to continue? [Y/n]:Y
{"log.level":"info","@timestamp":"2022-03-09T11:10:22.924+0800","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":777},"message":"Fleet Server - Starting","ecs.version":"1.6.0"}
{"log.level":"info","@timestamp":"2022-03-09T11:10:26.926+0800","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":777},"message":"Fleet Server - Error - EOF","ecs.version":"1.6.0"}
Error: fleet-server failed: context canceled
The text was updated successfully, but these errors were encountered: