[chef] Re: Re: Re: Search not working on new OSS chef server install


Chronological Thread 
  • From: Gourav Shah < >
  • To:
  • Subject: [chef] Re: Re: Re: Search not working on new OSS chef server install
  • Date: Tue, 11 Dec 2012 00:21:32 +0530


chef expander is running, couldn't get the command Gourav pasted to work, but "ps aux | grep chef-expander" returns:

root      2828  0.0  0.3  83016 16132 ?        S    16:17   0:00 /usr/bin/ruby1.8 /usr/bin/chef-expander -d -c /etc/chef/solr.rb -P /var/run/chef/expander.pid -L /var/lo               .log -n 1 -i 1
root      2829  2.4  1.2 123248 51720 ?        S    16:17   2:57 chef-expander worker #1 (vnodes 0-1023)

ok. the problem I had with chef server on ubuntu 12.04 was two versions of eventmachine gem which were conflicting and not letting chef-expander start.  This was causing serarch to return zero results. 

you could check the eventmachine versions with  
gem list eventmachine 

I had two of those installed, 0.12.10 and 1.0.0. Uninstalling the later using following command, and restarting chef-expander resolved my problem. 

        sudo gem uninstall eventmachine --version 1.0.0 

Thanks
Gourav





Archive powered by MHonArc 2.6.16.

§