[Freeipa-users] Fedora 11 master replication problems

Rich Megginson rmeggins at redhat.com
Wed Sep 22 16:08:29 UTC 2010


Dan Scott wrote:
> Hi,
>
> Thanks for the reply.
>
> On Wed, Sep 22, 2010 at 11:56, Rich Megginson <rmeggins at redhat.com> wrote:
>   
>>> Recently I have been seeing a constant stream of entries in my dirsrv
>>> logs for my Fedora 11 FreeIPA master:
>>>
>>> Replica has a different generation ID than the local data.
>>>
>>> I'm also seeing issues which appear to be related to incorrect
>>> replication. e.g. User changes password and is then unable to login.
>>>
>>> I enabled verbose logging as suggested here:
>>>
>>>
>>> http://www.redhat.com/docs/manuals/dir-server/ag/8.0/Managing_Replication-Troubleshooting_Replication_Related_Problems.html
>>>
>>> However, now I am stuck and don't know how to proceed. Here is an
>>> extract of the verbose logs. They appear roughly every 5 seconds:
>>>
>>> [22/Sep/2010:10:48:44 -0400] NSMMReplicationPlugin -
>>> agmt="cn=meTocurie.example.com636" (curie:636): State: start_backoff
>>> -> backoff
>>> [22/Sep/2010:10:48:44 -0400] NSMMReplicationPlugin -
>>> agmt="cn=meTocurie.example.com636" (curie:636): Cancelling linger on
>>> the connection
>>> [22/Sep/2010:10:48:44 -0400] - _csngen_adjust_local_time: gen state
>>> before 4c9a17f30001:1285166920:0:171
>>> [22/Sep/2010:10:48:44 -0400] - _csngen_adjust_local_time: gen state
>>> after 4c9a17f70000:1285166924:0:171
>>> [22/Sep/2010:10:48:44 -0400] NSMMReplicationPlugin -
>>> agmt="cn=meTocurie.example.com636" (curie:636): Replica was
>>> successfully acquired.
>>> [22/Sep/2010:10:48:44 -0400] NSMMReplicationPlugin -
>>> agmt="cn=meTocurie.example.com636" (curie:636): State: backoff ->
>>> sending_updates
>>> [22/Sep/2010:10:48:44 -0400] NSMMReplicationPlugin -
>>> agmt="cn=meTocurie.example.com636" (curie:636): Replica has a
>>> different generation ID than the local data.
>>>
>>>       
>> This usually means the consumer has not been initialized.
>>     
>
> I'm not sure what 'initialized' means. Do you mean that replication
> has not been configured? This server has been replicating fine for
> over a year.
>
> According to this:
> http://freeipa.org/docs/1.2/Installation_Deployment_Guide/en-US/html/sect-Installation_and_Deployment_Guide-Setting_up_Multi_Master_Replication-Managing_Multi_Master_Replication.html
>
> Initialization is the initial copy of data from the master - The slave
> server (curie) has been configured and replicating for a while.
Has curie been restored from a backup?  Initialized from another 
master?  Been shutdown for over a week?
> Maybe
> I need to re-initialize with a fresh copy? Do you have any
> instructions for doing this?
>   
Does the ipa-replica-manage command line tool have an option for doing a 
reinit?
> Thanks,
>
> Dan Scott
>   




More information about the Freeipa-users mailing list