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
Using the latest release (2.24.0), newrelic-sysmond does not start on Ubuntu 16.04. Chef-client thinks the service is already running, from the first run:
* apt_package[newrelic-sysmond] action install
- install version 2.3.0.132 of package newrelic-sysmond
* template[/etc/newrelic/nrsysmond.cfg] action create
- update content in file /etc/newrelic/nrsysmond.cfg from 047f66 to 958ba5
- suppressed sensitive resource
- change owner from 'newrelic' to 'root'
* service[newrelic-sysmond] action enable (up to date)
* service[newrelic-sysmond] action start
- start service service[newrelic-sysmond]
* service[newrelic-sysmond] action restart
- restart service service[newrelic-sysmond]
From follow up runs:
* file[/etc/apt/sources.list.d/newrelic.list] action create (up to date)
(up to date)
* apt_package[newrelic-sysmond] action install (up to date)
* template[/etc/newrelic/nrsysmond.cfg] action create (up to date)
* service[newrelic-sysmond] action enable (up to date)
* service[newrelic-sysmond] action start (up to date)
(up to date)
Service status when logged in to the VM:
vagrant@default-ubuntu-1604:~$ sudo service newrelic-sysmond status
newrelic-sysmond.service - LSB: The New Relic Server Monitor
Loaded: loaded (/etc/init.d/newrelic-sysmond; bad; vendor preset: enabled)
Active: inactive (dead)
Docs: man:systemd-sysv-generator(8)
Newrelic processes running after a kitchen converge:
I am wondering if the issue isn't with the switch to systemd that Ubuntu between 14.04 and 16.04. My company doesn't allow, as of this moment, Ubuntu boxen on the network/in corp systems, so I can't confirm/test/etc, but that is my suspicion. I'll dig in later tonight if time allows.
Using the latest release (2.24.0), newrelic-sysmond does not start on Ubuntu 16.04. Chef-client thinks the service is already running, from the first run:
From follow up runs:
Service status when logged in to the VM:
Newrelic processes running after a kitchen converge:
Manually running "sudo service newrelic-sysmond start" works, which indicates the install process is working fine, there just appears to be an issue with starting the service via the chef-client. This plus the fact that it works with Ubuntu 14.04 led me to find these issues indicating it might be an issue with the init.d script: http://serverfault.com/questions/495969/service-doesnt-start-when-using-chef
https://stackoverflow.com/questions/39340867/chef-wont-start-my-init-d-service
My environment:
Still trying to work out a fix, but I was hoping somebody smarter than me might have an idea or be able to fix it faster.
The text was updated successfully, but these errors were encountered: