incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hammond <>
Subject help getting svn version running on Windows
Date Mon, 23 Feb 2009 07:00:35 GMT
Hi all,
   I'm playing with a project which uses couchdb and I'm trying to get 
the project working on Windows.

I found the Wiki at, and while the 
binaries worked well, the application was causing the following error:

[info] [<0.75.0>] HTTP Error (code 500): {query_parse_error,"Bad URL 
query key:include_docs"}

A bit of time with google led me to believe that I needed a newer 
version of couchdb for this to work.  After pulling from SVN and 
updating and recompiling the couchdb-0.8.1 directory, the 
'couch_start.bat' batch file fails with:

1> {"init terminating in 

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

I suspect the problem is the args we are passing to the start function 
but I'm not experienced enough to decycpher it; for reference, 
couch_start.bat consists of the single line:

..\bin\werl.exe -smp auto -sasl errlog_type error -eval 
"application:load(inets)" -eval "application:load(crypto)" -eval 
"application:load(couch)" -eval "crypto:start()" -eval "inets:start()" 
-eval "couch_server:start(\"../usr/couch.ini\"), receive done -> done end."

If I try and start it via the Wiki instructions (ie, a simple 
'couch_server:start().', I get:

1> couch_server:start().
Apache CouchDB 0.0.0 (LogLevel=info) is starting.
** exception error: no function clause matching
      in function  couch_server_sup:start_server/1

Ultimately, all I really need is the initial 'include_docs' error 
resolved; is updating couchdb the correct way to do that?  If so, can 
anyone offer any clues to what my problem is?



View raw message