# Failed to run chef-server-ctl reconfigure

**URL:** <https://discourse.chef.io/t/failed-to-run-chef-server-ctl-reconfigure/21136>\
**Category:** Chef Infra (archive)\
**Created:** [June 3, 2022, 10:37pm UTC](https://discourse.chef.io/t/failed-to-run-chef-server-ctl-reconfigure/21136 "2022-06-03T22:37:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![heng](https://avatars.discourse-cdn.com/v4/letter/h/c77e96/32.png) [@heng](https://discourse.chef.io/u/heng)\
**Post date:** [June 3, 2022, 10:37pm UTC](https://discourse.chef.io/t/failed-to-run-chef-server-ctl-reconfigure/21136/1 "2022-06-03T22:37:01Z")

</div>

**BackGround**  
We are trying to configure chef ha application in our Azure environment following the documentation provided by chef High Availability: Chef Backend. The frontend and backend are in the same subnet and we have enabled communcations between the machines by opening up the nsg rules. We copied over the chef-server.rb file from the backend to the front end.

**Issue**  
While trying to create the frontend leader running chef-server-ctl reconfigure on Ubuntu server version 20.04 as well as 18.04. We received the following errors:

**Error**  
Running handlers:  
Running handlers complete  
Chef Client failed. 22 resources updated in 37 seconds  
[2022-06-03T22:14:10+00:00] FATAL: Stacktrace dumped to /var/opt/opscode/local-mode-cache/chef-stacktrace.out  
[2022-06-03T22:14:10+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report  
[2022-06-03T22:14:10+00:00] **FATAL: EOFError: elasticsearch\_index[chef] (private-chef::opscode-solr4-external line 23) had an error: EOFError: end of file reached**
