[Mongrel] Mongrel won't start as user nobody

Cynthia Kiser cnk at caltech.edu
Tue Feb 26 01:00:18 EST 2008

Check to see if the user nobody can run 'gem list'. I saw errors
similar to this from some gems installed with too restrictive

Quoting Andrew Ohnstad <andrew.ohnstad at gmail.com>:
> Hi all,
> My mongrel cluster runs perfectly if I allow it to run as root, but whenever
> I try to change things to nobody/nobody my mongrels refuse to start and the
> following shows up in the mongrel logs.   I have checked all the relevant
> file permissions and "nobody" should be able to access everything needed.
> ** Starting Mongrel listening at
> ** Initiating groups for "nobody":"nobody".
> ** Changing group to "nobody".
> ** Changing user to "nobody".
> ** Starting Rails with development environment...
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require': no such file to load -- /usr/local/lib/ruby/
> gems/1.8/gems/rails-1.2.6/lib/initializer (LoadError)
>         from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:27:in `require'
>         from /opt/csw/apache2/share/htdocs/apps/boffable_development/
> trunk/config/boot.rb:30

More information about the Mongrel-users mailing list