[389-users] How to restore replica admin in the master

Rich Megginson rmeggins at redhat.com
Fri Sep 4 14:59:48 UTC 2009


Mister Anonyme wrote:
>
> > Date: Thu, 3 Sep 2009 15:30:19 -0600
> > From: rmeggins at redhat.com
> > To: fedora-directory-users at redhat.com
> > Subject: Re: [389-users] How to restore replica admin in the master
>
> > > See attached file.
> > Seems ok - unlikely to be the culprit . . .
> > >
>
> You're right.  I found out that the schema was just a coincidence.
>
> I found out that it was the replication was working will until I 
> restart one of two masters.  In fact, I never restarted it since it 
> was up.
>
> Here's the file.inf on the second master, at the installation:
>
> [General]
> AdminDomain = domain.net
> SuiteSpotGroup = nobody
> ConfigDirectoryLdapURL = ldap://MASTERA:389/o=NetscapeRoot
> ConfigDirectoryAdminID = admin
> FullMachineName = SERVER
> SuiteSpotUserID = nobody
> ConfigDirectoryAdminPwd = PASS
>
> [admin]
> ServerAdminID = admin
> ServerAdminPwd = pass
> SysUser = nobody
> Port = 9830
>
> [slapd]
> InstallLdifFile = suggest
> ServerIdentifier = LOCALSERVER
> ServerPort = 389
> AddOrgEntries = Yes
> RootDN = cn=Directory Manager
> RootDNPwd = PASS
> Suffix = dc=bd,dc=domain,dc=net
> UseExistingMC = Yes
You also need
SlapdConfigForMC = No
not sure if that's causing the problems
> AddSampleEntries = No
> ConfigFile = netscaperootdb.ldif
> ConfigFile = devdb.ldif
> ConfigFile = proddb.ldif
> ConfigFile = repluser.ldif
> ConfigFile = changelog.ldif
> ConfigFile = replica.ldif
> ConfigFile = replagreement.ldif
>
> What I did is I removed all ConfigFile lines and I simply executed 
> ldapmodify on each file after the /usr/sbin/setup-ds.pl (I had to 
> modify each file by adding "changetype: add").  It seems to fix the 
> issue.  I added a new schema and replication is still working even if 
> the other master doesn't have it.  I restarted both masters, and it 
> still works.
I would have to review all of these ldif files - one or more of them are 
causing problems.
>
> It seems it break the "implementation" if I use ConfigFile directly in 
> the file.inf at the installation.  That's why I was able to 
> "reproduce" the issue because I was using the same installation method.
>
>
>
> ------------------------------------------------------------------------
> Less clicking: Hotmail access on the new MSN homepage. 
> <http://go.microsoft.com/?linkid=9677398>
> ------------------------------------------------------------------------
>
> --
> 389 users mailing list
> 389-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3258 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20090904/d8f40e81/attachment.bin>


More information about the Fedora-directory-users mailing list