Amazon Linux2 で NewRelic Agent からデータが送信されない
1230 ワード
PrivateTmp が有効になっていると NewRelic Agent が以下のエラーを吐いてしまいます。
warning: daemon connect(fd=6 uds=/tmp/.newrelic.sock) returned -1 errno=ENOENT. Failed to connect to the newrelic-daemon. Please make sure that there is a properly configured newrelic-daemon running. For additional assistance, please see: https://newrelic.com/docs/php/newrelic-daemon-startup-modes
PrivateTmp を無効にするしか対処方法が無いみたい...
# /usr/bin/mkdir -p /etc/systemd/system/php-fpm.service.d/
# echo "[Service]" > /etc/systemd/system/php-fpm.service.d/privatetmp.conf
# echo "PrivateTmp=false" >> /etc/systemd/system/php-fpm.service.d/privatetmp.conf
# /usr/bin/systemctl daemon-reload
# /usr/bin/systemctl restart php-fpm.service
# /usr/bin/systemctl status php-fpm.service
参考: Rlicでサーバが表示されない
Author And Source
この問題について(Amazon Linux2 で NewRelic Agent からデータが送信されない), 我々は、より多くの情報をここで見つけました https://qiita.com/wokamoto/items/d20f8e9d1be509a7c596著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .