I had my Chef server running fine until I changed the static IP address of my virtual machine.
When I tried to upload by data bag from my workstation it was failing with the below error
ERROR: internal server error
Response: Connection failed - user: chef
While investigating I found that rabbitMQ service was not started and when I tried to restart the service I got the below error.
When I tried to upload by data bag from my workstation it was failing with the below error
ERROR: internal server error
Response: Connection failed - user: chef
While investigating I found that rabbitMQ service was not started and when I tried to restart the service I got the below error.
Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_log, _err
rabbitmq-server.
...further investigation I found that in /etc/hosts file there was an entry of my old
static ip address against chef server
So I changed it to localhost i.e 127.0.0.1
...
then i was able to restart rabbitMQ service and also was able to upload data bags into
chef server
Comments
Post a Comment