Cisco Headend System Release 2.7 User Guide
Chapter 4 Identify and Correct Database Problems with the checkDB Script
44
4031374 Rev B
Run the checkDB Script
The checkDB script examines the following tables in your DNCS database for
possible error conditions:
possible error conditions:
emm
hct_profile
pdkeycertificate
pdsernummap
secure_micro
sm_auth_profile
sm_pkg_auth
You can run the checkDB script in three possible modes:
Run the checkDB script in default mode (with no options) to generate a detailed
report listing possible error conditions in the database. When the checkDB script
is run in default mode, the script does not correct any error conditions it finds.
The script merely generates a report listing potential error conditions.
report listing possible error conditions in the database. When the checkDB script
is run in default mode, the script does not correct any error conditions it finds.
The script merely generates a report listing potential error conditions.
Run the checkDB script in "fix" mode to automatically delete certain orphaned
records from the database. When run in "fix" mode, with the -f or -F option, the
script generates a report listing potential error conditions and lists any changes it
made to the database as a result of running the script in "fix" mode.
Important: Our engineers recommend that you run the script with no options
before running the script with one of the "fix" mode options.
records from the database. When run in "fix" mode, with the -f or -F option, the
script generates a report listing potential error conditions and lists any changes it
made to the database as a result of running the script in "fix" mode.
Important: Our engineers recommend that you run the script with no options
before running the script with one of the "fix" mode options.
Run the checkDB script with the -v option to display only the version number of
the checkDB script.
the checkDB script.
Running the checkDB Script with No Options
Running the checkDB script with no options generates a detailed report that lists
possible error conditions in the database. Follow these instructions to run the
checkDB script with no options, and then to examine the logfile.
1 If necessary, open an xterm window on the DNCS.
2 Type checkDB.sh > /dvs/dncs/tmp/checkDB.[today's date] and then press
possible error conditions in the database. Follow these instructions to run the
checkDB script with no options, and then to examine the logfile.
1 If necessary, open an xterm window on the DNCS.
2 Type checkDB.sh > /dvs/dncs/tmp/checkDB.[today's date] and then press
Enter.
Notes:
Notes:
Substitute today's date for [today's date].
Example: checkDB.sh > /dvs/dncs/tmp/checkDB.081601
Example: checkDB.sh > /dvs/dncs/tmp/checkDB.081601
This command directs the output from the checkDB script to a file in the
/dvs/dncs/tmp directory on the DNCS. We recommend that you direct the
output to a file for you to examine later because the output would otherwise
/dvs/dncs/tmp directory on the DNCS. We recommend that you direct the
output to a file for you to examine later because the output would otherwise