-
Notifications
You must be signed in to change notification settings - Fork 21
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
Bug: Debian/Ubuntu - Agent failed to start #28
Comments
@DerDanilo I will take a look whenever I have the time. Switched to a new python based release pipeline and some small issues here and there still remain. https://github.com/amonapp/amonagent/blob/master/build.py And this is the line that should take care of the error you see: https://github.com/amonapp/amonagent/blob/master/packaging/init.sh#L36 Can you tell me your Debian/Ubuntu distro version? |
Ubuntu 16.04 I just changed the user in the systemd service file and now it seems to work fine. The package seems to install with root, starting the service with root and on reboot tries to start the service with the amonagent user. |
@dschwabeS11 Thanks for the report. Will check the build pipeline to see what the issue might be. Starting any service with root rights is a no go in an Enterprise scenario with strict permissions |
Of course. I meant in connection with amonagent as I only see this as a temporary workaround. |
This should be fixed with #26 |
Every time I restart the amon instance the amonagent on it doesn't start properly anymore. I then have to remove and reinstall the amonagent package to get it working again.
Any idea why this happens?
Installation is done with root, so I don't get the issue with the "permission denied".
The text was updated successfully, but these errors were encountered: