Mongrel_service problems

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) 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)

On Wed, Oct 8, 2008 at 6:44 PM, Glen H. [email protected]
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 :stuck_out_tongue:

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

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


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

On Wed, Oct 8, 2008 at 8:30 PM, Luis L. [email protected]
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
[email protected]
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)

On Thu, Oct 9, 2008 at 8:47 PM, Glen H. [email protected]
wrote:

On Wed, Oct 8, 2008 at 8:30 PM, Luis L. [email protected] 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

On Thu, Oct 9, 2008 at 5:55 PM, Luis L. [email protected]
wrote:

the same situation


Mongrel-users mailing list
[email protected]
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)