Cisco Headend Digital Broadband Delivery System Guía Del Usuario
2-8
Save Core Files With the savecore Utility
749640 Rev D
Disable the savecore Utility
Disabling the savecore Utility
If you have run the savecore utility on your DNCS and Application Server, the
system will automatically save your core files when the DNCS or the Application
Server reboots following a system crash. If you ever want to prevent your system
from saving these core files automatically, you need to reverse the system changes
brought about when you first ran the savecore utility. Follow these instructions to
reverse those system changes.
1.
If necessary, open an xterm window on the DNCS and the Application Server.
2.
Follow these instructions to log in as root user in the xterm window on the
DNCS.
•
•
Type su - and then press Enter.
Result: The password prompt appears.
Result: The password prompt appears.
•
Type the root password and then press Enter.
3.
Type rm -ir /export/home/crash and then press Enter.
Result: A confirmation message appears.
Result: A confirmation message appears.
4.
Type y (for yes) and then press Enter.
Result: The system deletes the core dump directory and subdirectory.
Result: The system deletes the core dump directory and subdirectory.
5.
Type cd /etc/init.d and then press Enter.
Result: The /etc/init.d directory becomes the working directory.
Result: The /etc/init.d directory becomes the working directory.
6.
Type ls -l sysetup* and then press Enter.
Important: Be sure to type the asterisk (*) after typing sysetup.
Result: The system displays all the files that start with the name sysetup.
Important: Be sure to type the asterisk (*) after typing sysetup.
Result: The system displays all the files that start with the name sysetup.
7.
Type cp /etc/init.d/sysetup.[date] /etc/init.d/sysetup and then press Enter.
Note: Use the output from the command you executed in step 6 to substitute
Note: Use the output from the command you executed in step 6 to substitute
the date that the savecore utility changed your original sysetup file for [date].
Example: Type cp /etc/init.d/sysetup.021802 /etc/init.d/sysetup and then
Example: Type cp /etc/init.d/sysetup.021802 /etc/init.d/sysetup and then
press Enter if your sysetup file was changed by the savecore utility on
February 18, 2002.
Result: The system restores your original /etc/init.d/sysetup file.
Result: The system restores your original /etc/init.d/sysetup file.
8.
Repeat steps 2 through 7 on the Application Server.