# Mongrel\_service error

**URL:** <https://www.ruby-forum.com/t/mongrel-service-error/137751>\
**Category:** Rails\
**Created:** [May 15, 2008, 11:54pm UTC](https://www.ruby-forum.com/t/mongrel-service-error/137751 "2008-05-15T23:54:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/8c91f0/32.png) [@Glen](https://www.ruby-forum.com/u/Glen)\
**Post date:** [May 15, 2008, 11:54pm UTC](https://www.ruby-forum.com/t/mongrel-service-error/137751/1 "2008-05-15T23:54:40Z")

</div>

I have an odd situation. When running my app in production mode via  
mongrel\_service several things do not work at all. However when  
running in production mode with mongrel from the command line  
everything works as expected. Has anyone seen behavior like this  
before?

---

<div class="post-metadata">

**Author:** ![Glen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/8c91f0/32.png) [@Glen](https://www.ruby-forum.com/u/Glen)\
**Post date:** [May 16, 2008, 7:29am UTC](https://www.ruby-forum.com/t/mongrel-service-error/137751/2 "2008-05-16T07:29:59Z")

</div>

On Thu, 2008-05-15 at 14:54 -0700, Glen wrote:

> I have an odd situation. When running my app in production mode via  
> mongrel\_service several things do not work at all. However when  
> running in production mode with mongrel from the command line  
> everything works as expected. Has anyone seen behavior like this  
> before?

* * *

you probably need to set user/group in mongrel configuration because out  
of the box, it is unset. If it works from command line, figure out your  
user/group first…

whoami  
groups

and then set them in the mongrel\_cluster configuration.

I found that the README that comes with mongrel\_cluster extremely  
useful. On Red Hat/Fedora/CentOS systems, it is located at…

/usr/lib/ruby/gems/1.8/gems/mongrel\_cluster-0.2.1/README

Craig

---

<div class="post-metadata">

**Author:** ![Glen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/8c91f0/32.png) [@Glen](https://www.ruby-forum.com/u/Glen)\
**Post date:** [May 16, 2008, 5:21pm UTC](https://www.ruby-forum.com/t/mongrel-service-error/137751/3 "2008-05-16T17:21:25Z")

</div>

Thanks Craig,

I’ll look into mongrel\_cluster. I’m unfortunately stuck running this  
in Windows so I’ll see how much translates.
