# How to make mongrel\_cluster start when system boot up?

**URL:** <https://www.ruby-forum.com/t/how-to-make-mongrel-cluster-start-when-system-boot-up/90721>\
**Category:** Rails\
**Created:** [March 31, 2007, 1:43pm UTC](https://www.ruby-forum.com/t/how-to-make-mongrel-cluster-start-when-system-boot-up/90721 "2007-03-31T13:43:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/82dd89/32.png) [@xain](https://www.ruby-forum.com/u/xain)\
**Post date:** [March 31, 2007, 1:43pm UTC](https://www.ruby-forum.com/t/how-to-make-mongrel-cluster-start-when-system-boot-up/90721/1 "2007-03-31T13:43:30Z")

</div>

I set up my mongrel by following this article http://mongrel.rubyforge.org/docs/mongrel\_cluster.html,  
Now the website works fine(at least I think so, It’s at:http://www.jobherenow.com)  
The problem is that the mongrel wouldn’t start when the server boot up,  
so I need to start it manually with:  
/etc/init.d/mongrel\_cluster start  
command.  
any idea to solve it?  
I use Ubuntu.

---

<div class="post-metadata">

**Author:** ![xain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/82dd89/32.png) [@xain](https://www.ruby-forum.com/u/xain)\
**Post date:** [March 31, 2007, 2:26pm UTC](https://www.ruby-forum.com/t/how-to-make-mongrel-cluster-start-when-system-boot-up/90721/2 "2007-03-31T14:26:13Z")

</div>

Hi, you should link your initialization script /etc/init.d/  
mongrel\_cluster to /etc/rc2.d/  
The inittab manpage should help you

On Mar 31, 8:43 am, Nanyang Z. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![xain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/82dd89/32.png) [@xain](https://www.ruby-forum.com/u/xain)\
**Post date:** [March 31, 2007, 3:57pm UTC](https://www.ruby-forum.com/t/how-to-make-mongrel-cluster-start-when-system-boot-up/90721/3 "2007-03-31T15:57:47Z")

</div>

PaÅ­lo Geyer wrote:

> Hi, you should link your initialization script /etc/init.d/  
> mongrel\_cluster to /etc/rc2.d/  
> The inittab manpage should help you

yes, I did those, as the article said.  
no I can start mongrel with:  
/etc/init.d/mongrel\_cluster start

though I’ve add a mongrel\_cluster link to /etc/rc2.d/, it won’t start.  
I’ve also changed it from S20mongrel\_cluster to S99mongrel\_cluster, but  
it makes no difference.
