Erling Ringen Elvsrud
2008-May-23 08:17 UTC
[Fedora-directory-users] Trouble registering a new DS instance with an existing Configuration Directory Server
Hello list, I have/want the following configuration: box1: RHDS master server box2: A read only replica. The installation on box1 completed sucessfully, but some problem has arised on box2. Installation of the RPM-files works well, but running setup-ds-admin.pl is troublesome. As recommended in the docoumentation I want to use the existing Configuration Directory Server on box1 for the replica install on box2, but the installation fails with the following error: Pick a port number between 1024 and 65535 to run your Administration Server on. You should NOT use a port number which you plan to run a web or application server on, rather, select a number which you will remember and which will not be used for anything else. [08/05/20:12:23:04] - [Setup] Info Administration port [08/05/20:12:23:37] - [Setup] Info 9830 [08/05/20:12:23:37] - [Setup] Info The interactive phase is complete. The script will now set up your servers. Enter No or go Back if you want to change something. [08/05/20:12:23:37] - [Setup] Info Are you ready to set up your servers? [08/05/20:12:23:42] - [Setup] Info yes [08/05/20:12:23:42] - [Setup] Info Creating directory server . . . [08/05/20:12:23:46] - [Setup] Info Your new DS instance ''d20dcvl002'' was successfully created. [08/05/20:12:23:46] - [Setup] Info Creating the configuration directory server . . . [08/05/20:12:23:46] - [Setup] Info Error adding entry ''cn=Red Hat Directory Server, cn=Server Group, cn=d20dcvl002.internsone2.local, ou=internsone2.local, o=NetscapeRoot''. Error: No such object [08/05/20:12:23:46] - [Setup] Fatal Could not register the directory server with the configuration directory server. [08/05/20:12:23:46] - [Setup] Fatal Exiting . . . Log file is ''/tmp/setupCvZ4zW.log'' ------------------------------------------------------------------------------------------------------------- SSL/TLS is disabled on box1. The o=NetscapeRoot DIT looks okay, and the branch for box1 seems to be correct and working. Do you have any suggestions for how I can debug this problem? Thanks, Erling Ringen Elvsrud
Nicolas CAREL
2008-May-23 13:55 UTC
Re: [Fedora-directory-users] Trouble registering a new DS instance with an existing Configuration Directory Server
Hello, We experienced the same issue... Erling Ringen Elvsrud a écrit :> Hello list, > > I have/want the following configuration: > > box1: RHDS master server > box2: A read only replica. > > The installation on box1 completed sucessfully, but some problem has arised on > box2. > > [08/05/20:12:23:46] - [Setup] Fatal Could not register the directory > server with the configuration directory server. > [08/05/20:12:23:46] - [Setup] Fatal Exiting . . . > > Erling Ringen Elvsrud >We setted up 2 Fedora Core 8 Virtual machines : vmware-fds1 and vmware-fds2 yum update before installation. On the first one, installation of FDS 1.1 with yum and setup. It works fine. One the second one, copycat. We tried to join the administration domain created in the first one and got the same message. Both Virtual Machines are one the same LAN. The network is OK. Both servers are in NTP sync, this is helpfull. The setup log is in the attached file. Here is the slapd log of vmware-fds1 : * Stage 1 : FDS Startup* Fedora-Directory/1.1.0 B2008.03.27 vmware-fds1.inrp.fr:389 (/etc/dirsrv/slapd-vmware-fds1) [23/May/2008:13:35:50 +0200] conn=0 fd=64 slot=64 connection from 127.0.0.1 to 127.0.0.1 [23/May/2008:13:35:50 +0200] conn=0 op=0 BIND dn="" method=128 version=3 [23/May/2008:13:35:50 +0200] conn=0 op=0 RESULT err=0 tag=97 nentries=0 etime=0 dn="" [23/May/2008:13:35:50 +0200] conn=0 op=1 SRCH base="cn=admin-serv-vmware-fds1, cn=Fedora Administration Server, cnServer Group, cn=vmware-fds1.inrp.fr, ou=inrp.fr, o=NetscapeRoot" scope=2 filter="(nsExecRef=*)" attrs="nsExecRef n sLogSuppress" [23/May/2008:13:35:50 +0200] conn=0 op=1 RESULT err=0 tag=101 nentries=0 etime=0 [23/May/2008:13:35:50 +0200] conn=0 op=2 UNBIND [23/May/2008:13:35:50 +0200] conn=0 op=2 fd=64 closed - U1 [23/May/2008:13:35:51 +0200] conn=1 fd=64 slot=64 connection from 127.0.0.1 to 127.0.0.1 [23/May/2008:13:35:51 +0200] conn=1 op=0 BIND dn="" method=128 version=3 [23/May/2008:13:35:51 +0200] conn=1 op=0 RESULT err=0 tag=97 nentries=0 etime=0 dn="" [23/May/2008:13:35:51 +0200] conn=1 op=1 SRCH base="cn=admin-serv-vmware-fds1, cn=Fedora Administration Server, cnServer Group, cn=vmware-fds1.inrp.fr, ou=inrp.fr, o=NetscapeRoot" scope=2 filter="(nsExecRef=*)" attrs="nsExecRef n sLogSuppress" [23/May/2008:13:35:51 +0200] conn=1 op=1 RESULT err=0 tag=101 nentries=0 etime=0 [23/May/2008:13:35:51 +0200] conn=1 op=2 UNBIND [23/May/2008:13:35:51 +0200] conn=1 op=2 fd=64 closed - U1 * Stage 2 : Setup on vmware-fds2 * Configuration directory server URL : *ldap://vmware-fds1.inrp.fr:389/o=NetscapeRoot* Configuration directory server admin ID *admin* Configuration directory server admin password : ******* Configuration directory server admin domain : *inrp.fr* [23/May/2008:14:31:46 +0200] conn=2 fd=64 slot=64 connection from 195.83.134.21 to 195.83.134.29 [23/May/2008:14:31:46 +0200] conn=2 op=0 BIND dn="" method=128 version=3 [23/May/2008:14:31:46 +0200] conn=2 op=0 RESULT err=0 tag=97 nentries=0 etime=0 dn="" [23/May/2008:14:31:46 +0200] conn=2 op=1 SRCH base="o=NetscapeRoot" scope=2 filter="(uid=admin)" attrs="dn" [23/May/2008:14:31:46 +0200] conn=2 op=1 RESULT err=0 tag=101 nentries=1 etime=0 [23/May/2008:14:31:46 +0200] conn=2 op=2 BIND dn="uid=admin, ou=Administrators, ou=TopologyManagement, o=NetscapeRo ot" method=128 version=3 [23/May/2008:14:31:46 +0200] conn=2 op=2 RESULT err=0 tag=97 nentries=0 etime=0 dn="uid=admin,ou=administrators,outopologymanagement,o=netscaperoot" [23/May/2008:14:31:46 +0200] conn=2 op=3 SRCH base="ou=inrp.fr, o=NetscapeRoot" scope=0 filter="(objectClass=*)" at trs="dn" [23/May/2008:14:31:46 +0200] conn=2 op=3 RESULT err=0 tag=101 nentries=1 etime=0 [23/May/2008:14:31:46 +0200] conn=2 op=4 UNBIND [23/May/2008:14:31:46 +0200] conn=2 op=4 fd=64 closed - U1 *Stage 3 : Are you ready to set up your servers? : YES* [23/May/2008:14:38:30 +0200] conn=3 fd=64 slot=64 connection from 195.83.134.21 to 195.83.134.29 [23/May/2008:14:38:30 +0200] conn=3 op=0 BIND dn="" method=128 version=3 [23/May/2008:14:38:30 +0200] conn=3 op=0 RESULT err=0 tag=97 nentries=0 etime=0 dn="" [23/May/2008:14:38:30 +0200] conn=3 op=1 SRCH base="o=NetscapeRoot" scope=2 filter="(uid=admin)" attrs="dn" [23/May/2008:14:38:30 +0200] conn=3 op=1 RESULT err=0 tag=101 nentries=1 etime=0 [23/May/2008:14:38:30 +0200] conn=3 op=2 BIND dn="uid=admin, ou=Administrators, ou=TopologyManagement, o=NetscapeRo ot" method=128 version=3 [23/May/2008:14:38:30 +0200] conn=3 op=2 RESULT err=0 tag=97 nentries=0 etime=0 dn="uid=admin,ou=administrators,outopologymanagement,o=netscaperoot" [23/May/2008:14:38:30 +0200] conn=3 op=3 SRCH base="o=NetscapeRoot" scope=0 filter="(objectClass=*)" attrs="* aci" [23/May/2008:14:38:30 +0200] conn=3 op=3 RESULT err=0 tag=101 nentries=1 etime=0 [23/May/2008:14:38:30 +0200] conn=3 op=4 MOD dn="o=NetscapeRoot" [23/May/2008:14:38:30 +0200] conn=3 op=4 RESULT err=0 tag=103 nentries=0 etime=0 [23/May/2008:14:38:30 +0200] conn=3 op=5 SRCH base="cn=Fedora Directory Server, cn=Server Group, cn=vmware-fds2.inr p.fr, ou=inrp.fr, o=NetscapeRoot" scope=0 filter="(objectClass=*)" attrs="* aci" [23/May/2008:14:38:30 +0200] conn=3 op=5 RESULT err=32 tag=101 nentries=0 etime=0 [23/May/2008:14:38:30 +0200] conn=3 op=6 ADD dn="cn=Fedora Directory Server, cn=Server Group, cn=vmware-fds2.inrp.f r, ou=inrp.fr, o=NetscapeRoot" *[23/May/2008:14:38:30 +0200] conn=3 op=6 RESULT err=32 tag=105 nentries=0 etime=0* [23/May/2008:14:38:30 +0200] conn=3 op=7 UNBIND [23/May/2008:14:38:30 +0200] conn=3 op=7 fd=64 closed - U1 HELP ! -- *Nicolas CAREL **Service Commun Informatique *IT Manager Trust my certificate : http://igc.cru.fr/trust.php *Institut National de Recherche Pédagogique <http://www.inrp.fr/>*19 allée de Fontenay - B.P. 17424 - 69347 LYON CEDEX 07 Standard : 04 72 76 61 00 - Télécopie : 04 72 76 61 10
Rich Megginson
2008-May-23 14:19 UTC
Re: [Fedora-directory-users] Trouble registering a new DS instance with an existing Configuration Directory Server
Nicolas CAREL wrote:> Hello, > > We experienced the same issue...I believe this is a bug - https://bugzilla.redhat.com/show_bug.cgi?id=431103 - the bug gives instructions about how to workaround the problem.> > Erling Ringen Elvsrud a écrit : >> Hello list, >> >> I have/want the following configuration: >> >> box1: RHDS master server >> box2: A read only replica. >> >> The installation on box1 completed sucessfully, but some problem has arised on >> box2. >> >> [08/05/20:12:23:46] - [Setup] Fatal Could not register the directory >> server with the configuration directory server. >> [08/05/20:12:23:46] - [Setup] Fatal Exiting . . . >> >> Erling Ringen Elvsrud >> > We setted up 2 Fedora Core 8 Virtual machines : vmware-fds1 and > vmware-fds2 > yum update before installation. > On the first one, installation of FDS 1.1 with yum and setup. It works > fine. > One the second one, copycat. > We tried to join the administration domain created in the first one > and got the same message. > Both Virtual Machines are one the same LAN. The network is OK. > > Both servers are in NTP sync, this is helpfull. > > The setup log is in the attached file. > > Here is the slapd log of vmware-fds1 : > * > Stage 1 : FDS Startup* > Fedora-Directory/1.1.0 B2008.03.27 > vmware-fds1.inrp.fr:389 (/etc/dirsrv/slapd-vmware-fds1) > > [23/May/2008:13:35:50 +0200] conn=0 fd=64 slot=64 connection from > 127.0.0.1 to 127.0.0.1 > [23/May/2008:13:35:50 +0200] conn=0 op=0 BIND dn="" method=128 version=3 > [23/May/2008:13:35:50 +0200] conn=0 op=0 RESULT err=0 tag=97 > nentries=0 etime=0 dn="" > [23/May/2008:13:35:50 +0200] conn=0 op=1 SRCH > base="cn=admin-serv-vmware-fds1, cn=Fedora Administration Server, cn> Server Group, cn=vmware-fds1.inrp.fr, ou=inrp.fr, o=NetscapeRoot" > scope=2 filter="(nsExecRef=*)" attrs="nsExecRef n > sLogSuppress" > [23/May/2008:13:35:50 +0200] conn=0 op=1 RESULT err=0 tag=101 > nentries=0 etime=0 > [23/May/2008:13:35:50 +0200] conn=0 op=2 UNBIND > [23/May/2008:13:35:50 +0200] conn=0 op=2 fd=64 closed - U1 > [23/May/2008:13:35:51 +0200] conn=1 fd=64 slot=64 connection from > 127.0.0.1 to 127.0.0.1 > [23/May/2008:13:35:51 +0200] conn=1 op=0 BIND dn="" method=128 version=3 > [23/May/2008:13:35:51 +0200] conn=1 op=0 RESULT err=0 tag=97 > nentries=0 etime=0 dn="" > [23/May/2008:13:35:51 +0200] conn=1 op=1 SRCH > base="cn=admin-serv-vmware-fds1, cn=Fedora Administration Server, cn> Server Group, cn=vmware-fds1.inrp.fr, ou=inrp.fr, o=NetscapeRoot" > scope=2 filter="(nsExecRef=*)" attrs="nsExecRef n > sLogSuppress" > [23/May/2008:13:35:51 +0200] conn=1 op=1 RESULT err=0 tag=101 > nentries=0 etime=0 > [23/May/2008:13:35:51 +0200] conn=1 op=2 UNBIND > [23/May/2008:13:35:51 +0200] conn=1 op=2 fd=64 closed - U1 > * > Stage 2 : Setup on vmware-fds2 * > Configuration directory server URL : > *ldap://vmware-fds1.inrp.fr:389/o=NetscapeRoot* > Configuration directory server admin ID *admin* > Configuration directory server admin password : ******* > Configuration directory server admin domain : *inrp.fr* > [23/May/2008:14:31:46 +0200] conn=2 fd=64 slot=64 connection from > 195.83.134.21 to 195.83.134.29 > [23/May/2008:14:31:46 +0200] conn=2 op=0 BIND dn="" method=128 version=3 > [23/May/2008:14:31:46 +0200] conn=2 op=0 RESULT err=0 tag=97 > nentries=0 etime=0 dn="" > [23/May/2008:14:31:46 +0200] conn=2 op=1 SRCH base="o=NetscapeRoot" > scope=2 filter="(uid=admin)" attrs="dn" > [23/May/2008:14:31:46 +0200] conn=2 op=1 RESULT err=0 tag=101 > nentries=1 etime=0 > [23/May/2008:14:31:46 +0200] conn=2 op=2 BIND dn="uid=admin, > ou=Administrators, ou=TopologyManagement, o=NetscapeRo > ot" method=128 version=3 > [23/May/2008:14:31:46 +0200] conn=2 op=2 RESULT err=0 tag=97 > nentries=0 etime=0 dn="uid=admin,ou=administrators,ou> topologymanagement,o=netscaperoot" > [23/May/2008:14:31:46 +0200] conn=2 op=3 SRCH base="ou=inrp.fr, > o=NetscapeRoot" scope=0 filter="(objectClass=*)" at > trs="dn" > [23/May/2008:14:31:46 +0200] conn=2 op=3 RESULT err=0 tag=101 > nentries=1 etime=0 > [23/May/2008:14:31:46 +0200] conn=2 op=4 UNBIND > [23/May/2008:14:31:46 +0200] conn=2 op=4 fd=64 closed - U1 > > *Stage 3 : Are you ready to set up your servers? : YES* > > [23/May/2008:14:38:30 +0200] conn=3 fd=64 slot=64 connection from > 195.83.134.21 to 195.83.134.29 > [23/May/2008:14:38:30 +0200] conn=3 op=0 BIND dn="" method=128 version=3 > [23/May/2008:14:38:30 +0200] conn=3 op=0 RESULT err=0 tag=97 > nentries=0 etime=0 dn="" > [23/May/2008:14:38:30 +0200] conn=3 op=1 SRCH base="o=NetscapeRoot" > scope=2 filter="(uid=admin)" attrs="dn" > [23/May/2008:14:38:30 +0200] conn=3 op=1 RESULT err=0 tag=101 > nentries=1 etime=0 > [23/May/2008:14:38:30 +0200] conn=3 op=2 BIND dn="uid=admin, > ou=Administrators, ou=TopologyManagement, o=NetscapeRo > ot" method=128 version=3 > [23/May/2008:14:38:30 +0200] conn=3 op=2 RESULT err=0 tag=97 > nentries=0 etime=0 dn="uid=admin,ou=administrators,ou> topologymanagement,o=netscaperoot" > [23/May/2008:14:38:30 +0200] conn=3 op=3 SRCH base="o=NetscapeRoot" > scope=0 filter="(objectClass=*)" attrs="* aci" > [23/May/2008:14:38:30 +0200] conn=3 op=3 RESULT err=0 tag=101 > nentries=1 etime=0 > [23/May/2008:14:38:30 +0200] conn=3 op=4 MOD dn="o=NetscapeRoot" > [23/May/2008:14:38:30 +0200] conn=3 op=4 RESULT err=0 tag=103 > nentries=0 etime=0 > [23/May/2008:14:38:30 +0200] conn=3 op=5 SRCH base="cn=Fedora > Directory Server, cn=Server Group, cn=vmware-fds2.inr > p.fr, ou=inrp.fr, o=NetscapeRoot" scope=0 filter="(objectClass=*)" > attrs="* aci" > [23/May/2008:14:38:30 +0200] conn=3 op=5 RESULT err=32 tag=101 > nentries=0 etime=0 > [23/May/2008:14:38:30 +0200] conn=3 op=6 ADD dn="cn=Fedora Directory > Server, cn=Server Group, cn=vmware-fds2.inrp.f > r, ou=inrp.fr, o=NetscapeRoot" > *[23/May/2008:14:38:30 +0200] conn=3 op=6 RESULT err=32 tag=105 > nentries=0 etime=0* > [23/May/2008:14:38:30 +0200] conn=3 op=7 UNBIND > [23/May/2008:14:38:30 +0200] conn=3 op=7 fd=64 closed - U1 > > > HELP ! > > -- > *Nicolas CAREL > **Service Commun Informatique > *IT Manager > Trust my certificate : http://igc.cru.fr/trust.php > > *Institut National de Recherche Pédagogique > <http://www.inrp.fr/>*19 allée de Fontenay - B.P. 17424 - 69347 LYON > CEDEX 07 > Standard : 04 72 76 61 00 - Télécopie : 04 72 76 61 10 > ------------------------------------------------------------------------ > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users