You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New deploys of newrelic.ini do not contain the line :
;newrelic.daemon.port = /tmp/.newrelic.sock
Instead they contain :
;newrelic.daemon.address = /tmp/.newrelic.sock
This means that the sed in writeIniFile function in apm.sh (to modify the location of the socket for systemd PrivateTmp issues) no longer works as it doesn't modify anything.
The safest fix here is probably to add an additional line to address the new naming convention (in case the old one appears anywhere) :
sed -i -e "s/;newrelic.daemon.address = \"\/tmp\/.newrelic.sock\"/newrelic.daemon.address = \"\/run\/@.newrelic.sock\"/g" $1
The text was updated successfully, but these errors were encountered:
As per : https://docs.newrelic.com/docs/agents/php-agent/configuration/php-agent-configuration#inivar-daemon-port
New deploys of newrelic.ini do not contain the line :
;newrelic.daemon.port = /tmp/.newrelic.sock
Instead they contain :
;newrelic.daemon.address = /tmp/.newrelic.sock
This means that the sed in writeIniFile function in apm.sh (to modify the location of the socket for systemd PrivateTmp issues) no longer works as it doesn't modify anything.
The safest fix here is probably to add an additional line to address the new naming convention (in case the old one appears anywhere) :
The text was updated successfully, but these errors were encountered: