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

datadog-agent(-base) RedHat start/stop scripts explicitly reference python2.6 #48

Closed
alq666 opened this issue May 11, 2012 · 5 comments
Closed

Comments

@alq666
Copy link
Member

alq666 commented May 11, 2012

This was to force the agent to pickup 2.6 on CentOS 5. Since datadog-agent-base works with python2.4 out of the box, there is no need to force a different python.

On CentOS5, datadog-agent should always use python2.6 or greater.
On CentOS5, datadog-agent-base should always use python.
On CentOS6, both should use python.

@alq666
Copy link
Member Author

alq666 commented May 21, 2012

Apparently also affects fedora >= 15.

@mmornati
Copy link

Correctly startedup using source. I can create a Fedora RPM if needed.

@alq666
Copy link
Member Author

alq666 commented May 21, 2012

@mmornati by all means, fork and pull request. We use fpm to package debs and rpms and it's all in the packaging directory.

@ghost ghost assigned alq666 Jun 11, 2012
@ghost ghost assigned clutchski Dec 6, 2012
@alq666
Copy link
Member Author

alq666 commented Dec 12, 2012

Issue on FC 17

Dec 12 03:28:14 gaz datadog-agent[26381]: Starting Datadog agent (using supervisord):[ OK ]
Dec 12 03:28:14 gaz datadog-agent[26381]: Waiting 7 seconds to test for running child processes...
Dec 12 03:28:21 gaz datadog-agent[26381]: datadog-agent:collector FATAL can't find command '/usr/bin/python2.6'
Dec 12 03:28:21 gaz datadog-agent[26381]: datadog-agent:dogstatsd FATAL can't find command '/usr/bin/python2.6'
Dec 12 03:28:21 gaz datadog-agent[26381]: datadog-agent:forwarder FATAL can't find command '/usr/bin/python2.6'
Dec 12 03:28:21 gaz datadog-agent[26381]: datadog-agent:pup FATAL can't find command '/usr/bin/python2.6'
Dec 12 03:28:21 gaz datadog-agent[26381]: Datadog agent (supervisor) is NOT running all child processes[FAILED]
Dec 12 03:28:21 gaz datadog-agent[26381]: Stopping Datadog agent (using killproc on supervisord): [ OK ]

@remh
Copy link
Contributor

remh commented Aug 22, 2014

Fixed with Agent 5.0.0

@remh remh closed this as completed Aug 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants