Cisco Headend System Release 2.7 Installation Guide

Page of 172
 
Chapter 2    DNCS Pre-Upgrade Procedures 
 
 
 
38 
4013154 Rev C 
Ensure No Active Database Sessions on the DNCS 
1  Close all windows and GUIs that are open except for the xterm window you are 
working in. 
2  Are you already root user in an xterm window on the DNCS? 
 
If yes, go to step 4. 
 
If no, go to step 3. 
3  Complete the following steps to log on to the xterm window as root user. 
a  Type su - and press Enter. The password prompt appears. 
4  Type the root password and press Enter.Type .  /dvs/dncs/bin/dncsSetup and 
then press Enter. The system establishes the correct user environment. 
Important:  Be sure to type the dot followed by a space prior to typing /dvs. 
5  Type ps  -ef  | grep  tomcat and then press Enter. The system lists running 
processes that use the tomcat server. 
6  Is the tomcat server running? 
 
If yes, type /etc/rc2.d/S98tomcat  stop and then press Enter
 
If no, go to step 7. 
7  Type ps  -ef  | grep  tomcat and then press Enter to confirm that the tomcat 
server has stopped. 
Note:  If the tomcat server is still running, repeat step 5. 
8  Type ps  -ef  | grep -i ui and then press Enter. The system lists running UI 
processes. 
9  Type ps  -ef  | grep -i ui and then press Enter to confirm that UI processes have 
stopped. 
Note:  If any GUI processes are still running, repeat step 8. 
10  Type ps  -ef  |  grep  -i ui and then press Enter to confirm that ui process have 
stopped. 
11  Are any ui processes running? 
 
If yes, type kill -9 [PID] and then press Enter for any consoleui process that 
was still running. 
 
If no, go to step 13.