You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Rui Ferreira <ru...@mog-technologies.com> on 2010/02/19 10:18:22 UTC

Replication on Windows with remote database

Hi,

I'm trying out CouchDB on Windows and I'm particularly interested in the 
replication feature. I'm running CouchDB version 0.10.0 (installed it 
via the Windows binary installer).

I've successfully performed replication between two databases running in 
the same daemon.

However, I was not able to do it with databases in different daemons 
(i.e., replication between a local database and a remote database). I 
tried using host names (localhost, my_server) and IP addresses 
(127.0.0.1, my_IP_address) and tried running the daemons in the same 
machine and in different machines. None worked! The bind addresses in my 
local.ini files are 0.0.0.0, also. I always get the same error: 
"{db_not_found,<<"http://127.0.0.1:5001/master/">>},".

I googled it, searched the mailing list and the tracking system, but 
haven't found an answer. I don't know if this is a Windows only problem, 
but has anyone solved it?

Thanks in advance,
-- 
Rui Ferreira.

Re: Replication on Windows with remote database

Posted by Juhani Ränkimies <ju...@juranki.com>.
Hi,

With 0.10.0 build on windows (from
http://people.apache.org/~mhammond/dist/0.10.0/) you'll have to
manually start ibrowse ( ibrowse:start(). on the console) before
replication to remote hosts will work. It's probably fixed in snapshot
builds (http://people.apache.org/~mhammond/dist/snapshots/).

-juhani

On Fri, Feb 19, 2010 at 11:18 AM, Rui Ferreira
<ru...@mog-technologies.com> wrote:
> Hi,
>
> I'm trying out CouchDB on Windows and I'm particularly interested in the
> replication feature. I'm running CouchDB version 0.10.0 (installed it via
> the Windows binary installer).
>
> I've successfully performed replication between two databases running in the
> same daemon.
>
> However, I was not able to do it with databases in different daemons (i.e.,
> replication between a local database and a remote database). I tried using
> host names (localhost, my_server) and IP addresses (127.0.0.1,
> my_IP_address) and tried running the daemons in the same machine and in
> different machines. None worked! The bind addresses in my local.ini files
> are 0.0.0.0, also. I always get the same error:
> "{db_not_found,<<"http://127.0.0.1:5001/master/">>},".
>
> I googled it, searched the mailing list and the tracking system, but haven't
> found an answer. I don't know if this is a Windows only problem, but has
> anyone solved it?
>
> Thanks in advance,
> --
> Rui Ferreira.
>