Cisco Cisco Agent Desktop 8.5 Guia De Resolução De Problemas

Página de 126
Recovering the Directory Services Database
April 3, 2014
47
Recovering the Directory Services Database
Corrupted Directory Services Database
If the Directory Services database becomes corrupted, complete the following steps.
To recover the Directory Services database (Method 1):
1. On the PC hosting the database, stop the LDAP Monitor service. 
2. Open a command window and change directories to …Cisco\Desktop\bin (the 
drive and exact location of this directory depends on where the services were 
installed).
3. Type the following command and press Enter.
db_recover -h ../database -v
4. Type exit and press Enter to close the DOS window. 
5. Restart the LDAP Monitor service.
If this procedure does not work, complete the following steps.
To recover the Directory Services database (Method 2):
1. On the PC hosting the database, stop the LDAP Monitor service. 
2. Open a command window and change directories to …Cisco\Desktop\bin (the 
drive and exact location of this directory depends on where the services were 
installed).
3. Type the following command and press Enter.
slapcat -f slapd.conf -l backup.ldif -c
4. Rename …Cisco\Desktop\database to …Cisco\Desktop\old_database.
5. Create a new folder called …Cisco\Desktop\database.
6. Copy DB_CONFIG and all files with a *.dat extension from the old_database 
folder to the new database folder.
7. In the database folder, create an empty file called rep.log.
8. Open a command window and change directories to …Cisco\Desktop\bin (the 
drive and exact location of this directory depends on where the services were 
installed).
9. Type the following command and press Enter.
slapadd -f slapd.conf -l backup.ldif -c
10. Type exit and press Enter to close the DOS window. 
11. Restart the LDAP Monitor service.