Created
May 22, 2012 15:13
-
-
Save sporkmonger/2769675 to your computer and use it in GitHub Desktop.
Clean install on OS X via Homebrew
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ couchdb | |
Apache CouchDB 1.2.0 (LogLevel=info) is starting. | |
Apache CouchDB has started. Time to relax. | |
[info] [<0.31.0>] Apache CouchDB has started on http://127.0.0.1:5984/ | |
[info] [<0.124.0>] 127.0.0.1 - - GET /_utils/ 200 | |
[error] [<0.124.0>] Badarg error in HTTP request | |
[info] [<0.124.0>] Stacktrace: [{erlang,localtime_to_universaltime, | |
[{{2012,5,19},{11,12,36}},true], | |
[]}, | |
{calendar,local_time_to_universal_time_dst,1, | |
[{file,"calendar.erl"},{line,282}]}, | |
{httpd_util,rfc1123_date,1, | |
[{file,"httpd_util.erl"},{line,344}]}, | |
{mochiweb_request,maybe_serve_file,3, | |
[{file,"mochiweb_request.erl"}, | |
{line,605}]}, | |
{couch_httpd,serve_file,4, | |
[{file,"couch_httpd.erl"},{line,451}]}, | |
{couch_httpd,handle_request_int,5, | |
[{file,"couch_httpd.erl"},{line,317}]}, | |
{mochiweb_http,headers,5, | |
[{file,"mochiweb_http.erl"},{line,136}]}, | |
{proc_lib,init_p_do_apply,3, | |
[{file,"proc_lib.erl"},{line,227}]}] | |
[error] [<0.124.0>] Uncaught server error: badarg | |
[info] [<0.124.0>] 127.0.0.1 - - GET /_utils/ 500 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -i http://localhost:5984/_utils/ | |
HTTP/1.1 500 Internal Server Error | |
Server: CouchDB/1.2.0 (Erlang OTP/R15B01) | |
Date: Tue, 22 May 2012 15:11:09 GMT | |
Content-Type: text/plain; charset=utf-8 | |
Content-Length: 44 | |
Cache-Control: must-revalidate | |
{"error":"unknown_error","reason":"badarg"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue turned out to be a bug in the Erlang VM with certain time zones including the EAT time zone I live in. Changed time zone to EEFT as a workaround.