# mongrel\_rails\_service is not recognized command error

**URL:** <https://discuss.rubyonrails.org/t/mongrel-rails-service-is-not-recognized-command-error/20438>\
**Category:** rubyonrails-talk\
**Created:** [November 14, 2007, 8:32pm UTC](https://discuss.rubyonrails.org/t/mongrel-rails-service-is-not-recognized-command-error/20438 "2007-11-14T20:32:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob\_Showalter](https://avatars.discourse-cdn.com/v4/letter/b/c57346/32.png) [@Bob\_Showalter](https://discuss.rubyonrails.org/u/Bob_Showalter)\
**Post date:** [November 14, 2007, 8:32pm UTC](https://discuss.rubyonrails.org/t/mongrel-rails-service-is-not-recognized-command-error/20438/1 "2007-11-14T20:32:47Z")

</div>

The format is:

&nbsp;&nbsp;&nbsp;mongrel\_rails service::install -N rails\_app2 -p 4001

(note space between mongrel\_rails and service, and double-colon between service and install)

Documented here: [http://mongrel.rubyforge.org/docs/win32.html](http://mongrel.rubyforge.org/docs/win32.html)

HTH

---

<div class="post-metadata">

**Author:** ![bphogan](https://sea2.discourse-cdn.com/rubyonrails/user_avatar/discuss.rubyonrails.org/bphogan/32/4186_2.png) [@bphogan](https://discuss.rubyonrails.org/u/bphogan)\
**Post date:** [November 15, 2007, 12:20am UTC](https://discuss.rubyonrails.org/t/mongrel-rails-service-is-not-recognized-command-error/20438/2 "2007-11-15T00:20:50Z")

</div>

Hi!

Those articles are woefully out of date because they’ve been rolled into “Deploying Rails Applications”. See [http://www.pragprog.com/titles/fr\_deploy](http://www.pragprog.com/titles/fr_deploy) for details.

Most of those approaches aren’t really recommended anymore… Instead, you should consider Apache 2.2 + mod\_proxy\_balance, behind IIS if possible. Exact details are in the book, or you can contact me for specific help.
