Created
November 28, 2019 16:48
-
-
Save RoesWibowo/b3513dce828b81750055fb5ca36022f3 to your computer and use it in GitHub Desktop.
[FIX] Failed to connect to the newrelic-daemon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I spent 2 hours+ and got stress about this issue: warning: daemon connect(fd=5 uds=/tmp/.newrelic.sock) returned -1 errno=ECONNREFUSED. 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 | |
These are the steps to solve the issue: | |
> Check process using command: ps aux | grep newrelic | |
> Kill all newrelic-daemon process. | |
> Restart web server using command: service php-fpm restart && service nginx restart | |
> Newrelic daemon will automatically restart. | |
And, voila! (: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment