如何在亚马逊 linux 上安装新的遗物

问题描述

我已经将 newrelic 文件解压到 amazon linux 上,并且有 installer.sh 和 config_defaults.sh

我在参数存储中有许可证密钥,我可以调用

我使用以下命令安装 newrelic

sudo ./installer.sh GENERATE_CONFIG=true LICENSE_KEY=$APIKEY
sudo systemctl start newrelic-infra # to start the service

APPIKEY 来自参数存储的地方。 但是当我做 sudo systemctl start newrelic-infra

我收到错误信息

level=error msg="can't load configuration file" component="New Relic Infrastructure Agent" error="no license key,please add it to agent's config file or NRIA_LICENSE_KEY environment variable"

如何让代理识别许可证密钥?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)