Cisco Headend System Release 2.7 Release Notes

Page of 70
 
Chapter 2    DNCS Pre-Upgrade Procedures 
 
 
 
24 
4019303 Rev C 
10  Confirm that the cron jobs have stopped by typing pgrep -fl cron and press 
Enter. The command prompt should be the only item displayed; no processes 
should be displayed. 
Note: The "l" in "fl" is a lowercase L. 
11  If the results from step 10 show that the cron process is still running, repeat steps 
4 though 10. 
Note: Call Cisco Services for assistance if necessary. 
 
Stop the cron Jobs on the Cisco Application Server 
1  In the xterm window, type cd and then press Enter. The home directory on the 
DNCS becomes the working directory. 
2  Complete the following steps to log on to the xterm window as root user. 
a  Type su - and press Enter. The password prompt appears. 
b  Type the root password and press Enter
3  Type pgrep -fl cron and press Enter. The Application Server displays the cron 
process ID (PID). 
4  Use the cron PID from step 3, and type ptree <PID> and press Enter. The 
Application Server displays the process tree of all cron processes. 
5  Did the results from step 4 only include /usr/sbin/cron? 
 
If yes, type svcadm -v disable -st cron and press Enter
 
If no, (results from step 2 show multiple cron processes), type kill -9 <PIDs> 
and press Enter
Important: List the PIDs in reverse order. 
Example: kill -9 14652 14651 209 
 
If the results from step 4 did not show /usr/sbin/cron, then the cron jobs are 
already stopped. 
6  Type cd /usr/sbin and press Enter
7  Type chmod -x cron and press Enter
8  Perform a ls -l cron and press Enter
Result: 
-r--r--r--   1 root     sys        57420 Jan 22  2005 cron 
9  Did your result in step 8 show -r--r--r-- and not -r-xr-xr-x
 
If yes, go to step 10. 
 
If no, repeat step 8.