You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Kalle Korhonen <ka...@gmail.com> on 2014/12/01 16:46:23 UTC
Replication fails, what causes this error?
I've set up a 1.6.0 instance on openshift using using
https://github.com/marianoguerra/couchdb-for-openshift. Replication fails
with the error below. I'm not too familiar with CouchDB but it looks like a
permission issue. It's possible the instance is somehow corrupted but it
passes installation verification and replicating local databases work. Can
anybody help?
[Mon, 01 Dec 2014 07:15:15 GMT] [info] [<0.261.0>] Retrying HEAD request to
http://get.acralyzer.com/distrib-acra-storage/ in 128.0 seconds due to
error {conn_failed,{error,eacces}}
[Mon, 01 Dec 2014 07:17:23 GMT] [error] [<0.261.0>] Replicator, request
HEAD to "http://get.acralyzer.com/distrib-acra-storage/" failed due to
error {error,{conn_failed,{error,eacces}}}
[Mon, 01 Dec 2014 07:17:23 GMT] [error] [<0.261.0>] {error_report,<0.30.0>,
{<0.261.0>,crash_report,
[[{initial_call,{couch_replicator,init,['Argument__1']}},
{pid,<0.261.0>},
{registered_name,[]},
{error_info,
{exit,
{http_request_failed,"HEAD",
"http://get.acralyzer.com/distrib-acra-storage/",
{error,{error,{conn_failed,{error,eacces}}}}},
[{gen_server,init_it,6,
[{file,"gen_server.erl"},{line,330}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,239}]}]}},
{ancestors,
[couch_replicator_job_sup,couch_primary_services,
couch_server_sup,<0.31.0>]},
{messages,[]},
{links,[<0.87.0>,<0.262.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,4185},
{stack_size,27},
{reductions,13964}],
[]]}}
Kalle
Re: Replication fails, what causes this error?
Posted by Kalle Korhonen <ka...@gmail.com>.
Gaah. Just to close the loop, it's an issue with erlang running on
OpenShift because the platform doesn't allowing binding to port 0.0.0.0,
see details at
https://github.com/marianoguerra/couchdb-for-openshift/issues/9.
Kalle
On Mon, Dec 1, 2014 at 10:26 AM, Kalle Korhonen <ka...@gmail.com>
wrote:
> On Mon, Dec 1, 2014 at 7:52 AM, Alexander Shorin <kx...@gmail.com> wrote:
>
>> On Mon, Dec 1, 2014 at 6:46 PM, Kalle Korhonen
>> <ka...@gmail.com> wrote:
>> > {error,eacces}
>> Problem is in file permissions. Make sure you set them right:
>> https://github.com/apache/couchdb/blob/1.6.x/INSTALL.Unix#L232-L248
>> Note that the paths on your system may be different from INSTALL ones.
>>
>
> Thanks, but unfortunately I still have the same issue even after setting
> the file permissions as instructed. Is there a way to debug the system,
> turn on more logs or somehow find exactly which file doesn't have the right
> permissions?
>
> Kalle
>
>
>>
>> --
>> ,,,^..^,,,
>>
>
>
Re: Replication fails, what causes this error?
Posted by Kalle Korhonen <ka...@gmail.com>.
On Mon, Dec 1, 2014 at 7:52 AM, Alexander Shorin <kx...@gmail.com> wrote:
> On Mon, Dec 1, 2014 at 6:46 PM, Kalle Korhonen
> <ka...@gmail.com> wrote:
> > {error,eacces}
> Problem is in file permissions. Make sure you set them right:
> https://github.com/apache/couchdb/blob/1.6.x/INSTALL.Unix#L232-L248
> Note that the paths on your system may be different from INSTALL ones.
>
Thanks, but unfortunately I still have the same issue even after setting
the file permissions as instructed. Is there a way to debug the system,
turn on more logs or somehow find exactly which file doesn't have the right
permissions?
Kalle
>
> --
> ,,,^..^,,,
>
Re: Replication fails, what causes this error?
Posted by Alexander Shorin <kx...@gmail.com>.
On Mon, Dec 1, 2014 at 6:46 PM, Kalle Korhonen
<ka...@gmail.com> wrote:
> {error,eacces}
Problem is in file permissions. Make sure you set them right:
https://github.com/apache/couchdb/blob/1.6.x/INSTALL.Unix#L232-L248
Note that the paths on your system may be different from INSTALL ones.
--
,,,^..^,,,