error on following the manual
- From:
- michael j pan
- Date:
- 2011-08-12 @ 05:14
Hi all,
I am new to mongrel2, and am trying to run through the tutorial in the
manual. Everything seems fine until section "4.4 Step 2: The
mongrel2.org Configuration", step 6, "Finally, change any mention of
“mongrel2.org” into “localhost” so that you can run it locally."
Fresh install on Ubuntu 10.04, with zeromq 2.1.7, and mongrel2 1.7.5
If I don't do step 6, then mongrel2 starts fine. But if I do step 6,
and replace the name of the host from "mongrel2.org" to "localhost",
as well as "default_host" field in the "main" server, then I get the
following error. Any ideas?
mjpan@ubuntu:~/deployment$ m2sh start -db config.sqlite -host mongrel2.org
[ERROR] (src/config/db.c:117: errno: No such file or directory) Row is
past end of result set: 0 > 0
[ERROR] (errno: None) Invalid schema for row, should be: tns_tag_string
[ERROR] (errno: None) Failed to run internal operation.
Thanks
Mike
Re: [mongrel2] error on following the manual
- From:
- Zed A. Shaw
- Date:
- 2011-08-12 @ 16:46
On Fri, Aug 12, 2011 at 01:14:20PM +0800, michael j pan wrote:
> Hi all,
>
> I am new to mongrel2, and am trying to run through the tutorial in the
> manual. Everything seems fine until section "4.4 Step 2: The
> mongrel2.org Configuration", step 6, "Finally, change any mention of
> “mongrel2.org” into “localhost” so that you can run it locally."
Can you toss your config into:
http://codepad.org/
So I can take a look?
--
Zed A. Shaw
http://zedshaw.com/
Re: [mongrel2] error on following the manual
- From:
- Tordek
- Date:
- 2011-08-12 @ 08:23
On 12/08/11 02:14, michael j pan wrote:
> Hi all,
>
> following error. Any ideas?
>
> mjpan@ubuntu:~/deployment$ m2sh start -db config.sqlite -host mongrel2.org
You're changing the config file so that "mongrel2.org" doesn't
exists, and then asking mongrel2 to run mongrel2.org.
Do this:
m2sh start -db config.sqlite -host localhost
Just like it says in the manual[0].
> Thanks
> Mike
[0] http://mongrel2.org/static/mongrel2-manual.html#x1-500004.4
--
Guillermo O. «Tordek» Freschi. Programador, Escritor, Genio Maligno.
http://tordek.com.ar :: http://twitter.com/tordek
http://www.arcanopedia.com.ar - Juegos de Rol en Argentina
Re: [mongrel2] error on following the manual
- From:
- michael j pan
- Date:
- 2011-08-12 @ 09:03
Doh! careless error. Thanks for the catch.
Mike
On Fri, Aug 12, 2011 at 16:23, Tordek <kedrot@gmail.com> wrote:
> On 12/08/11 02:14, michael j pan wrote:
>> Hi all,
>>
>> following error. Any ideas?
>>
>> mjpan@ubuntu:~/deployment$ m2sh start -db config.sqlite -host mongrel2.org
>
> You're changing the config file so that "mongrel2.org" doesn't
> exists, and then asking mongrel2 to run mongrel2.org.
>
> Do this:
>
> m2sh start -db config.sqlite -host localhost
>
> Just like it says in the manual[0].
>
>> Thanks
>> Mike
>
> [0] http://mongrel2.org/static/mongrel2-manual.html#x1-500004.4
> --
> Guillermo O. «Tordek» Freschi. Programador, Escritor, Genio Maligno.
> http://tordek.com.ar :: http://twitter.com/tordek
> http://www.arcanopedia.com.ar - Juegos de Rol en Argentina
>
Re: [mongrel2] error on following the manual
- From:
- Zed A. Shaw
- Date:
- 2011-08-12 @ 16:47
On Fri, Aug 12, 2011 at 05:03:16PM +0800, michael j pan wrote:
> Doh! careless error. Thanks for the catch.
Oops, never mind. :-)
--
Zed A. Shaw
http://zedshaw.com/