Cisco Cisco Agent Desktop 10.5 テクニカルリファレンス

ページ / 214
Recovering the Directory Services Database
31-Mar-06
173
Recovering the Directory Services 
Database
Directory Services Database Becomes 
Corrupted
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.