Cisco Cisco Agent Desktop 8.5 Referências técnicas

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