Well, I am far from an expert but if the directory server is working properly then your scripts have to create your DIT. If you are running a script to create the dc=tld,dc=dn entry and it is not being created there must be some error there.
----- Original Message -----
From: "Charlie Mordant" cmordant1@gmail.com To: "General discussion list for the 389 Directory server project." 389-users@lists.fedoraproject.org Sent: Tuesday, April 26, 2016 11:59:28 AM Subject: [389-users] Re: Erasing and rewriting 389
Hi Patrick,
Yes, my script does the exact inverse of the procedure.
I didn't see any error while reinstalling, setup-ds-admin.pl says that all is right...
Regards Le 25 avr. 2016 23:35, "Patrick M. Landry" < patrick.landry@louisiana.edu > a écrit :
<blockquote>
That's pretty much the steps I follow to completely remove a 389 DS installation.
I presume your "existing scripts" attempt to recreate your DIT. Do they produce any error messages?
<blockquote> From: "Charlie Mordant" < cmordant1@gmail.com > To: "General discussion list for the 389 Directory server project." < 389-users@lists.fedoraproject.org > Sent: Monday, April 25, 2016 3:51:28 PM Subject: [389-users] Erasing and rewriting 389
Hi Laposte experts (French national mailing delivery)!
I'm trying some experiments some simple things on 389 ds. I've an existing 389 installation, with some users, groups and acls (on fedora 21), and I'm trying to uninstall, erase my existing ldap to reinstall it.
So my script is: * remove-ds-admin.pl -a -f -y * service stop (dirsrv@myldap, dirsrv-admin) * yum uninstall 389-* * rm -rf /**dirsrv*/** * then reinstalling with my existing script.
As it looks like a nice thing, it seems that there's a catch: my dc=tld,dc=dn subgroups are not created.
Is there something somewhere that I should be aware to be able to remove everything?
Best regards, Charlie
Hi Patrick,
dc=dn,dc=tld entry is usually created while calling that setup-ds-admin.pl script (which is delivered with FDS), it's totally working on a new fresh install, but not after a complete erase then reinstall: this was purpose of the original question.
Regards,
2016-04-26 23:28 GMT+02:00 Patrick M. Landry patrick.landry@louisiana.edu:
Well, I am far from an expert but if the directory server is working properly then your scripts have to create your DIT. If you are running a script to create the dc=tld,dc=dn entry and it is not being created there must be some error there.
*From: *"Charlie Mordant" cmordant1@gmail.com *To: *"General discussion list for the 389 Directory server project." < 389-users@lists.fedoraproject.org> *Sent: *Tuesday, April 26, 2016 11:59:28 AM *Subject: *[389-users] Re: Erasing and rewriting 389
Hi Patrick,
Yes, my script does the exact inverse of the procedure.
I didn't see any error while reinstalling, setup-ds-admin.pl says that all is right...
Regards Le 25 avr. 2016 23:35, "Patrick M. Landry" patrick.landry@louisiana.edu a écrit :
That's pretty much the steps I follow to completely remove a 389 DS installation.
I presume your "existing scripts" attempt to recreate your DIT. Do they produce any error messages?
*From: *"Charlie Mordant" cmordant1@gmail.com *To: *"General discussion list for the 389 Directory server project." < 389-users@lists.fedoraproject.org> *Sent: *Monday, April 25, 2016 3:51:28 PM *Subject: *[389-users] Erasing and rewriting 389
Hi Laposte experts (French national mailing delivery)!
I'm trying some experiments some simple things on 389 ds. I've an existing 389 installation, with some users, groups and acls (on fedora 21), and I'm trying to uninstall, erase my existing ldap to reinstall it.
So my script is:
- remove-ds-admin.pl -a -f -y
- service stop (dirsrv@myldap, dirsrv-admin)
- yum uninstall 389-*
- rm -rf /**dirsrv*/**
- then reinstalling with my existing script.
As it looks like a nice thing, it seems that there's a catch: my dc=tld,dc=dn subgroups are not created.
Is there something somewhere that I should be aware to be able to remove everything?
Best regards, Charlie
-- Charlie Mordant
Full OSGI/EE stack made with Karaf: https://github.com/OsgiliathEnterprise/net.osgiliath.parent
-- 389-users mailing list 389-users@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/389-users@lists.fedoraproject.org
--
*Patrick Landry*Director, UCSS University of Louisiana at Lafayette pml@louisiana.edu
-- 389-users mailing list 389-users@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/389-users@lists.fedoraproject.org
-- 389-users mailing list 389-users@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/389-users@lists.fedoraproject.org
--
*Patrick Landry*Director, UCSS University of Louisiana at Lafayette pml@louisiana.edu
-- 389-users mailing list 389-users@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/389-users@lists.fedoraproject.org
Hi,
I'm really sorry, I had an ldif2ldap script that were called between the erase and the import...
Thank you to have tried to help, that issue is solved ;). However, the yum erase script should also remove **/*dirsrv|slapd stuff...
Best regards, keep on keeping users data safe!
2016-05-04 9:05 GMT+02:00 Charlie Mordant cmordant1@gmail.com:
Hi Patrick,
dc=dn,dc=tld entry is usually created while calling that setup-ds-admin.pl script (which is delivered with FDS), it's totally working on a new fresh install, but not after a complete erase then reinstall: this was purpose of the original question.
Regards,
2016-04-26 23:28 GMT+02:00 Patrick M. Landry <patrick.landry@louisiana.edu
:
Well, I am far from an expert but if the directory server is working properly then your scripts have to create your DIT. If you are running a script to create the dc=tld,dc=dn entry and it is not being created there must be some error there.
*From: *"Charlie Mordant" cmordant1@gmail.com *To: *"General discussion list for the 389 Directory server project." < 389-users@lists.fedoraproject.org> *Sent: *Tuesday, April 26, 2016 11:59:28 AM *Subject: *[389-users] Re: Erasing and rewriting 389
Hi Patrick,
Yes, my script does the exact inverse of the procedure.
I didn't see any error while reinstalling, setup-ds-admin.pl says that all is right...
Regards Le 25 avr. 2016 23:35, "Patrick M. Landry" patrick.landry@louisiana.edu a écrit :
That's pretty much the steps I follow to completely remove a 389 DS installation.
I presume your "existing scripts" attempt to recreate your DIT. Do they produce any error messages?
*From: *"Charlie Mordant" cmordant1@gmail.com *To: *"General discussion list for the 389 Directory server project." < 389-users@lists.fedoraproject.org> *Sent: *Monday, April 25, 2016 3:51:28 PM *Subject: *[389-users] Erasing and rewriting 389
Hi Laposte experts (French national mailing delivery)!
I'm trying some experiments some simple things on 389 ds. I've an existing 389 installation, with some users, groups and acls (on fedora 21), and I'm trying to uninstall, erase my existing ldap to reinstall it.
So my script is:
- remove-ds-admin.pl -a -f -y
- service stop (dirsrv@myldap, dirsrv-admin)
- yum uninstall 389-*
- rm -rf /**dirsrv*/**
- then reinstalling with my existing script.
As it looks like a nice thing, it seems that there's a catch: my dc=tld,dc=dn subgroups are not created.
Is there something somewhere that I should be aware to be able to remove everything?
Best regards, Charlie
-- Charlie Mordant
Full OSGI/EE stack made with Karaf: https://github.com/OsgiliathEnterprise/net.osgiliath.parent
-- 389-users mailing list 389-users@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/389-users@lists.fedoraproject.org
--
*Patrick Landry*Director, UCSS University of Louisiana at Lafayette pml@louisiana.edu
-- 389-users mailing list 389-users@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/389-users@lists.fedoraproject.org
-- 389-users mailing list 389-users@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/389-users@lists.fedoraproject.org
--
*Patrick Landry*Director, UCSS University of Louisiana at Lafayette pml@louisiana.edu
-- 389-users mailing list 389-users@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/389-users@lists.fedoraproject.org
-- Charlie Mordant
Full OSGI/EE stack made with Karaf: https://github.com/OsgiliathEnterprise/net.osgiliath.parent
389-users@lists.fedoraproject.org