cyrus replication question

stas at wirewalk.com stas at wirewalk.com
Mon Dec 11 16:35:24 EST 2006


i started looking around
for one i found that for whatever reason
both sync and some other default process was using 2005/tcp port
(in /etc/services )
after taking care of that

i kicked off on sync_client on master server
(after logging in as cyrus)
on master server i get
can not connect to server 'replica.mydomain.com trying in 15 seconds.

and in /var/log/messages the following comes up
(still on master server)

Dec 11 16:09:56 master_server sync_client[93038]: TLS client engine:
cannot load CA data
Dec 11 16:09:56 master_server sync_client[93038]: Doing a peer verify
Dec 11 16:09:56 master_server sync_client[93038]: verify error:num=18:self
signed certificate
Dec 11 16:09:56 master_server sync_client[93038]: starttls: TLSv1 with
cipher AES256-SHA (256/256 bits new) no authentication
Dec 11 16:09:57 master_server sync_client[93038]: No worthy mechs found
Dec 11 16:09:57 master_server sync_client[93038]: couldn't authenticate to
backend server: no mechanism available
-----

/var/log/messeges on replica server
is not saying anything at this point
but /var/log/debug.log has the following :


Dec 11 15:56:33 replica_server syncserver[92364]: accepted connection
Dec 11 15:56:33 replica_server syncserver[92364]: cmdloop(): startup
Dec 11 15:56:33 replica_server syncserver[92364]: mystore: starting txn
2147483668
Dec 11 15:56:33 replica_server syncserver[92364]: mystore: committing txn
2147483668
Dec 11 15:56:49 replica_server syncserver[92364]: accepted connection
Dec 11 15:56:49 replica_server syncserver[92364]: cmdloop(): startup
Dec 11 15:56:49 replica_server syncserver[92364]: mydelete: starting txn
2147483669
Dec 11 15:56:49 replica_server syncserver[92364]: mydelete: committing txn
2147483669
Dec 11 15:56:49 replica_server syncserver[92364]: mystore: starting txn
2147483670
Dec 11 15:56:49 replica_server syncserver[92364]: mystore: committing txn
2147483670

> while trying to setup cyrus replication
> i am getting the following error
> on the secondary server ( the one that is getting a copy of everything)
>
> Dec  9 12:35:34 mars master[7701]: about to exec
> /usr/local/cyrus/bin/sync_server
> Dec  9 12:35:34 mars syncserver[7701]: executed
> Dec  9 12:35:34 mars syncserver[7701]: accepted connection
> Dec  9 12:35:34 mars syncserver[7701]: cmdloop(): startup
> Dec  9 12:35:34 mars master[7694]: process 7701 exited, status 75
> Dec  9 12:35:34 mars master[7694]: service syncserver pid 7701 in BUSY
> state: terminated abnormally
>
> here are the settings from both imapd.conf and cyrus.conf
> for both master and backup server.
>
> master server
> (from where everything is being copied)
>
> cyrus.conf
>
> under START section:
> syncclient    cmd="/usr/local/cyrus/bin/sync_client -r -t"
>
>
> imapd.conf
>
> #replication configurations
> sync_host: server.mydomain.com
> sync_authname: cyrus
> sync_passwd: password
> sync_machineid: 1
> sync_log: 1
>
> secondary
> (to where everything is bein copied)
> cyrus.conf
>
> SERVICES {
> syncserver    cmd="sync_server" listen="csync"
>
>
>
>
>
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>




More information about the Info-cyrus mailing list