Cisco Headend System Release 2.7 User Guide

Page of 117
2-6 
Save Core Files With the savecore Utility 
749640 Rev D 
Run the savecore Utility on the Application Server,
 Continued 
Running the savecore Utility on the Application Server 
After transferring the savecore utility from the DNCS, run it next on the Application 
Server. Follow these instructions to run the savecore utility on the Application 
Server. 
 
1. 
 
If necessary, open an xterm window on the Application Server. 
2. 
 
Follow these instructions to log in as root user in the xterm window. 
• 
Type su  - and then press Enter
Result:  The password prompt appears. 
• 
Type the root password and then press Enter
3. 
 
Type savecore.ksh and then press Enter
Results:   
• 
The system checks available free space in the /export/home directory. 
Note:  Cisco recommends that the /export/home directory has at least 1 GB 
of free space available in which to create the core dump directory.  
• 
The system creates the core dump directory. 
Note:  This directory is called /export/home/crash/[Application Server 
name] on the Application Server. 
• 
The system copies the /etc/init.d/sysetup file to sysetup.[date]. 
• 
The system modifies the /etc/init.d/sysetup file. 
Note:  The purpose of the file modification is to enable the system to check 
for core dumps and to write core dump output to the appropriate directory 
when the system reboots. 
Example:  Refer to step 4 of the Running the savecore Utility on the DNCS 
procedure, in the Run the savecore Utility on the DNCS section of this 
chapter, for sample output for when the utility is run on the Application 
Server. Output displayed on the Application Server is similar to the output 
displayed on the DNCS.