Last active
May 25, 2016 17:59
-
-
Save amgorb/26fb61930fad6544b776fce30ae3bcb2 to your computer and use it in GitHub Desktop.
NewRelic Centos 7
This file contains 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
Sometimes newrelic fails to connect to local agent at CentOS 7 server. | |
That is because newrelic-daemon do not listen at ipv6 address: | |
( newrelic.daemon.port = 8888 ) | |
typical errors from log files are: | |
warning: daemon connect(fd=6 port=8888) 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 | |
and | |
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 a | |
ssistance, please see: https://newrelic.com/docs/php/newrelic-daemon-startup-modes | |
telnet localhost 8888 | |
Trying ::1... | |
telnet: connect to address ::1: Connection refused | |
Trying 127.0.0.1... | |
Connected to localhost. | |
Escape character is '^]'. | |
temp solution is to disable ipv6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment