H-Sphere services are stopped or started with different commands
depending on whether it runs on JServ or Tomcat. To find out which servlet
runner is used in your system, run the following command:
ps axuw | grep java
In the lines that appear on the screen, you will see either Tomcat (which means
that Tomcat is used) or org.apache.JServ (meaning that JServ is used).
Apache JServ Installation
--
# /etc/rc.d/init.d/httpdcp stop
# sleep 10
# /etc/rc.d/init.d/httpdcp start
--
For FreeBSD use the following command:
/usr/local/etc/rc.d/apachecp.sh restart
Tomcat Installation
--
# /hsphere/local/home/cpanel/tomcat/tomcat.sh stop
# sleep 10
# /hsphere/local/home/cpanel/tomcat/tomcat.sh start
--
When restarting the Control Panel, make sure that you are logged in as root.
|