<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
> Date: Wed, 13 Aug 2008 14:57:59 -0600<br>> From: rmeggins@redhat.com<br>> To: fedora-directory-users@redhat.com<br>> Subject: Re: [Fedora-directory-users] (no subject)<br> ==============================================================================<br>> > Input the Directory Server password on the server SERVER2:<br>> > Error: failed to register the configuration server info to the <br>> > Configuration Directory Server SERVER2.<br>> Hmm - not sure.  Either earlier attempts have broken something past the <br>> point of repair, or there is a bug in register-ds-admin.pl - maybe it <br>> expects o=NetscapeRoot to not already exist?  But then the setup step <br>> earlier would fail without it.  Try register-ds-admin.pl -ddd<br><br>OK.  <br><br>I deinstalled all packages and did a rm -rf of all directories like this:<br><br>rm -rf /etc/dirsrv /usr/lib/dirsrv /usr/share/dirsrv /var/lib/dirsrv/ /var/lock/dirsrv /var/log/dirsrv /usr/share/dirsrv/manual/en/admin /tmp/setup*.{log,inf}<br><br>And re-installed and I ran /usr/sbin/setup-ds.pl with the same LDIF files that I showed you earlier with a fix that you provided.  After, I did a synchronize of the replication with success (replication status confirmed that it worked).  In other words, it went without any errors.<br><br>Then, I did a /usr/sbin/register-ds-admin.pl -ddd on the second server and there you go:<br><br>[root@SERVER2 ~]# /usr/sbin/register-ds-admin.pl -ddd<br>Beginning registration of the Directory Server<br>==============================================================================<br>The Directory Server locates its configuration file (dse.ldif) at /etc/dirsrv/slapd-ID, by default.  If you have Directory Server(s) which configuration file is put at the other location, you need to input it to register the server.<br><br>If you have such Directory Server, type the full path that stores the configuration file.<br><br>If you don't, type return.<br>[configuration directory path or return]:<br><br><br>==============================================================================<br>Candidate servers to register:<br>    /etc/dirsrv/slapd-SERVER2<br><br>==============================================================================<br>Do you want to use this server as Configuration Directory Server?<br><br>Directory server identifier [SERVER2]:<br><br>==============================================================================<br>The server must run as a specific user in a specific group.<br>It is strongly recommended that this user should have no privileges<br>on the computer (i.e. a non-root user).  The setup procedure<br>will give this user/group some permissions in specific paths/files<br>to perform server-specific operations.<br><br>If you have not yet created a user and group for the server,<br>create this user and group using your native operating<br>system utilities.<br><br>System User [nobody]:<br>System Group [nobody]:<br><br>==============================================================================<br>Please specify the information about your configuration directory<br>server.  The following information is required:<br>- host (fully qualified), port (non-secure or secure), suffix,<br>  protocol (ldap or ldaps) - this information should be provided in the<br>  form of an LDAP url e.g. for non-secure<br>ldap://host.example.com:389/o=NetscapeRoot<br>  or for secure<br>ldaps://host.example.com:636/o=NetscapeRoot<br>- admin ID and password<br>- admin domain<br>- a CA certificate file may be required if you choose to use ldaps and<br>  security has not yet been configured - the file must be in PEM/ASCII<br>  format - specify the absolute path and filename<br><br>Configuration directory server URL [ldap://SERVER2:389/o=NetscapeRoot]:<br>Configuration directory server admin ID [admin]:<br>Configuration directory server admin password:<br>Configuration directory server admin password (confirm):<br>Configuration directory server admin domain [DOMAIN.NET]: DOMAIN.NET<br><br>==============================================================================<br>The information stored in the configuration directory server can be<br>separated into different Administration Domains.  If you are managing<br>multiple software releases at the same time, or managing information<br>about multiple domains, you may use the Administration Domain to keep<br>them separate.<br><br>If you are not using administrative domains, press Enter to select the<br>default.  Otherwise, enter some descriptive, unique name for the<br>administration domain, such as the name of the organization<br>responsible for managing the domain.<br><br>Administration Domain [DOMAIN.NET]: DOMAIN.NET<br><br>==============================================================================<br>The Administration Server is separate from any of your web or application<br>servers since it listens to a different port and access to it is<br>restricted.<br><br>Pick a port number between 1024 and 65535 to run your Administration<br>Server on. You should NOT use a port number which you plan to<br>run a web or application server on, rather, select a number which you<br>will remember and which will not be used for anything else.<br><br>Administration port [9830]:<br><br>==============================================================================<br>Registering new Config DS: SERVER2<br><br>==============================================================================<br>Input the Directory Server password on the server SERVER2:<br>+Processing /usr/share/dirsrv/data/10dsdata.ldif.tmpl ...<br>+++check_and_add_entry: Found entry o=NetscapeRoot<br>+++Adding attr=aci value=(targetattr = "*")(version 3.0; acl "SIE Group (SERVER2)"; allow (all) groupdn = "ldap:///cn=slapd-SERVER2, cn=Red Hat Directory Server, cn=Server Group, cn=SERVER2., ou=DOMAIN, o=NetscapeRoot";) to entry o=NetscapeRoot<br>+++check_and_add_entry: Entry not found cn=Red Hat Directory Server, cn=Server Group, cn=SERVER2., ou=DOMAIN, o=NetscapeRoot error No such object<br>+ERROR: adding an entry cn=Red Hat Directory Server, cn=Server Group, cn=SERVER2., ou=DOMAIN, o=NetscapeRoot failed, error: No such object<br>dn: cn=Red Hat Directory Server, cn=Server Group, cn=SERVER2., ou=<br> DOMAIN, o=NetscapeRoot<br>objectclass: nsApplication<br>objectclass: groupOfUniqueNames<br>objectclass: top<br>cn: Red Hat Directory Server<br>nsproductname: Red Hat Directory Server<br>nsproductversion: 8.0.0<br>nsnickname: slapd<br>nsbuildnumber: 2007.353.1757<br>nsvendor: Red Hat<br>installationtimestamp: 20080814121046Z<br>nsexpirationdate: 0<br>nsbuildsecurity: domestic<br>uniquemember: cn=slapd-SERVER2, cn=Red Hat Directory Server, cn=Server Group,<br>  cn=SERVER2., ou=DOMAIN, o=NetscapeRoot<br>nsservermigrationclassname: com.netscape.admin.dirserv.task.MigrateCreate@redh<br> at-ds-8.0.jar@cn=admin-serv-SERVER2, cn=Red Hat Administration Server, cn=Se<br> rver Group, cn=SERVER2., ou=DOMAIN, o=NetscapeRoot<br>nsservercreationclassname: com.netscape.admin.dirserv.task.MigrateCreate@redha<br> t-ds-8.0.jar@cn=admin-serv-SERVER2, cn=Red Hat Administration Server, cn=Ser<br> ver Group, cn=SERVER2., ou=DOMAIN, o=NetscapeRoot<br><br>+ERROR: There was an error processing entry cn=Red Hat Directory Server, cn=Server Group, cn=SERVER2., ou=DOMAIN, o=NetscapeRoot<br>+Cannot continue processing entries.<br>Error: failed to register the configuration server info to the Configuration Directory Server SERVER2.<br><br>Thanks again for your help.<br><br><br /><hr /> <a href='' target='_new'></a></body>
</html>