Tuesday, June 6, 2017

[389-users] Re: Need to re-register 389ds servers

Mark,
Ok, I ran the new register-ds-admin.pl -u command on the LDAP server that I wish to be the new single pane of glass config server but it looks like it is not able to clean up the old config or maybe it is failing to connect to the localhost that the script is running on.

Can I delete everything in /etc/dirserv/admin-serv and just recreate it without hurting or destroying the current running LDAP database located in /etc/dirserv/slapd-my-server-01 ?

[root@my-server-01 ldap]# register-ds-admin.pl -ddd -u
Beginning registration of the Directory Server
==============================================================================
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.

If you have such Directory Server, type the full path that stores the configuration file.

If you don't, type return.
[configuration directory path or return]:


==============================================================================
Candidate servers to register:
/etc/dirsrv/slapd-my-server-01

==============================================================================
Do you want to use this server as Configuration Directory Server?

Directory server identifier: my-server-01

==============================================================================
Cleaning up old Config DS:

==============================================================================
Please input the password for the Administrator User uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot:
+++Attempting connection to my-server-01.my.domain.com:389 certdir configdir /etc/dirsrv/admin-serv
Error: failed to clean up the configuration info from the old Configuration
Directory Server .

==============================================================================
Please input the password for the Administrator User uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot:
[root@my-server-01 ldap]#

Thanks!
_______________________________________________
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org

No comments:

Post a Comment