# Mongrel\_service problems

**URL:** <https://www.ruby-forum.com/t/mongrel-service-problems/150474>\
**Category:** Mongrel\
**Created:** [October 8, 2008, 11:44pm UTC](https://www.ruby-forum.com/t/mongrel-service-problems/150474 "2008-10-08T23:44:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glen\_H](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/34f0e0/32.png) [@Glen\_H](https://www.ruby-forum.com/u/Glen_H)\
**Post date:** [October 8, 2008, 11:44pm UTC](https://www.ruby-forum.com/t/mongrel-service-problems/150474/1 "2008-10-08T23:44:59Z")

</div>

I have installed mongrel\_service and created a service instance with the  
-l  
flag and the -B flag but I still don’t get any useful feedback.

When trying to connect to my server via Apache I get a 503 error and  
when  
connecting directly ([http://127.0.0.1:3000](http://127.0.0.1:3000)) I get a timeout.

The files.log just has a list of log files in it for each request and  
the  
rest of the log files have nothing but lines saying TRACING but nothing  
that  
looks like info to me.

The log file I specified in the -l flag isn’t appearing. I’ve tried  
giving  
the full path and file name and I’ve tried a relative path  
“log/mongrel\_service.log”

What am I doing wrong?

-Glen

–  
“Hey brother Christian with your high and mighty errand, Your actions  
speak  
so loud, I can’t hear a word you’re saying.”

-Greg Graffin (Bad Religion)

---

<div class="post-metadata">

**Author:** ![Glen\_H](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/34f0e0/32.png) [@Glen\_H](https://www.ruby-forum.com/u/Glen_H)\
**Post date:** [October 9, 2008, 2:31am UTC](https://www.ruby-forum.com/t/mongrel-service-problems/150474/2 "2008-10-09T02:31:43Z")

</div>

On Wed, Oct 8, 2008 at 6:44 PM, Glen H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> The log file I specified in the -l flag isn’t appearing. I’ve tried giving  
> the full path and file name and I’ve tried a relative path  
> “log/mongrel\_service.log”
> 
> What am I doing wrong?

Right now mongrel\_service has a huge drawback: it doesn’t let you log  
to different files.

Blame me, blame the no argument parsing of the redirected terminals 😛

Did you tried executing your application with mongrel\_rails standalone  
instead of the service first?

Also, you can “mimic” what the service does from the terminal, asi  
described previous in several threads in this list (search google for  
mongrel\_service debug console).

Here some pointer:

[http://rubyforge.org/pipermail/mongrel-users/2007-February/003004.html](http://rubyforge.org/pipermail/mongrel-users/2007-February/003004.html)

I should definitely collect a list of that stuff and make a blog post  
😛

## – Luis L. AREA 17

Human beings, who are almost unique in having the ability to learn from  
the experience of others, are also remarkable for their apparent  
disinclination to do so.  
Douglas Adams

---

<div class="post-metadata">

**Author:** ![Glen\_H](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/34f0e0/32.png) [@Glen\_H](https://www.ruby-forum.com/u/Glen_H)\
**Post date:** [October 10, 2008, 1:48am UTC](https://www.ruby-forum.com/t/mongrel-service-problems/150474/3 "2008-10-10T01:48:40Z")

</div>

On Wed, Oct 8, 2008 at 8:30 PM, Luis L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> that  
> Right now mongrel\_service has a huge drawback: it doesn’t let you log
> 
> Human beings, who are almost unique in having the ability to learn from  
> the experience of others, are also remarkable for their apparent  
> disinclination to do so.  
> Douglas Adams
> 
> * * *
> 
> Mongrel-users mailing list  
> removed\_email\_address@domain.invalid  
> [http://rubyforge.org/mailman/listinfo/mongrel-users](http://rubyforge.org/mailman/listinfo/mongrel-users)

Thanks for the suggestion running mongrel\_rails on it’s own led me  
straight  
to the problem.

–  
“Hey brother Christian with your high and mighty errand, Your actions  
speak  
so loud, I can’t hear a word you’re saying.”

-Greg Graffin (Bad Religion)

---

<div class="post-metadata">

**Author:** ![Glen\_H](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/34f0e0/32.png) [@Glen\_H](https://www.ruby-forum.com/u/Glen_H)\
**Post date:** [October 10, 2008, 1:56am UTC](https://www.ruby-forum.com/t/mongrel-service-problems/150474/4 "2008-10-10T01:56:17Z")

</div>

On Thu, Oct 9, 2008 at 8:47 PM, Glen H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> On Wed, Oct 8, 2008 at 8:30 PM, Luis L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> Thanks for the suggestion running mongrel\_rails on it’s own led me straight  
> to the problem.

Could you please post your findings? Google will help others facing  
the same situation

## Thank you

## Luis L. AREA 17

Human beings, who are almost unique in having the ability to learn from  
the experience of others, are also remarkable for their apparent  
disinclination to do so.  
Douglas Adams

---

<div class="post-metadata">

**Author:** ![Glen\_H](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/34f0e0/32.png) [@Glen\_H](https://www.ruby-forum.com/u/Glen_H)\
**Post date:** [October 10, 2008, 4:12pm UTC](https://www.ruby-forum.com/t/mongrel-service-problems/150474/5 "2008-10-10T16:12:21Z")

</div>

On Thu, Oct 9, 2008 at 5:55 PM, Luis L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> the same situation
> 
> * * *
> 
> Mongrel-users mailing list  
> removed\_email\_address@domain.invalid  
> [http://rubyforge.org/mailman/listinfo/mongrel-users](http://rubyforge.org/mailman/listinfo/mongrel-users)

The problem was that I had Mongrel 1.0.1 and 1.1.5 installed.  
Apparently  
mongrel\_rails was getting confused. I uninstalled 1.0.1 and everything  
worked fine.

–  
“Hey brother Christian with your high and mighty errand, Your actions  
speak  
so loud, I can’t hear a word you’re saying.”

-Greg Graffin (Bad Religion)
