Hi All,

We're trying to replicate indexes on Solr 1.3 across from 
Dev->QA->Staging->Prod etc.
So at each stage other than Dev and Prod, each would live as a master and a 
slave at a given time.

We hit a bottle neck (may be?) when we try to start rsyncd-start on the master 
from the slave machine.

Commands used:

ssh -o StrictHostKeyChecking=no ad...@192.168.22.1 
/solr/SolrHome/bin/rsyncd-enable
ssh -o StrictHostKeyChecking=no ad...@192.168.22.1  /solr / SolrHome 
/bin/rsyncd-start -p 18003

On slave following error is displayed:

@RSYNCD: 29
@ERROR: protocol startup error

On master logs following were found:

2009/12/21 22:46:05 enabled by admin
2009/12/21 22:46:05 command: / solr/SolrHome /bin/rsyncd-enable
2009/12/21 22:46:05 ended (elapsed time: 0 sec)
2009/12/21 22:46:09 started by admin
2009/12/21 22:46:09 command: /solr/SolrHome/bin/rsyncd-start -p 18993
2009/12/21 22:46:09 [16964] forward name lookup for devserver002 failed: 
ai_family not supported
2009/12/21 22:46:09 [16964] connect from UNKNOWN (localhost)
2009/12/21 22:46:29 [16964] rsync: connection unexpectedly closed (0 bytes 
received so far) [receiver]
2009/12/21 22:46:29 [16964] rsync error: error in rsync protocol data stream 
(code 12) at io.c(463) [receiver=2.6.8]
2009/12/21 22:46:44 rsyncd not accepting connections, exiting
2009/12/21 22:46:57 enabled by admin
2009/12/21 22:46:57 command: /solr/SolrHome/bin/rsyncd-enable
2009/12/21 22:46:57 rsyncd already currently enabled
2009/12/21 22:46:57 exited (elapsed time: 0 sec)
2009/12/21 22:47:00 started by admin
2009/12/21 22:47:00 command: /solr/SolrHome/bin/rsyncd-start -p 18993
2009/12/21 22:47:00 [17115] forward name lookup for devserver002 failed: 
ai_family not supported
2009/12/21 22:47:00 [17115] connect from UNKNOWN (localhost)
2009/12/21 22:49:18 rsyncd not accepting connections, exiting


Is it not possible to start the rsync daemon on master from the slave?
The user that we use is on the sudoers list as well.

Thanks
Madu



Reply via email to