# Problem starting mongrel cluster

**URL:** <https://www.ruby-forum.com/t/problem-starting-mongrel-cluster/112343>\
**Category:** Deployment\
**Created:** [August 17, 2007, 6:24pm UTC](https://www.ruby-forum.com/t/problem-starting-mongrel-cluster/112343 "2007-08-17T18:24:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vince](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/b5e925/32.png) [@vince](https://www.ruby-forum.com/u/vince)\
**Post date:** [August 17, 2007, 6:24pm UTC](https://www.ruby-forum.com/t/problem-starting-mongrel-cluster/112343/1 "2007-08-17T18:24:51Z")

</div>

I’m having an odd issue with mongrel cluster 1.0.2 on ubuntu feisty  
which I could sure use a hand with:

I’m starting the cluster like this and get no errors  
mongrel\_rails cluster::start -v

starting port 8000  
mongrel\_rails start -d -e production -a 127.0.0.1 -c /var/www/cc1 --user  
www-data --group www-data -p 8000 -P log/mongrel.8000.pid -l  
log/mongrel.8000.log  
starting port 8001  
mongrel\_rails start -d -e production -a 127.0.0.1 -c /var/www/cc1 --user  
www-data --group www-data -p 8001 -P log/mongrel.8001.pid -l  
log/mongrel.8001.log  
starting port 8002  
mongrel\_rails start -d -e production -a 127.0.0.1 -c /var/www/cc1 --user  
www-data --group www-data -p 8002 -P log/mongrel.8002.pid -l  
log/mongrel.8002.log

Despite no errors, no mongrels are running:

ps aux | grep mongrel  
root 8198 0.0 0.1 3856 584 pts/0 S+ 12:21 0:00 grep  
mongrel

## Here’s my mongrel\_cluster.yml file:

cwd: /var/www/cc1  
port: 8000  
environment: production  
group: www-data  
user: www-data  
address: 127.0.0.1  
pid\_file: log/mongrel.pid  
servers: 3

/var/www/cc1 is chowned for www-data:www-data

Also, FWIW, mongrel\_rails start in my app directory does work…

Thanks in advance…

---

<div class="post-metadata">

**Author:** ![vince](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/b5e925/32.png) [@vince](https://www.ruby-forum.com/u/vince)\
**Post date:** [August 17, 2007, 6:28pm UTC](https://www.ruby-forum.com/t/problem-starting-mongrel-cluster/112343/2 "2007-08-17T18:28:11Z")

</div>

Vince W. wrote:

> I’m having an odd issue with mongrel cluster 1.0.2 on ubuntu feisty  
> which I could sure use a hand with:  
> [snip]  
> Despite no errors, no mongrels are running:
> 
> ps aux | grep mongrel  
> root 8198 0.0 0.1 3856 584 pts/0 S+ 12:21 0:00 grep  
> mongrel

Anything in the log files?

John

---

<div class="post-metadata">

**Author:** ![vince](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/b5e925/32.png) [@vince](https://www.ruby-forum.com/u/vince)\
**Post date:** [August 17, 2007, 6:34pm UTC](https://www.ruby-forum.com/t/problem-starting-mongrel-cluster/112343/3 "2007-08-17T18:34:11Z")

</div>

On 17 Aug 2007, at 17:24, Vince W. wrote:

> www-data --group www-data -p 8000 -P log/mongrel.8000.pid -l  
> log/mongrel.8002.log  
> port: 8000  
> environment: production  
> group: www-data  
> user: www-data  
> address: 127.0.0.1  
> pid\_file: log/mongrel.pid  
> servers: 3
> 
> /var/www/cc1 is chowned for www-data:www-data
> 
> Also, FWIW, mongrel\_rails start in my app directory does work…

With all the same modifiers at the command line?

---

<div class="post-metadata">

**Author:** ![vince](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/b5e925/32.png) [@vince](https://www.ruby-forum.com/u/vince)\
**Post date:** [August 17, 2007, 6:37pm UTC](https://www.ruby-forum.com/t/problem-starting-mongrel-cluster/112343/4 "2007-08-17T18:37:16Z")

</div>

Yikes, the log says it works and all of a sudden it does:  
ps aux | grep mongrel

www-data 8239 0.5 9.7 118928 51092 ? S 12:30 0:01  
/usr/bin/ruby /usr/bin/mongrel\_rails start -d -e production -a  
127.0.0.1 -c /var/www/cc1 --user www-data --group www-data -p 8000 -P  
log/mongrel.8000.pid -l log/mongrel.8000.log  
www-data 8242 0.5 9.3 116852 48980 ? S 12:30 0:01  
/usr/bin/ruby /usr/bin/mongrel\_rails start -d -e production -a  
127.0.0.1 -c /var/www/cc1 --user www-data --group www-data -p 8001 -P  
log/mongrel.8001.pid -l log/mongrel.8001.log  
www-data 8245 0.5 9.3 116856 48924 ? S 12:30 0:01  
/usr/bin/ruby /usr/bin/mongrel\_rails start -d -e production -a  
127.0.0.1 -c /var/www/cc1 --user www-data --group www-data -p 8002 -P  
log/mongrel.8002.pid -l log/mongrel.8002.log  
root 8253 0.0 0.1 3856 580 pts/1 S+ 12:35 0:00 grep  
mongrel

I must be going insane… sorry for the disturbance and thanks for the  
quick responses!

-Vince

On 8/17/07, James McCarthy [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > starting port 8002
> > 
> > >
> 
> >

–  
support independent business – [http://www.buyindie.net/](http://www.buyindie.net/)
