-
Notifications
You must be signed in to change notification settings - Fork 269
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
newrelic_plugin_agent wont start #47
Comments
Same problem here, working well with the --foreground option, but not in background. |
Same here. Foreground starts OK and produces output as expected but backgrounding seems to die without any explanation. |
Exactly the same issue starting as root but newrelic as the user in the config in /etc/newrelic. Ctrl-Z and bg - ing the task and it runs fine. my config is entirely default with just the nginx lines uncommented. (I'm about to try it with sysmond) |
👍 same issue issue here. works great in the foreground as the newrelic user, but no dice when started via the init.d scripts. There's no log or any other output I can see. If I add -f to the OPTS param in the init script, I can see it start just fine-- there's something specifically about background execution that's not running here. |
Please check for an exception file in /tmp/clihelper-exceptions.log. Permission errors are the most common cause of this. Secondarily, check for a stale pid file in /var/run/newrelic/. On Saturday, June 29, 2013 at 11:55 AM, Michael Saffitz wrote:
|
Here's the exception: Looks like it's trying to create the lock file directly in
|
Make sure it's owned by the user specified in the configuration file. |
I can't make |
It should be trying to put the pidfile in /var/run/newrelic -- you can change where the pidfile is placed in the config file. See: On Saturday, June 29, 2013 at 12:28 PM, Michael Saffitz wrote:
|
Ah, ok, thanks. That fixed it. It looks like I had an older version of the config file that was pointing at /var/run. |
hi, i have the same problem. in foreground it works well, but when i launch it in background i get the following error in
How can i solve that? |
@webranking moving your comment to a ticket. |
Same problem here. 3 machines with agent installed (v1.3.0). 2 machines working fine, but I cannot start in daemon mode in one of them. Everything runs fine in foreground. user is newrelic and pid directory /var/run/newrelic/. Nothing in /tmp. I also tried the following without success:
Any ideas? |
Same as @ddonia here with RHEL6 |
hi
Could any one help me on this issue regarding installation. Please see error below.
/usr/bin/newrelic_plugin_agent: not running
The text was updated successfully, but these errors were encountered: