couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arved Sandstrom <asandstr...@eastlink.ca>
Subject Stuck running server at very early stage
Date Wed, 30 Apr 2008 11:26:15 GMT
Hi all,

I went through an apparently normal build and install using the
instructions in
http://incubator.apache.org/couchdb/docs/installation.html . This is on
Debian etch.

Once installed I run

$ sudo -u couchdb couchdb

and get

couch 0.7.3a652071 (LogLevel=debug)
Apache CouchDB is starting.
Apache CouchDB has started. Time to relax.
[debug] [<0.1.0>] Config Info /usr/local/etc/couchdb/couch.ini:
        CurrentWorkingDir=/home/arved/development/couchdb
        DbRootDir=/usr/local/var/lib/couchdb
        BindAddress="127.0.0.1"
        Port="5984"
        DocumentRoot=/usr/local/share/couchdb/www
        LogFile=/usr/local/var/log/couchdb/couch.log
UtilDriverDir=/usr/local/lib/couchdb/erlang/lib/couch-0.7.3a652071/priv/lib
        DbUpdateNotificationProcesses=
        FullTextSearchQueryServer=
text/javascript=/usr/local/bin/couchjs /usr/local/share/couchdb/server/main.js

Finally, when trying http://localhost:5984/_utils/index.html , I get

[error] [<0.53.0>] {error_report,<0.21.0>,
              {<0.53.0>,
               crash_report,
               [[{pid,<0.53.0>},
                 {registered_name,[]},
                 {error_info,{undef,[{string,to_lower,["Host"]},
                                     {mochiweb_headers,insert,3},
                                     {lists,foldl,3},
                                     {mochiweb,new_request,1},
                                     {mochiweb_http,headers,4},
                                     {proc_lib,init_p,5}]}},
                 {initial_call,{mochiweb_socket_server,
                                   acceptor_loop,
                                   [{<0.52.0>,
                                     #Port<0.122>,
                                     #Fun<mochiweb_http.1.62821608>}]}},
                 {ancestors,[couch_httpd,couch_server_sup,<0.1.0>]},
                 {messages,[]},
                 {links,[<0.52.0>,#Port<0.126>]},
                 {dictionary,[]},
                 {trap_exit,false},
                 {status,running},
                 {heap_size,1597},
                 {stack_size,21},
                 {reductions,504}],
                []]}}
[error] [<0.52.0>] {error_report,<0.21.0>,
              {<0.52.0>,
               std_error,
               {mochiweb_socket_server,
                   221,
                   {child_error,{undef,
                                    [{string,to_lower,["Host"]},
                                     {mochiweb_headers,insert,3},
                                     {lists,foldl,3},
                                     {mochiweb,new_request,1},
                                     {mochiweb_http,headers,4},
                                     {proc_lib,init_p,5}]}}}}}

=ERROR REPORT==== 30-Apr-2008::07:53:43 ===
{mochiweb_socket_server,221,
                        {child_error,{undef,
                                         [{string,to_lower,["Host"]},
                                          {mochiweb_headers,insert,3},
                                          {lists,foldl,3},
                                          {mochiweb,new_request,1},
                                          {mochiweb_http,headers,4},
                                          {proc_lib,init_p,5}]}}}

I did plenty of Google searching, looking for information on couch.ini,
and *anything* useful on Mochiweb, and also looked at the CouchDB wiki
(Troubleshooting and so forth). As near as I can tell a complaint is
being made by something somewhere that the Host request header is
undefined, but I sure don't know where to take it from there.

Guidance appreciated.

AHS

Mime
View raw message