couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: HTTP requests throwing errors
Date Sun, 13 Jul 2008 21:21:34 GMT

On Jul 13, 2008, at 22:50, John Evans wrote:

> Since this seems to come up fairly frequently (e.g. it bit me a week  
> or two
> ago), might it make sense to detect the Erlang version and spit out a
> warning on the console when you start couchdb if you're not running  
> a new
> enough version?


I had the same idea and asked Noah, if we could do that and he said we
already do, but it seems to not work. Noah? :)

Cheers
Jan
--

>
>
> -
> John
>
> On Sun, Jul 13, 2008 at 9:13 AM, Kurt Mackey <kurt@mubble.net> wrote:
>
>> Ah!  All working now, thanks.
>>
>> -----Original Message-----
>> From: Jan Lehnardt [mailto:jan@apache.org]
>> Sent: Saturday, July 12, 2008 5:01 PM
>> To: couchdb-user@incubator.apache.org
>> Subject: Re: HTTP requests throwing errors
>>
>> Heya Kurt,
>> which version of Erlang are you using? Make sure it is R12B-3 (latest
>> form erlang.org).
>> The R12 series shows as 5.6.x on the command line when you just  
>> launch
>> $ erl.
>> Anything below that is too old.
>>
>> Cheers
>> Jan
>> --
>> On Jul 9, 2008, at 19:59 , Kurt Mackey wrote:
>>
>>> I just installed CouchDB on a Debian VPS, and all appeared to go
>>> well.  Once I start it, though, the console gives me errors like
>>> this on every request.  I'm a bit stumped, what exactly is erroring
>>> out here?:
>>>
>>> Apache CouchDB 0.9.0a675285-incubating (LogLevel=info)
>>> Apache CouchDB is starting.
>>>
>>> Apache CouchDB has started. Time to relax.
>>> [info] [<0.53.0>] HTTP Error (code 500): {'EXIT',{badarg,
>>>                                  [{erlang,system_info, 
>>> [otp_release]},
>>>                                   {couch_httpd,server_header,0},
>>>                                   {couch_httpd,send_json,4},
>>>                                   {couch_httpd,handle_request,2},
>>>                                   {mochiweb_http,headers,4},
>>>                                   {proc_lib,init_p,5}]}}
>>> [error] [<0.53.0>] {error_report,<0.21.0>,
>>>             {<0.53.0>,
>>>              crash_report,
>>>              [[{pid,<0.53.0>},
>>>                {registered_name,[]},
>>>                {error_info,{badarg,[{erlang,system_info,
>>> [otp_release]},
>>>                                     {couch_httpd,server_header,0},
>>>                                     {couch_httpd,send_json,4},
>>>                                     {couch_httpd,handle_request,2},
>>>                                     {mochiweb_http,headers,4},
>>>                                     {proc_lib,init_p,5}]}},
>>>                {initial_call,{mochiweb_socket_server,
>>>                                  acceptor_loop,
>>>                                  [{<0.52.0>,
>>>                                    #Port<0.121>,
>>>                                    #Fun<mochiweb_http.
>>> 1.62821608>}]}},
>>>                {ancestors,[couch_httpd,couch_server_sup,<0.1.0>]},
>>>                {messages,[]},
>>>                {links,[<0.52.0>,#Port<0.123>]},
>>>                {dictionary,[]},
>>>                {trap_exit,false},
>>>                {status,running},
>>>                {heap_size,4181},
>>>                {stack_size,21},
>>>                {reductions,7179}],
>>>               []]}}
>>> [error] [<0.52.0>] {error_report,<0.21.0>,
>>>             {<0.52.0>,
>>>              std_error,
>>>              {mochiweb_socket_server,
>>>                  235,
>>>                  {child_error,{badarg,
>>>                                   [{erlang,system_info,
>>> [otp_release]},
>>>                                    {couch_httpd,server_header,0},
>>>                                    {couch_httpd,send_json,4},
>>>                                    {couch_httpd,handle_request,2},
>>>                                    {mochiweb_http,headers,4},
>>>                                    {proc_lib,init_p,5}]}}}}}
>>>
>>> =ERROR REPORT==== 9-Jul-2008::14:54:09 ===
>>> {mochiweb_socket_server,235,
>>>                       {child_error,{badarg,
>>>                                        [{erlang,system_info,
>>> [otp_release]},
>>>                                         {couch_httpd,server_header,
>>> 0},
>>>                                         {couch_httpd,send_json,4},
>>>                                         {couch_httpd,handle_request,
>>> 2},
>>>                                         {mochiweb_http,headers,4},
>>>                                         {proc_lib,init_p,5}]}}}
>>>
>>>
>>
>>


Mime
View raw message