[Mongrel] Best Distro for Mongrel

James Hughes hughes.james at gmail.com
Tue Nov 7 17:56:36 EST 2006


On 11/7/06, Will Gant <williamwgant at yahoo.com> wrote:
<snip>
> I then tried the following:
>
> wgant at sauron:/etc/mongrel/sites-enabled$ mongrel_rails start -G test.config
> -e production -l /home/wgant/mongrel.log
> !!! Path to pid file not valid: log/mongrel.pid
> start reported an error. Use mongrel_rails start -h to get help.
> wgant at sauron:/etc/mongrel/sites-enabled$ mongrel_rails start -G test.config
> -e production -l /home/wgant/mongrel.log -p /home/wgant/mongrel.pid
> !!! Path to pid file not valid: log/mongrel.pid
> start reported an error. Use mongrel_rails start -h to get help.
> wgant at sauron:/etc/mongrel/sites-enabled$ mongrel_rails start -G test.config
> -e production -l /home/wgant/mongrel.log -P /home/wgant/mongrel.pid
> !!! Path to docroot not valid: public
> start reported an error. Use mongrel_rails start -h to get help.

Hi,
the paths mongrel is looking for (log and public) are generated
automatically by the 'rails' command. mongrel_rails expects to be
started from the root of the file structure created by this command,
eg:

rails myapp
cd myapp
mongrel_rails start

James


More information about the Mongrel-users mailing list