Giter Site home page Giter Site logo

Comments (11)

gmr avatar gmr commented on July 27, 2024

What do you get in the logfile? Check for the path in your config.yml. Absent that, check for a clihelper exception file in /tmp and paste the backtrace from that.

from newrelic-plugin-agent.

khelal avatar khelal commented on July 27, 2024

ok it works now. turns out there was a .pid.lock file that was still there and it for some reason made the rest of the script not work. Removed it and it works now.

from newrelic-plugin-agent.

teewhey avatar teewhey commented on July 27, 2024

I seem to run into the same scenario. May I know which lock file are you guys refering to?

Also I don't see anything process running in the background via ps -ef

from newrelic-plugin-agent.

khelal avatar khelal commented on July 27, 2024

Sure. Try erasing all the files that the agent created and boot it again.

/var/run/newrelic_plugin_agent.pid
/var/run/newrelic_plugin_agent.pid.lock
/tmp/newrelic_plugin_agent.log

from newrelic-plugin-agent.

teewhey avatar teewhey commented on July 27, 2024

These files does not exist even though I have run the command.
Not sure whether this has anything to do with it .... following the readme here, the plugin agent binary was installed to /usr/local/bin/newrelic_plugin_agent.

from newrelic-plugin-agent.

khelal avatar khelal commented on July 27, 2024

Did you run the command using sudo?

from newrelic-plugin-agent.

teewhey avatar teewhey commented on July 27, 2024

I'm already running it as the root user. Do I have to use sudo even already root?

from newrelic-plugin-agent.

khelal avatar khelal commented on July 27, 2024

No. Well can't help you then ;(

In my case, once I had erased all three files and made sure it wasn't already running (doing a ps -ef | grep agent), then it would work normally.

from newrelic-plugin-agent.

gmr avatar gmr commented on July 27, 2024

Is there a file in /tmp named something like clihelper-exceptions? if so, can you paste the output?

from newrelic-plugin-agent.

gmr avatar gmr commented on July 27, 2024

Make sure that /var/run/newrelic exists and that it is writable

from newrelic-plugin-agent.

teewhey avatar teewhey commented on July 27, 2024

Ah... now I see it is running in the background..
Thank you so much.

from newrelic-plugin-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.