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

init script is incompatible with chkconfig #5

Closed
deorus opened this issue Feb 26, 2015 · 3 comments
Closed

init script is incompatible with chkconfig #5

deorus opened this issue Feb 26, 2015 · 3 comments

Comments

@deorus
Copy link

deorus commented Feb 26, 2015

This was run on a RHEL 6 machine.
The init file is not compatible with chkconfig:

Error: Could not enable kafka: Execution of '/sbin/chkconfig --add kafka' returned 1: service kafka does not support chkconfig
Error: /Stage[main]/Kafka::Broker::Service/Service[kafka]/ensure: change from stopped to running failed: Could not enable kafka: Execution of '/sbin/chkconfig --add kafka' returned 1: service kafka does not support chkconfig

deorus pushed a commit to deorus/puppet-kafka that referenced this issue Feb 26, 2015
@TristanPeers
Copy link

Same issue above confirmed on Centos 6.5 x64:

Error: Could not enable kafka: Execution of '/sbin/chkconfig --add kafka' returned 1: service kafka does not support chkconfig
Error: /Stage[main]/Kafka::Broker::Service/Service[kafka]/ensure: change from stopped to running failed: Could not enable kafka: Execution of '/sbin/chkconfig --add kafka' returned 1: service kafka does not support chkconfig

Adding chkconfig init settings as per @deorus fixed it for me also.

@TristanPeers
Copy link

Just to update my last comment. It seems a commit was made on Mar 30th which contains the fix above. See last file here:

1a165a0

Unfortunately the last release (1.01) was on Mar 24th so this does not contain the fix therefore if you are using Puppet forge you will not get the changes above.

@dhoppe
Copy link
Member

dhoppe commented Dec 11, 2015

Hello Alex,

thank you very much for your contribution. This issue has been resolved by commit 389fd55.

Kind regards,
Dennis

@dhoppe dhoppe closed this as completed Dec 11, 2015
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