I am trying to install the chef server (chef-server-core-12.1.0-1.el6.x86_64.rpm) on my CentOS 6.5 computer using this guide: http://docs.chef.io/server/install_server.html# standalone This is a test environment, so I do not have a fully qualified domain name, but the IP address is resolved. After running the chef-server-ctl configuration, I will try to create a user using:
[ root@xxx-xxx-xxx-xxx ~]
I fill in the relevant data in the above command, but I keep getting this error:
ERROR: Connection refused connecting to https://127.0.0.1/users/, retry 5/5 ERROR: Network Error: Connection refused - Connection refused connecting to https://127.0.0.1/users/, giving up Check your knife configuration and network settings
The ngnix service is running continuously, cannot start it. After going through the magazines:
tail -f /var/log/opscode/nginx/current 2015-07-01_10:59:00.69218 nginx: [emerg] invalid number of arguments in "server_name" directive in /var/opt/opscode/nginx/etc/chef_https_lb.conf:3
The chef_https_lb.conf file is as follows:
server { listen 443; server_name ; access_log /var/log/opscode/nginx/access.log opscode;
I'm not sure what is going wrong. Has anyone shed light please?
chef
Madz
source share