Testing Mongrel Configuration

Will Gant
Fri, 13 Oct 2006 15:03:41 -0000

Hello all,
I''m trying to get mongrel set up under Apache, but first I''d
like to test Mongrel to make sure it is set up correctly (before going through
all the trouble with Apache).

I''ve done the following so far:
1) Installed Mongrel
2) Set up a Rails site called test
3) Added a file called test.config to my /etc/mongrel/sites-enabled/ directory.
4) Started Mongrel

I then did the following to start Mongrel
sudo /etc/init.d/mongrel start test

And received the following error message:
line 43: /etc/mongrel/sites-enabled/test: No such file or directory

Here are the contents of my /etc/mongrel/sites-enabled/test.config file:
#RAILS_ROOT of your application
dir=/home/wgant/Desktop/test
#port the first mongrel instance should listen to, additional instances listen
to ports above
port=8100
#number of instances
servers=3
#port pen will listen on
proxy_port=8001

Any thoughts? I imagine that it''s probably something simple, but I
don''t know what it is.



---------------------------------
Do you Yahoo!?
 Get on board. You''re invited to try the new Yahoo! Mail.