elastic / apm

Elastic Application Performance Monitoring - resources and general issue tracking for Elastic APM.
https://www.elastic.co/apm
Apache License 2.0
384 stars 114 forks source link

Can not install the agent in M1 Max #636

Closed qiansheng2 closed 2 years ago

qiansheng2 commented 2 years ago

I download the elastic-agent-8.1.3-darwin-x86_64.tar.gz from ES, but I can not install this agent in M1 Max.

To Reproduce Steps to reproduce the behavior:

  1. Download elastic-agent-8.1.3-darwin-x86_64.tar.gz
  2. Unzip into my Apple M1 Max.
  3. Then do ' ./elastic-agent install --url=http://localhost:8220 ....'
  4. See error: Error: enroll command failed with exit code: 1

RRRR@MacBook-Pro [21时20分02秒] [~/es-cluster/elastic-agent-8.1.3-darwin-x86_64] -> % sudo ./elastic-agent install --url=http://localhost:8220 --enrollment-token=Wk1KelVJQUJGVFpnWEU3cGF3NUc6U3FJQndOZ21RLWF3ZTA4T3BRWVdhdw== Elastic Agent will be installed at /Library/Elastic/Agent and will run as a service. Do you want to continue? [Y/n]:y Error: Error: connection to fleet-server is insecure, strongly recommended to use a secure connection (override with --insecure) For help, please see our troubleshooting guide at https://www.elastic.co/guide/en/fleet/8.1/fleet-troubleshooting.html Error: enroll command failed with exit code: 1 For help, please see our troubleshooting guide at https://www.elastic.co/guide/en/fleet/8.1/fleet-troubleshooting.html

Expected behavior I want install the apm-agent in my Apple M1Max.

qiansheng2 commented 2 years ago

The token is produced by ES8.1.3 's "Add agent --- Enroll in Fleet" of Fleet server.

graphaelli commented 2 years ago

We use GitHub for bug reports (though typically those should go to more specific repos) and feature requests. For questions such as this, please open a topic at https://discuss.elastic.co/c/apm. You will reach a wider audience there. Thanks!