tamarin p
2009-Apr-14 15:00 UTC
[Fedora-directory-users] ds_removal error message when removing server with NetscapeRoot
When removing a server instance that has the o=NetscapeRoot with ds_removal, I get the following error message in 1.2.0: Error:The server ''ldap://ldap.test.org:389/o=NetscapeRoot'' is not reachable. Error: unknown error The server directories and configuration seems to be properly removed, but it looks as if an additional connection attempt is made after the server is shut down and removed. Don''t remember seeing this before upgrading from 1.1.3. This is not much of a problem though because the server seems to be removed just fine besides the trailing error message. There is no error message when deleting additional instances registered with the first config directory. Only when removing the config directory itself. Here''s the inf-file used to create the config directory instance. [General] AdminDomain = test.org SuiteSpotGroup = nobody ConfigDirectoryLdapURL = ldap://ldap.test.org:389/o=NetscapeRoot ConfigDirectoryAdminID = admin ConfigDirectoryAdminPwd = pwd SuiteSpotUserID = nobody FullMachineName = ldap.test.org [slapd] InstallLdifFile = suggest ServerIdentifier = test ServerPort = 389 AddOrgEntries = No RootDN = cn=Directory Manager RootDNPwd = pwd SlapdConfigForMC = yes Suffix = dc=test,dc=org UseExistingMC = 0 AddSampleEntries = No [admin] ServerAdminID = admin ServerAdminPwd = pwd SysUser = nobody Port = 9830
Rich Megginson
2009-Apr-14 15:16 UTC
Re: [Fedora-directory-users] ds_removal error message when removing server with NetscapeRoot
tamarin p wrote:> When removing a server instance that has the o=NetscapeRoot with > ds_removal, I get the following error message in 1.2.0: > Error:The server ''ldap://ldap.test.org:389/o=NetscapeRoot > <http://ldap.test.org:389/o=NetscapeRoot>'' is not reachable. Error: > unknown error > > The server directories and configuration seems to be properly removed, > but it looks as if an additional connection attempt is made after the > server is shut down and removed. > Don''t remember seeing this before upgrading from 1.1.3. This is not > much of a problem though because the server seems to be removed just > fine besides the trailing error message. > > There is no error message when deleting additional instances > registered with the first config directory. Only when removing the > config directory itself.I think the problem is that it is trying to unregister itself from itself. I think ds_removal has the -f option to force it to continue if unregistration fails. However, since ds_removal is mostly useful for removing and unregistering, and you don''t care about the unregistration part for the o=NetscapeRoot instance, you can also use remove-ds.pl> > Here''s the inf-file used to create the config directory instance. > > [General] > AdminDomain = test.org <http://test.org> > SuiteSpotGroup = nobody > ConfigDirectoryLdapURL = ldap://ldap.test.org:389/o=NetscapeRoot > <http://ldap.test.org:389/o=NetscapeRoot> > ConfigDirectoryAdminID = admin > ConfigDirectoryAdminPwd = pwd > SuiteSpotUserID = nobody > FullMachineName = ldap.test.org <http://ldap.test.org> > > [slapd] > InstallLdifFile = suggest > ServerIdentifier = test > ServerPort = 389 > AddOrgEntries = No > RootDN = cn=Directory Manager > RootDNPwd = pwd > SlapdConfigForMC = yes > Suffix = dc=test,dc=org > UseExistingMC = 0 > AddSampleEntries = No > > [admin] > ServerAdminID = admin > ServerAdminPwd = pwd > SysUser = nobody > Port = 9830 > > ------------------------------------------------------------------------ > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >