Monday, May 2, 2016

[389-users] Re: Admin-server connection

Today I attempted to restore the dirsrv-admin to a previous version.

I used this Documentation, "4.3.4. Restoring a Single Database" from Redhat's web site.

https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server/9.0/html/Administration_Guide/Populating_Directory_Databases-Backing_Up_and_Restoring_Data.html#Backing_Up_and_Restoring_Data-Restoring_a_Single_Database

I stopped the dirsrv-admin with:
# service dirsrv-admin stop
Shutting down dirsrv-admin:
[ OK ]

I ran the following from the location of the script:
# ./bak2db /var/lib/dirsrv/slapd-zigzag/bak/2013_10_14_14_14_13/ -n NetscapeRoot
[02/May/2016:09:59:38 -0700] 389-Directory/1.2.11.15 - debug level: backend (524288)
[02/May/2016:09:59:38 -0700] - Unable to import the database because it is being used by another slapd process.
[02/May/2016:09:59:38 -0700] - Shutting down due to possible conflicts with other slapd processes

and since it looked like it failed I restarted the server with:
#service dirsrv-admin start

What did I do wrong?
Isn't NetscapeRoot the dirsrv-admin data?

Should I plan on doing this after hours when I can stop both servers?

If this is the dirsrv-admin then how do I restore it?
If it is not the correct procedure then what is?

Thanks,
Job Cacka


--
389-users mailing list
389-users@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/389-users@lists.fedoraproject.org

No comments:

Post a Comment