FIX::chef-server, ERROR: Connection refused connecting to https://127.0.0.1/users

$chef-server-ctl user-list or $chef-server-ctl user-crate ...

ERROR: Connection refused connecting to https://127.0.0.1/users, retry 1/5
ERROR: Connection refused connecting to https://127.0.0.1/users, retry 2/5
ERROR: Connection refused connecting to https://127.0.0.1/users, retry 3/5
ERROR: Connection refused connecting to https://127.0.0.1/users, retry 4/5
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

$chef-server-ctl tail nginx

2015-07-03_07:38:21.24862 nginx: [emerg] invalid number of arguments in "server_name" directive in /var/opt/opscode/nginx/etc/chef_https_lb.conf:3
2015-07-03_07:38:22.27220 nginx: [emerg] invalid number of arguments in "server_name" directive in /var/opt/opscode/nginx/etc/chef_https_lb.conf:3
2015-07-03_07:38:23.30000 nginx: [emerg] invalid number of arguments in "server_name" directive in /var/opt/opscode/nginx/etc/chef_https_lb.conf:3
2015-07-03_07:38:24.32450 nginx: [emerg] invalid number of arguments in "server_name" directive in /var/opt/opscode/nginx/etc/chef_https_lb.conf:3

언제나 /etc/hosts는 귀찮은 존재다.
$vi /etc/hosts
add "IP HOSTNAME" onto /etc/hosts file

ex)
192.168.56.101 hostname

$chef-server-ctl reconfigure

댓글

이 블로그의 인기 게시물

FIX::장치가 더 이상 응답하지않거나 연결이 끊어졌습니다.

mysql DATETIME형의 기본값으로 현재시간 설정

FIX :: LACP bonding 구성시 트래픽이 한쪽 포트로 몰리는 현상