couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <jch...@apache.org>
Subject Re: Problems Starting CouchDB From Source
Date Mon, 26 Jan 2009 22:19:34 GMT
I usually do

./bootstrap && ./configure

make dev && utils/run

if you need to change the port, you can edit the generated
etc/couchdb/local_dev.ini before utils/run

hope that works for you!

On Mon, Jan 26, 2009 at 2:05 PM, Graeme Nelson <graeme.nelson@gmail.com> wrote:
> thanks lenz -
>
> I already tried that I should have mentioned that :)
>
> Thanks
> Graeme
>
> On Mon, Jan 26, 2009 at 2:04 PM, lenz <norbu09@googlemail.com> wrote:
>
>> hi,
>> depending on your environment a
>>
>> # sudo ./bin/couchdb ...
>>
>> could help with starting.
>>
>> cheers
>> lenz
>>
>>
>> On Tue, Jan 27, 2009 at 10:54 AM, Graeme Nelson <graeme.nelson@gmail.com
>> >wrote:
>>
>> > Hello Everyone -
>> >
>> > I am trying to follow along with:
>> >
>> >
>> >
>> http://wiki.apache.org/couchdb/Contributing#head-d524b182f054dc9b0c6d6f16a78ee1603a08331b
>> >
>> > I was able to successfully build and install from this source, but I am
>> > unable to start up couchdb from within my source directory.
>> >
>> > I created a couch_dev.ini file that contains the following:
>> >
>> > [couchdb]
>> > allow_remote_restart = true
>> > database_dir = .
>> > util_driver_dir = src/couchdb/.libs
>> >
>> > [httpd]
>> > bind_address = 127.0.0.1
>> > port = 5985
>> > utils_dir = share/www
>> >
>> > [log]
>> > file = couch.log
>> > level = debug
>> >
>> > [query_servers]
>> > javascript = src/couchdb/couchjs share/server/main.js
>> >
>> > I try and start couchdb with the following command from within the source
>> > directory:
>> >
>> > ./bin/couchdb -c couch_dev.ini
>> >
>> > And I get the following error:
>> >
>> > Apache CouchDB 0.9.0a-incubating (LogLevel=debug) is starting.
>> > Configuration Settings ["couch_dev.ini"]:
>> >  [couchdb] allow_remote_restart="true"
>> >  [couchdb] database_dir="."
>> >  [couchdb] util_driver_dir="src/couchdb/.libs"
>> >  [httpd] bind_address="127.0.0.1"
>> >  [httpd] port="5985"
>> >  [httpd] utils_dir="share/www"
>> >  [log] file="couch.log"
>> >  [log] level="debug"
>> >  [query_servers] javascript="src/couchdb/couchjs share/server/main.js"
>> > [error] [<0.49.0>] {error_report,<0.21.0>,
>> >    {<0.49.0>,crash_report,
>> >     [[{pid,<0.49.0>},
>> >       {registered_name,couch_server},
>> >       {error_info,
>> >           {exit,
>> >               {badarg,
>> >                   [{erlang,list_to_integer,[undefined]},
>> >                    {couch_server,init,1},
>> >                    {gen_server,init_it,6},
>> >                    {proc_lib,init_p_do_apply,3}]},
>> >               [{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},
>> >       {initial_call,{couch_server,init,['Argument__1']}},
>> >       {ancestors,[couch_primary_services,couch_server_sup,<0.1.0>]},
>> >       {messages,[]},
>> >       {links,[<0.45.0>]},
>> >       {dictionary,[]},
>> >       {trap_exit,false},
>> >       {status,running},
>> >       {heap_size,377},
>> >       {stack_size,23},
>> >       {reductions,113}],
>> >      []]}}
>> > {"init terminating in
>> >
>> >
>> do_boot",{{badmatch,{error,shutdown}},[{couch_server_sup,start_server,1},{erl_eval,do_apply,5},{erl_eval,exprs,5},{init,start_it,1},{init,start_em,1}]}}
>> > init terminating in do_boot ()
>> >
>> >
>> > Any help or direction would be greatly appreciated.
>> >
>> > Cheers,
>> > Graeme Nelson
>> > http://graemenelsonpdx.com
>> >
>>
>>
>>
>> --
>> iWantMyName.com
>> painless domain registration (finally)
>>
>



-- 
Chris Anderson
http://jchris.mfdz.com

Mime
View raw message