Chef Error – Error executing action `run` on resource ‘execute[/opt/opscode/embedded/bin/chps

rajeshkumar created the topic: Error executing action `run` on resource ‘execute[/opt/opscode/embedded/bin/chps

Error executing action `run` on resource ‘execute[/opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait /var/opt/opscode/rabbitmq/db/rabbit@localhost.pid]’

Fix 1
So obviously RabbitMq is running, on port 5672, which can be verified through
> netstat -ltnp
tcp 0 0 127.0.0.1:5672 0.0.0.0:* LISTEN 1111/beam.smp

Fix 2
> /etc/init.d/rabbitmq-server stop

Fix 3:
Check your /etc/hosts file. That is not defined well.

Reference
discourse.chef.io/t/chef-server-missing-…and-pivotal-pem/7756
serverfault.com/questions/663310/chef-se…-fails-with-rabbitmq
discourse.chef.io/t/chef-12-server-dead-…nfigure-bombs/7435/7

Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Rajesh Kumar
Follow me
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x