我在 Chef 服务器配置过程中遇到了问题。当我第一次安装 Chef 服务器时,一切都很顺利。现在,由于我需要做一些测试,当我卸载 Chef 服务器并尝试再次安装并添加新用户时,会发生这种情况:
ERROR: Server returned error 502 for https://127.0.0.1/users/, retrying 1/5 in 4s
ERROR: Server returned error 502 for https://127.0.0.1/users/, retrying 2/5 in 5s
^C/opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/omnibus-ctl-0.4.2/lib/omnibus-ctl.rb:218:in `system': Interrupt
from /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/omnibus-ctl-0.4.2/lib/omnibus-ctl.rb:218:in `run_command'
from (eval):42:in `block (2 levels) in load_file'
from /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/omnibus-ctl-0.4.2/lib/omnibus-ctl.rb:190:in `call'
from /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/omnibus-ctl-0.4.2/lib/omnibus-ctl.rb:190:in `block in add_command_under_category'
from /opt/opscode/embedded/lib/ruby/gems/2.1.0/gems/omnibus-ctl-0.4.2/lib/omnibus-ctl.rb:661:in `run'
from /opt/opscode/embedded/service/omnibus-ctl/chef-server-ctl:192:in `<main>'
可能还值得一提的是,当我删除 Chef 服务器时,我会:
chef-server-ctl uninstall
rm -rf /etc/chef
rm -rf /etc/opscode
rm -rf /opt/opscode
rpm -e chef-server-core-12.2.0-1.el5
我正在使用 SLES 11 SP1
任何帮助表示赞赏。