RE: How to restore replica admin in the master

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





I forgot to add errors files.  As you can see, it works until I restart the server.  I took a look in dse.ldif and they are present.



From: benetage@xxxxxxxxxxx
To: fedora-directory-users@xxxxxxxxxx
Subject: RE: How to restore replica admin in the master
Date: Fri, 4 Sep 2009 08:21:29 -0400


> Date: Thu, 3 Sep 2009 15:30:19 -0600
> From: rmeggins@xxxxxxxxxx
> To: fedora-directory-users@xxxxxxxxxx
> Subject: Re: 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
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.

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.

Click less, mail more: Hotmail on the new MSN homepage!

Attachment: mastera.errors
Description: Binary data

Attachment: masterb.errors
Description: Binary data

--
389 users mailing list
389-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux