# Chef Server start problem

**URL:** <https://discourse.chef.io/t/chef-server-start-problem/3746>\
**Category:** Chef Infra (archive)\
**Created:** [March 14, 2013, 6:12pm UTC](https://discourse.chef.io/t/chef-server-start-problem/3746 "2013-03-14T18:12:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Edward\_Pius](https://avatars.discourse-cdn.com/v4/letter/e/ba9def/32.png) [@Edward\_Pius](https://discourse.chef.io/u/Edward_Pius)\
**Post date:** [March 14, 2013, 6:12pm UTC](https://discourse.chef.io/t/chef-server-start-problem/3746/1 "2013-03-14T18:12:03Z")

</div>

Hello,

I am trying to configure Chef server piece-by-piece. I have successfully  
installed all the required components. When I try to start the Chef Server  
using the command “sudo chef-server -N -e production”, I get the following  
error:

Merb root at:  
/home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/chef-server-api-10.24.0  
~ No Gemfile found! If you’re generating new app with merb-gen this is fine,  
otherwise run: bundle init to create Gemfile  
Loading init file from ./config/init.rb  
/home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site\_ruby/1.9.1/rubygems/custom\_require.rb:59:in  
`require': no such file to load -- chef/webui_user (LoadError) from /home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in`rescue in require’  
from  
/home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site\_ruby/1.9.1/rubygems/custom\_require.rb:35:in  
`require' from /home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/chef-server-api-10.24.0/config/init.rb:34:in`\<top (required)\>'  
from  
/home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:529:in  
`load' from /home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:529:in`load\_initfile’  
from  
/home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:377:in  
`run' from /home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:97:in`run’  
from  
/home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core/server.rb:172:in  
`bootup' from /home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core/server.rb:42:in`start’  
from  
/home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core.rb:165:in  
`start' from /home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/chef-server-api-10.24.0/bin/chef-server:84:in`\<top (required)\>‘  
from /home/epius/.rvm/rubies/ruby-1.9.2-p320/bin/chef-server:19:in  
`load' from /home/epius/.rvm/rubies/ruby-1.9.2-p320/bin/chef-server:19:in`’

---

<div class="post-metadata">

**Author:** ![Ranjib](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/ranjib/32/1040_2.png) [@Ranjib](https://discourse.chef.io/u/Ranjib)\
**Post date:** [March 14, 2013, 6:28pm UTC](https://discourse.chef.io/t/chef-server-start-problem/3746/2 "2013-03-14T18:28:56Z")

</div>

1. chef server does not belong to any environment, you can run chef client  
in the server which may belong to some environment
2. which version you are using? starting chef 11, servers are distributed  
as omnibus installer. And they are written in erlang, it relatively easy to  
install / manage them

On Thu, Mar 14, 2013 at 11:12 AM, Edward Pius [epius@expedia.com](mailto:epius@expedia.com) wrote:

> Hello,
> 
> I am trying to configure Chef server piece-by-piece. I have successfully  
> installed all the required components. When I try to start the Chef Server  
> using the command "sudo chef-server -N -e production", I get the following  
> error:
> 
> Merb root at:
> 
> /home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/chef-server-api-10.24.0  
> ~ No Gemfile found! If you're generating new app with merb-gen this is  
> fine,  
> otherwise run: bundle init to create Gemfile  
> Loading init file from ./config/init.rb
> 
> /home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site\_ruby/1.9.1/rubygems/custom\_require.rb:59:in  
> `require': no such file to load -- chef/webui\_user (LoadError)  
> from
> 
> /home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site\_ruby/1.9.1/rubygems/custom\_require.rb:59:in  
> `rescue in require'  
> from
> 
> /home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site\_ruby/1.9.1/rubygems/custom\_require.rb:35:in  
> `require'  
> from
> 
> /home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/chef-server-api-10.24.0/config/init.rb:34:in  
> `\<top (required)\>'  
> from
> 
> /home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:529:in  
> `load'  
> from
> 
> /home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:529:in  
> `load\_initfile'  
> from
> 
> /home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:377:in  
> `run'  
> from
> 
> /home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core/bootloader.rb:97:in  
> `run'  
> from
> 
> /home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core/server.rb:172:in  
> `bootup'  
> from
> 
> /home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core/server.rb:42:in  
> `start'  
> from
> 
> /home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/merb-core-1.1.3/lib/merb-core.rb:165:in  
> `start'  
> from
> 
> /home/epius/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/gems/1.9.1/gems/chef-server-api-10.24.0/bin/chef-server:84:in  
> `<top (required)>' from /home/epius/.rvm/rubies/ruby-1.9.2-p320/bin/chef-server:19:in `load'  
> from /home/epius/.rvm/rubies/ruby-1.9.2-p320/bin/chef-server:19:in  
> `'
