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

Can't stop process from guv-web :: Not authorised warning #79

Open
JohnKimDev opened this issue Oct 28, 2015 · 1 comment
Open

Can't stop process from guv-web :: Not authorised warning #79

JohnKimDev opened this issue Oct 28, 2015 · 1 comment

Comments

@JohnKimDev
Copy link

When I try to to stop by pressing "Stop" button in the web gui, I can this error message in red box saying "STOP ERROR xxxx on xxxxx has failed to stop - Not authorised"

I am thinking it might be something to do with the process is running as root:root but I am not sure. And even if that is the problem, I am not sure how I can change it.

BTW, found the minor typo bug: in the error message "Not authorised" should be "Not authorized"

Thanks

@JohnKimDev JohnKimDev changed the title Can't stop process form guv-web :: Not authorised warning Can't stop process from guv-web :: Not authorised warning Oct 28, 2015
@achingbrain
Copy link
Member

If your process runs as root and you're not logged in to guv-web as root, you won't be able to stop the process. You can only interact with processes that you can access via the Unix permissions model.

To fix this, either:

  1. Change which user you connect to your monitored server as to connect as root (don't forget to use root's secret and not your users' secret)
  2. Use guv start's -u flag as root to start the process as a different user
  3. Run guv start as the user you want the process to run as

Re. Authorised vs Authorized - the s is English, the z is American

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