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

ganglia-monitor restart error on ubuntu 14.04 #50

Closed
cyberflow opened this issue Sep 9, 2014 · 9 comments
Closed

ganglia-monitor restart error on ubuntu 14.04 #50

cyberflow opened this issue Sep 9, 2014 · 9 comments

Comments

@cyberflow
Copy link
Contributor

in package ganglia-monitor (3.6.0) on ubuntu 14.04 initscript return exit code 1 when restart because upstart run process fastly than initscript. Generally it error of initscript which return exit code 1 when application already run.

@cyberflow
Copy link
Contributor Author

it's my fault. All working fine.

@cyberflow cyberflow reopened this Sep 11, 2014
@cyberflow
Copy link
Contributor Author

No, problem does't solved. It maybe solved if use collectors in cookbook, because if used collectors initscript is rewrite. Default initscript got error if try to restart ganglia-monitor on ubuntu 14.04.

@cyberflow
Copy link
Contributor Author

it's happened because in ubuntu package ganglia-monitor v3.6.0 there is init config for upstart which have a name of pidfile 'ganglia0monitor.pid', while in init.d script have a pidfile name gmond.pid.

@TheRockyOng
Copy link

I'm also having this exact same issue. Is it now solved?

@acqant
Copy link

acqant commented Jun 21, 2015

+1
First it was because of process name lenght ( which man start-stop mentions ).

I shortened the name and now the -name value passed from start-stop doesn't match any process names. It has the right pid file and pid but doesn't use it.

@cyberflow
Copy link
Contributor Author

@acqant The 55ed2f1 commit have to fix it.

@acqant
Copy link

acqant commented Jun 21, 2015

If we have the pid file why bother with the --name? Plus name seems to to be limited to 15 chars and cookbook prepends ganglia-monitor. Mine was ganglia-monitor-mesos-master !!!

Just take the --name no?

@cyberflow
Copy link
Contributor Author

if you lost pid file than start-stop-daemon can to stop process by name.

@acqant
Copy link

acqant commented Jun 22, 2015

I'll try it later today.
On Jun 22, 2015 3:29 AM, "Dmitry" notifications@github.com wrote:

if you lost pid file than start-stop-daemon can to stop process by name.


Reply to this email directly or view it on GitHub
#50 (comment)
.

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

3 participants