Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error executing action install on resource 'newrelic_agent_infrastructure[Install]' #307

Open
syazdi opened this issue Aug 12, 2017 · 1 comment

Comments

@syazdi
Copy link

syazdi commented Aug 12, 2017

When installing the newrelic infrastructure agent on a linux instance via CHEF, seeing the following errors, mainly "Chef::Exceptions::Service: service[newrelic-infra]: Service is not known to chkconfig":

  • yum_package[newrelic-infra] action install
    ecs: - install version 1.0.752-1 of package newrelic-infra
    ecs: * service[newrelic-infra] action enable
    ecs: * service[newrelic-infra]: Service is not known to chkconfig.
    ecs: ================================================================================
    ecs: Error executing action enable on resource 'service[newrelic-infra]'
    ecs: ================================================================================

ecs: ================================================================================
ecs: Error executing action install on resource 'newrelic_agent_infrastructure[Install]'
ecs: ================================================================================
ecs:
ecs: Chef::Exceptions::Service
ecs: -------------------------
ecs: service[newrelic-infra] (/tmp/packer-chef-solo/local-mode-cache/cache/cookbooks/newrelic/providers/agent_infrastructure.rb line 43) had an error: Chef::Exceptions::Service: service[newrelic-infra]: Service is not known to chkconfig.
ecs:
ecs: Resource Declaration:
ecs: ---------------------
ecs: # In /tmp/packer-chef-solo/local-mode-cache/cache/cookbooks/newrelic/recipes/infrastructure_agent.rb
ecs:
ecs: 8: newrelic_agent_infrastructure 'Install'
ecs:

I am incorporating the following version (latest) of newrelic cookbook from Chef SuperMarket:
cookbook 'newrelic', '~> 2.30.0'

@djoos
Copy link
Member

djoos commented Nov 16, 2017

Hi @syazdi,

is this still an issue on the latest version? If so: what flavor+version of Linux are you on?

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants