incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graeme Nelson <graeme.nel...@gmail.com>
Subject Problems Starting CouchDB From Source
Date Mon, 26 Jan 2009 21:54:51 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message