Cisco Headend System Release 2.7 Guide De Montage
Ensure No Active Database Sessions on the DNCS
4042389 Rev A
49
Ensure 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.
2 Are you already logged on as root user in the 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.
b Type the root password and press Enter.
b Type the root password and press Enter.
4 Type . /dvs/dncs/bin/dncsSetup and then press Enter. The system establishes
the correct user environment.
Important:
Important:
Be sure to type the dot followed by a space prior to typing /dvs.
If -0 bad options message displays, ignore the message and go to step 5.
5 Type /usr/ucb/ps -auxww | grep tomcat and then press Enter. The system lists
running processes that use the tomcat server.
Sample Output - tomcat server (running):
Sample Output - tomcat server (running):
$ /usr/ucb/ps -auxww | grep tomcat
dncs 247 0.1 3.2227576131184 ? S Dec 21 46:07
/usr/java/bin/java -Djava.util.logging.manager=org.apache.juli.ClassL
/usr/java/bin/java -Djava.util.logging.manager=org.apache.juli.ClassL
oaderLogManager -
Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties -
Djava.endorsed.dirs=/usr/local/tomcat/com
Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties -
Djava.endorsed.dirs=/usr/local/tomcat/com
mon/endorsed -classpath
:/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/commons -logging-
api.jar -Dcatalina.base=/usr/loca
:/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/commons -logging-
api.jar -Dcatalina.base=/usr/loca
l/tomcat -Dcatalina.home=/usr/local/tomcat -
Djava.io.tmpdir=/usr/local/tomcat/temp org.apache.catalina.startup.Bootstrap
start
Djava.io.tmpdir=/usr/local/tomcat/temp org.apache.catalina.startup.Bootstrap
start
dncs 14929 0.0 0.1 1312 1104 pts/4 S 08:02:16 0:00 grep tomcat
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 /usr/ucb/ps -auxww | 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.
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.