cancel
Showing results for 
Search instead for 
Did you mean: 

Replication : 8120024 Unable to start a transfer

philippe73
Champ in-the-making
Champ in-the-making
Hello,
I need to schedule replication from server A (source) to server B (target)
These 2 instances are RedHat 6.2 and contain the same version of Alfresco 4.2.
I use HTTP
========== On A : ========
- in alfresco-global.properties I added :
replication.enabled=true
replication.transfer.readonly=true
- in share-config-custom.xml I added :
   <config evaluator="string-compare" condition="Replication">
      <share-urls>
         <share-url repositoryId="c01b9ce5-ec5c-433d-96c3-5c8dcfa70d12">http://<my_taget_hostname>:<my_target_port>/share/</share-url>
      </share-urls>
   </config>
- in "Repository -> Data dictionary -> transfert -> Transfer target groups -> Default group -> replication test " I filled :
   - endpoint host with <my_taget_hostname>
   - endpoint port with <my_target_port>
   - endpoint path with /alfresco/service/api/transfer
   - protocol with http
   - username with internal Alfreesco user 'admin' (bot LDAP user)
   - pwd with corresponding password
   - check the enabled
- I created a replication job

BUT after running it I got the following error :
Last job failed. Job started: Thu 12 Sep 2013 10:04:49 Ended: Thu 12 Sep 2013 10:04:51
08120026 Error executing transfer - 08120024 Unable to start a transfer

========== On B : ========
After stop Alfresco + clean log + restart I got the following message in localhost_access_log.2013-09-12.txt

127.0.0.1 - - [12/Sep/2013:10:04:48 +0200] "POST /solr/alfresco/afts?wt=json&fl=DBID%2Cscore&rows=2147483647&df=TEXT&start=0&locale=en_US&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON HTTP/1.1" 401 1049
10.12.0.158 - - [12/Sep/2013:10:04:48 +0200] "POST /alfresco/service/api/transfer/begin HTTP/1.1" 500 207
127.0.0.1 - - [12/Sep/2013:10:05:00 +0200] "GET /solr/admin/cores?qt=%2Fadmin%2Fcores&action=STATUS&wt=javabin&version=1 HTTP/1.1" 401 1049

10.12.0.158 is the IP of the Source server so the communication between servers is OK

But I think I need to do something on target server but I don't know what.
Can you help me please.
Thanks

1 REPLY 1

yogeshpj
Star Contributor
Star Contributor
Could you please verify that you have entered correct username and password of the target server while configuring target group.