Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

New Relic Daemon is not starting in automatic Agent mode


#1

OS: Centos 7.3.1
New Relic Php Agent : 8.4.0.231
Php version: 5.4.16
Apache server: 2.4.6

Followed the following steps and unable to start new-relic daemon

  1. rpm -Uvh http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm
  2. yum install newrelic-php5
  3. newrelic-install install

changed my license and customised App name in below file

/etc/php.d/newrelic.ini

Restarted my application server i,.e httpd


#2

Because you are on Centos you might be running into issues with Selinux blocking Apache from starting or connecting to the newrelic-daemon on the default socketfile. In most cases you can get around this by using an abstract socket which I’ve documented in more detail here:


#3

I am able to resolve this issue but changing the default daemon port to @newrelic-daemon.
After that I was able to see the data in New-Relic server.

Thank you @beastman