# Chef server throwing error while doing reconfigure

**URL:** <https://discourse.chef.io/t/chef-server-throwing-error-while-doing-reconfigure/8066>\
**Category:** Chef Infra (archive)\
**Created:** [March 25, 2016, 1:27am UTC](https://discourse.chef.io/t/chef-server-throwing-error-while-doing-reconfigure/8066 "2016-03-25T01:27:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mastarke](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@mastarke](https://discourse.chef.io/u/mastarke)\
**Post date:** [March 25, 2016, 1:27am UTC](https://discourse.chef.io/t/chef-server-throwing-error-while-doing-reconfigure/8066/1 "2016-03-25T01:27:03Z")

</div>

When I try to run chef server reconfigure I get the following error

========================================================================  
Error executing action `run` on resource ‘execute[/opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait /var/opt/opscode/rabbitmq/db/rabbit@localhost.pid]’  
========================================================================

I also see this at the end of the log :

Running handlers:  
[2016-03-24T18:18:28-07:00] ERROR: Running exception handlers  
Running handlers complete  
[2016-03-24T18:18:28-07:00] ERROR: Exception handlers complete  
Chef Client failed. 21 resources updated in 40 seconds  
[2016-03-24T18:18:28-07:00] FATAL: Stacktrace dumped to /opt/opscode/embedded/cookbooks/cache/chef-stacktrace.out  
[2016-03-24T18:18:28-07:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report  
[2016-03-24T18:18:30-07:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: execute[/opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait /var/opt/opscode/rabbitmq/db/rabbit@localhost.pid] (private-chef::rabbitmq line 110) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received ‘2’  
---- Begin output of /opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait /var/opt/opscode/rabbitmq/db/rabbit@localhost.pid ----  
STDOUT: Waiting for rabbit@localhost …  
pid is 26083 …  
STDERR: Error: process\_not\_running  
---- End output of /opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait /var/opt/opscode/rabbitmq/db/rabbit@localhost.pid ----  
Ran /opt/opscode/embedded/bin/chpst -u opscode -U opscode /opt/opscode/embedded/bin/rabbitmqctl wait /var/opt/opscode/rabbitmq/db/rabbit@localhost.pid returned 2

How can I resolve this ?

---

<div class="post-metadata">

**Author:** ![jjasghar](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/jjasghar/32/1691_2.png) [@jjasghar](https://discourse.chef.io/u/jjasghar)\
**Post date:** [March 25, 2016, 1:32am UTC](https://discourse.chef.io/t/chef-server-throwing-error-while-doing-reconfigure/8066/2 "2016-03-25T01:32:28Z")

</div>

What’s the size of the machine? RAM CPU etc?
