The chef server will not start - starting the chef server B 16011 Fail

olr How do I deal with below?

/etc/init.d/chef-server-webui start
 * Starting chef-server-webui
 ~ In 15468
  ...fail!

root@li409-115:/etc/init.d# /etc/init.d/chef-server start
 * Starting chef-server
 ~ In 16011
  ...fail!

      

There is nothing in the log files in /var/log/chef/server.log or Server-webui.log

starting the chef client and running solr.

So ... how to decide?

+3


source to share


2 answers


Workaround:

  • Make sure the chef-server-webui service is stopped: sudo / etc / init.d / chef-server-webui stop

  • Start the web user interface manually (it will write to the console, not the log file): sudo / usr / sbin / chef-server-webui

  • When the process is finished ("Successfully bound to port 4040"), stop it with Ctrl-C

  • Start the chef-server-webui service: sudo / etc / init.d / chef-server-webui start



The service should now start and log into / var / log / chef / server-webui.log.

+8


source


I looked through this link and it worked for me https://tickets.opscode.com/browse/CHEF-3204 I ran below commands on my chef VM server (ubuntu 12.04). You may need sudo su. I think my problem was that couchdb was not working. Please note that consistency is important



  • /etc/init.d/couchdb stop
  • /etc/init.d/couchdb start
  • /etc/init.d/rabbitmq-server stop
  • /etc/init.d/rabbitmq-server start
  • /etc/init.d/chef-solr stop
  • /etc/init.d/chef-solr start
  • /etc/init.d/chef-expander stop
  • /etc/init.d/chef-expander start
  • /etc/init.d/chef-server stop
  • /etc/init.d/chef-server start
  • /etc/init.d/chef-server-webui stop
  • /etc/init.d/chef-server-webui start
0


source







All Articles