Руководство По Устранению Ошибки для Cisco Cisco Agent Desktop 8.0
Cisco CAD Troubleshooting Guide
42
March 2012
Out of Sync Directory Services Databases
The secondary Directory Services database can become out of sync with the primary
Directory Services database. A possible reason for this to occur is that the secondary
database was reinstalled.
Directory Services database. A possible reason for this to occur is that the secondary
database was reinstalled.
Follow these steps to sync up the two databases:
1. On the PC hosting the primary database, stop the LDAP Monitor service.
2. Remove all contents from the files repl.log and repl.log.lock from the
…\Cisco\Desktop\database directory.
3. Delete all files in the …\Cisco\Desktop\logs\replica directory.
4. Open a command window on the primary database computer.
5. Change directories to …Cisco\Desktop\bin (the drive and exact location of
this folder depends on where the service was installed).
6. Type the following command and press Enter. A file called backup.ldif is
generated.
slapcat -f slapd.conf -l backup.ldif -c
7. Copy the backup.ldif file to the computer on which the secondary LDAP
service is installed, into the …Cisco\Desktop\bin folder.
8. On the PC hosting the secondary database, stop the LDAP Monitor service.
9. Rename the existing folder …Cisco\Desktop\database to
…Cisco\Desktop\old_database.
10. Create a new folder called …Cisco\Desktop\database.
11. Copy the following files from the old_database folder to the database folder:
■
case.dat
■
cmbcl.dat
■
comp.dat
■
ctype.dat
■
decomp.dat
■
kdecomp.dat
■
DB_CONFIG
12. In the database folder, create an empty file called rep.log.
13. Open a command window on the secondary database computer and change
directories to …Cisco\Desktop\bin (the drive and exact location of this folder
depends on where the service was installed).
depends on where the service was installed).
14. Type the following command and press Enter.
slapadd -f slapd.conf -l backup.ldif -c