Cisco Headend System Release 2.7 Guia Do Utilizador

Página de 282
 
 
 
Update the Database Tables 
 
4031374 Rev B 
159 
 
 
Ensuring No Active Database Sessions on the DNCS 
1  Close all windows and GUIs that are open except for the xterm window in which 
you are working. Are you already logged into that xterm window as root user? 
Note:  You need to be root user to run some of the commands in this procedure. 
 
If yes, go to step 2. 
 
If no, follow these instructions to log in as root user. 
a  Type su  -   and then press Enter. 
b  Type the root password and then press Enter
2  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. 
3  Type ps  -ef  | grep  tomcat and then press Enter. The system lists running 
processes that use the tomcat server. 
4  Is the tomcat server running? 
 
If yes, type /etc/rc2.d/S98tomcat  stop and then press Enter
 
If no, go to step 6. 
5  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 4. 
6  Type ps  -ef  | grep UI and then press Enter. The system lists running UI 
processes. 
7  Are any UI processes running (dbUIServer and podUIServer)? 
 
If yes, type /dvs/dncs/bin/stopSOAPServers and then press Enter
 
If no, go to step 9. 
8  Type ps  -ef  | grep UI and then press Enter to confirm that UI processes have 
stopped. 
Note:  If any GUI processes are still running, repeat step 7. 
9  Type ps  -ef  |  grep  ui and then press Enter to confirm that ui process have 
stopped. 
10  Are any ui processes running? 
 
If yes, type kill -9 [PID] and then press Enter for any consoleui process that 
was still running. 
Note:  The PID to kill is in the second column in the output from step 9.