incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabio Batalha Cunha dos Santos <fabio.bata...@scielo.org>
Subject Re: problems with Apache HTTP Server Proxying CouchDB
Date Fri, 07 Jan 2011 16:51:33 GMT
Hello all!

Sorry to bother again, but I'm still having problems to proxy the couchdb
with apache httpd server. I already spent a lot of time looking at the
internet for some solutions but I didn't found nothing that could help me.

All the "suit tests" are crashing my couchdb.

I'm using the virtualhost sample from the wiki, and it seems to work fine to
redirect the access to couchdb once the futon seems to be working fine.

<VirtualHost *:80>
   ServerAdmin webmaster@dummy-host.example.com
   DocumentRoot "/opt/websites/web/www/dummy"
   ServerName couchdb.localhost
   AllowEncodedSlashes On
   ProxyRequests Off
   KeepAlive Off
   <Proxy *>
      Order deny,allow
      Deny from all
      Allow from 127.0.0.1
   </Proxy>
   ProxyPass / http://localhost:5984/ nocanon
   ProxyPassReverse / http://localhost:5984/
   ErrorLog "logs/couchdb.localhost-error_log"
   CustomLog "logs/couchdb.localhost-access_log" common
</VirtualHost>

You can access the futon at homolog.webservices.scielo.org

Thanks in advance,

*Fabio Batalha C. Santos*
Colegiado SciELO
www.scielo.org
FAPESP - CNPq - BIREME - FapUNIFESP



On Thu, Jan 6, 2011 at 12:13 PM, Fabio Batalha Cunha dos Santos <
fabio.batalha@scielo.org> wrote:

> Hello All,
>
> I'm trying to use Apache http Server to proxy the access to couchdb,
> unfortunately I'm having problems to validate the suit tests the first test
> is crashing the couchDB.
>
> The "BASICS" test from the suit test is not working. This is the error log:
>
> [info] [<0.110.0>] 187.105.193.182 - - 'GET' /test_suite_db/ 200
> [info] [<0.118.0>] 187.105.193.182 - - 'GET'
> /test_suite_db/0?rev=3-cac36b6fd7e2c7347b3147626c8cfdaf 200
> [info] [<0.123.0>] 187.105.193.182 - - 'POST'
> /test_suite_db/_ensure_full_commit 201
> [info] [<0.95.0>] 187.105.193.182 - - 'POST' /_restart 200
> [error] [<0.124.0>] {error_report,<0.30.0>,
>     {<0.124.0>,crash_report,
>      [[{pid,<0.124.0>},
>        {registered_name,[]},
>        {error_info,
>            {exit,
>                {error,closed},
>                [{mochiweb_socket_server,acceptor_loop,1},
>                 {proc_lib,init_p_do_apply,3}]}},
>
> {initial_call,{mochiweb_socket_server,acceptor_loop,['Argument__1']}},
>        {ancestors,
>
> [couch_httpd,couch_secondary_services,couch_server_sup,<0.31.0>]},
>        {messages,[]},
>        {links,[<0.94.0>]},
>        {dictionary,[]},
>        {trap_exit,false},
>        {status,running},
>        {heap_size,987},
>        {stack_size,23},
>        {reductions,84}],
>       []]}}
>
> =CRASH REPORT==== 6-Jan-2011::11:49:24 ===
>   crasher:
>     pid: <0.124.0>
>     registered_name: []
>     exception exit: {error,closed}
>       in function  mochiweb_socket_server:acceptor_loop/1
>     initial call: mochiweb_socket_server:acceptor_loop/1
>     ancestors: [couch_httpd,couch_secondary_services,couch_server_sup,
>                   <0.31.0>]
>     messages: []
>     links: [<0.94.0>]
>     dictionary: []
>     trap_exit: false
>     status: running
>     heap_size: 987
>     stack_size: 23
>     reductions: 84
>   neighbours:
>
>
> Thanks in advance for the help!
>
> Regards,
> *Fabio Batalha C. Santos*
> Colegiado SciELO
> www.scielo.org
> FAPESP - CNPq - BIREME - FapUNIFESP
>
>

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