Руководство По Установке для Cisco Headend System Release 2.7

Скачать
Страница из 260
 
Chapter 8    Identify and Correct Database Problems with the checkDB Script 
 
 
 
112 
740020 Rev H 
 
 
Running the checkDB Script in "Fix" Mode 
Use options -f or -F to run the checkDB script in "fix" mode. When run in "fix" mode, 
the script removes certain orphaned records from the database and generates a 
report that lists potential error conditions.  
Follow these instructions to run the checkDB script in "fix" mode. 
1  If necessary, open an xterm window on the DNCS. 
2  Choose one of the following options: 
 
To run the checkDB script with the -f option, type 
checkDB.sh  -f  >  /dvs/dncs/tmp/checkDB.[today's date] and then press 
Enter
Example:  checkDB.sh -f   >  /dvs/dncs/tmp/checkDB.081601 
 
To run the checkDB script with the -F option, type 
checkDB.sh  -F  >  /dvs/dncs/tmp/checkDB.[today's date] and then press 
Enter
Example:  checkDB.sh -F   >  /dvs/dncs/tmp/checkDB.081601 
Notes:   
 
 
Substitute today's date for [today's date]. 
 
These commands directs the output from the checkDB script to a file in the 
/dvs/dncs/tmp directory on the DNCS. Cisco recommends that you direct 
the output to a file for you to examine later because the output would 
otherwise scroll too quickly off the screen for you to examine.