0
我在Chef服务器配置期间遇到问题。 当我第一次安装Chef服务器时,一切都很顺利。现在,因为我需要做一些测试,当我卸载厨师服务器,我尝试重新安装它,并添加一个新用户,出现这种情况:ChefServer - 服务器返回错误502
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-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
任何帮助表示赞赏。
安装后您是否运行chef-server-ctl reconfigure? –
是的,但我想卸载它。我通过尝试几件事情找到了答案。 – Ramzendo
请问为什么你重新安装使用'chef-server-ctl cleanse'安装时会返回全新安装状态? – Tensibai