While uploading cookbook to chef 11 server (OEL), I was getting the below errors C:\Users\Administrator>knife cookbook upload testcookbook Uploading testcookbook [0.1.0] ERROR: Network Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2) Check your knife configuration and network settings C:\Users\Administrator>knife cookbook upload testcookbook Uploading testcookbook1 [0.1.0] ERROR: Network Error: getaddrinfo: No such host is known. Check your knife configuration and network settings To find what is causing this issue, I ran knife cookbook upload in debug mode C:\Users\Administrator>knife cookbook upload testcookbook -s https://192.168.56.11 -V Uploading testcookbook [0.1.0] INFO: Validating ruby files INFO: Validating templates INFO: Syntax OK INFO: Saving testcookbook INFO: Uploading files I...
RabbitMQ does not start on Oracle Enterprise Linux, ruby_block[supervise_rabbitmq_sleep] action run hungs up/stops configuration
After installation of chef 11 server on oracle enterprise linux, while configuring using below command hangs up/stops at this line ruby_block[supervise_rabbitmq_sleep] action run #chef-server-ctl reconfigure Solution: I had to modify the below file, added oracle. So that recipe "runint::upstart" is include and not "runint::sysvinit", then the configuration started executing next steps... /opt/chef-server/embedded/cookbooks/runit/recipes/default.rb Changed file looks like this