I haven't installed any relevant data that is important. So deleting the database is not important but how do I start a new and make that modification to the dhcp schema and the server startup properly. Since it wasn't working I did load any data yet. This is just to see if I can get it to work with DHCP lookup. On Jan 28, 2016 12:00 PM, "Emmanuel Lécharny" <[email protected]> wrote:
> Le 28/01/16 15:46, Sherman Lilly a écrit : > > How to do I do that? > > Assuming that you have a backup of your database content in a LDIF > format, just delete the existing data from your disk (<apacheds > root>/instance/<your instance>/partitions/<your database>) > > Typically, on my linux box : > > /opt/apacheds-2.0.0-M22-SNAPSHOT/instances/default/partitions/example : > [root@brie example]# ll > total 620 > -rw-r--r--. 1 root root 0 Jan 27 15:55 0.9.2342.19200300.100.1.1.db > -rw-r--r--. 1 root root 41362 Jan 27 15:55 0.9.2342.19200300.100.1.1.lg > -rw-r--r--. 1 root root 222 Jan 27 15:55 > 0.9.2342.19200300.100.1.1-uid.txt > -rw-r--r--. 1 root root 0 Jan 27 15:55 0.9.2342.19200300.100.1.25.db > -rw-r--r--. 1 root root 257 Jan 27 15:55 > 0.9.2342.19200300.100.1.25-dc.txt > -rw-r--r--. 1 root root 41362 Jan 27 15:55 0.9.2342.19200300.100.1.25.lg > -rw-r--r--. 1 root root 273 Jan 27 15:55 > 1.3.6.1.4.1.18060.0.4.1.2.3-apachePresence.txt > -rw-r--r--. 1 root root 0 Jan 27 15:55 1.3.6.1.4.1.18060.0.4.1.2.3.db > -rw-r--r--. 1 root root 41362 Jan 27 15:55 1.3.6.1.4.1.18060.0.4.1.2.3.lg > -rw-r--r--. 1 root root 264 Jan 27 15:55 > 1.3.6.1.4.1.18060.0.4.1.2.50-apacheRdn.txt > -rw-r--r--. 1 root root 0 Jan 27 15:55 1.3.6.1.4.1.18060.0.4.1.2.50.db > -rw-r--r--. 1 root root 41362 Jan 27 15:55 1.3.6.1.4.1.18060.0.4.1.2.50.lg > -rw-r--r--. 1 root root 211 Jan 27 15:55 > 1.3.6.1.4.1.18060.0.4.1.2.5-apacheOneAlias.txt > -rw-r--r--. 1 root root 0 Jan 27 15:55 1.3.6.1.4.1.18060.0.4.1.2.5.db > -rw-r--r--. 1 root root 41362 Jan 27 15:55 1.3.6.1.4.1.18060.0.4.1.2.5.lg > -rw-r--r--. 1 root root 208 Jan 27 15:55 > 1.3.6.1.4.1.18060.0.4.1.2.6-apacheSubAlias.txt > -rw-r--r--. 1 root root 0 Jan 27 15:55 1.3.6.1.4.1.18060.0.4.1.2.6.db > -rw-r--r--. 1 root root 41362 Jan 27 15:55 1.3.6.1.4.1.18060.0.4.1.2.6.lg > -rw-r--r--. 1 root root 204 Jan 27 15:55 > 1.3.6.1.4.1.18060.0.4.1.2.7-apacheAlias.txt > -rw-r--r--. 1 root root 0 Jan 27 15:55 1.3.6.1.4.1.18060.0.4.1.2.7.db > -rw-r--r--. 1 root root 41362 Jan 27 15:55 1.3.6.1.4.1.18060.0.4.1.2.7.lg > -rw-r--r--. 1 root root 0 Jan 27 15:55 1.3.6.1.4.1.4203.666.1.7.db > -rw-r--r--. 1 root root 246 Jan 27 15:55 > 1.3.6.1.4.1.4203.666.1.7-entryCSN.txt > -rw-r--r--. 1 root root 41362 Jan 27 15:55 1.3.6.1.4.1.4203.666.1.7.lg > -rw-r--r--. 1 root root 0 Jan 27 15:55 1.3.6.1.4.1.5322.10.1.1.db > -rw-r--r--. 1 root root 215 Jan 27 15:55 > 1.3.6.1.4.1.5322.10.1.1-krb5PrincipalName.txt > -rw-r--r--. 1 root root 41362 Jan 27 15:55 1.3.6.1.4.1.5322.10.1.1.lg > -rw-r--r--. 1 root root 148 Jan 27 15:55 2.5.18.5-administrativeRole.txt > -rw-r--r--. 1 root root 0 Jan 27 15:55 2.5.18.5.db > -rw-r--r--. 1 root root 41362 Jan 27 15:55 2.5.18.5.lg > -rw-r--r--. 1 root root 0 Jan 27 15:55 2.5.4.0.db > -rw-r--r--. 1 root root 41362 Jan 27 15:55 2.5.4.0.lg > -rw-r--r--. 1 root root 184 Jan 27 15:55 2.5.4.0-objectClass.txt > -rw-r--r--. 1 root root 0 Jan 27 15:55 2.5.4.11.db > -rw-r--r--. 1 root root 41362 Jan 27 15:55 2.5.4.11.lg > -rw-r--r--. 1 root root 257 Jan 27 15:55 2.5.4.11-ou.txt > -rw-r--r--. 1 root root 40960 Jan 27 15:55 master.db > -rw-r--r--. 1 root root 8 Jan 27 15:55 master.lg > > > Just get rid of all that. They will be recreated when you inject the > LDIF that contains your data. > > >
