Re: troubleshooting replication setup - 2.4.17

Carl Brewer <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
On 16/09/2021 7:35 pm, Simon Matter wrote:
>> Working on this upgrade to a new server - 2.4 to 3.4.2
>>
>> on the old server, running 2.4.17 (I know ...)
>>
>> Using this howto :
>> https://www.cyrusimap.org/2.5/imap/admin/sop/replication.html
>>
>> (2.5, I know ... but I can't find doco for how to do this on 2.4)
>>
>> I've added to /etc/services :
>>
>> csync           9905/tcp                # Cyrus csync temp CB
>>
>> 9905 is available and doesn't clash with anything I can find :
>>
>> bash-4.3# netstat -an | grep 9905
>> bash-4.3#
>>
>>
>> in imapd.conf :
>>
>> # sync server, CB 20210916
>> sync_authname: XXXXX
>> sync_password: XxXXxxX
>> sync_port: 9905
>>
>> in cyrus.conf :
>>
>> SERVICES {
>>     # add or remove based on preferences
>>     imap          cmd="imapd" listen="localhost:imap" prefork=0
>>     imaps         cmd="imapd -s" listen="imaps" prefork=0
>>     pop3          cmd="pop3d" listen="pop3" prefork=0
>>     pop3s         cmd="pop3d -s" listen="pop3s" prefork=0
>>     #sieve                cmd="timsieved" listen="sieve" prefork=0
>>
>>
>>     lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
>>
>>     # for syncing to rollcage13 for migration CB 20210916
>>     syncserver    cmd="/usr/pkg/cyrus/bin/sync_server" listen="csync"
>> }
>>
>> Error logged is :
>>
>> Sep 16 18:42:52  master[5508]: servname not supported for ai_socktype,
>> disabling syncserver
>>
>> Um?
>>
>> Am I totally flogging a dead horse or might this work?
> Again, I have never used this, but, do you have 'csync' defined in
> /etc/services?

I sure do, as above :

bash-4.3# grep ^csync /etc/services
csync           9905/tcp                # Cyrus csync temp CB


------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T50c2c1b30d20802c-Macbd61a291b5f28895671493
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.