33.2.2 Verifying That All Services Are Running

  1. Log in to the server as the root user.

  2. Verify that the ActiveMQ service is running by using the following command:

    ps -ef | grep "novell/activemq"

    An output similar to the following is displayed:

    activem+  7560     1  0 11:18 ?        00:00:29 /opt/novell/java/bin/java -Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Dcom.sun.management.jmxremote -Djavax.net.ssl.keyStorePassword=password -Djavax.net.ssl.trustStorePassword=password -Djavax.net.ssl.keyStore=/opt/novell/activemq/conf/broker.ks -Djavax.net.ssl.trustStore=/opt/novell/activemq/conf/broker.ts -Dactivemq.classpath=/opt/novell/activemq/conf; -Dactivemq.home=/opt/novell/activemq -Dactivemq.base=/opt/novell/activemq -jar /opt/novell/activemq/bin/run.jar start

    Here, the ActiveMQ process ID is 7560.

  3. To know which TCP port ActiveMQ is listening on, use the following command:

    netstat -ntlp | grep <activemq process id>/java

    An output similar to the following is displayed:

    tcp   0  0      127.0.0.1:61616   :::*       LISTEN      7560/java

    The default listening port of ActiveMQ is 61616.

  4. Verify that one or more Apache proxy services are running by using the following command:

    ps -ef | grep httpd

    Lines similar to the following are displayed:

    root   2983 30290  0 12:53 pts/0  00:00:00 egrep httpd
    root   3163     1  0 May12 ?      00:00:29 /opt/novell/apache2/sbin/httpd
    wwwrun 3165  3163  0 May12 ?      00:01:00 /opt/novell/apache2/sbin/httpd
    wwwrun 3184  3163  0 May12 ?      00:00:01 /opt/novell/apache2/sbin/httpd
    wwwrun 3188  3163  0 May12 ?      00:00:01 /opt/novell/apache2/sbin/httpd
  5. Verify that the user session cache service is running by using the following command:

    ps -ef | grep novell-agscd

    Lines similar to the following are displayed:

    root  3259 30290  0 12:56 pts/0    00:00:00 egrep novell-agscd
    108   5525     1  0 May11 ?   00:00:00 /opt/novell/ag/bin/novell-agscd -d
    108   5526  5525  0 May11 ?   00:00:09 /opt/novell/ag/bin/novell-agscd -d
  6. Verify that the Tomcat service is running by using the following command:

    ps -ef | grep catalina.base

    Lines similar to the following are displayed:

    ps -eaf | grep catalina.base 
    novlwww  28764     1  0 Jul05 pts/0    00:02:05 /opt/novell/java/bin/java -Dnop -server -Xmx2048m -Xms512m -Xss128k -Djava.library.path=/usr/lib64:/opt/novell/eDirectory/lib64:/opt/novell/lib64 -Dcom.novell.nam.common.util.DeploymentMode=MAGAppliance -Dsun.net.client.defaultConnectTimeout=29000 -Dsun.net.client.defaultReadTimeout=28000 -Dnids.freemem.threshold=10 -Djavax.net.ssl.sessionCacheSize=10000 -Dsun.net.http.allowRestrictedHeaders=true -Djava.awt.headless=true -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/var/opt/novell/tomcat/endorsed -classpath /lib/tools.jar:/var/opt/novell/tomcat/bin/bootstrap.jar:/var/opt/novell/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/opt/novell/nam/mag -Dcatalina.home=/var/opt/novell/tomcat -Djava.io.tmpdir=/opt/novell/nam/mag/temp org.apache.catalina.startup.Bootstrap -config /opt/novell/nam/mag/conf/server.xml start 
  7. Verify that the JCC service is running by using the following command:

    ps -ef | grep novell.jcc.server

    An output similar to the following is displayed:

    root      4302  4298  1 11:17 ?        00:03:59 /opt/novell/java/bin/java -Dcom.novell.nam.common.util.DeploymentMode=MAGAppliance -Djava.util.logging.config.file=/opt/novell/devman/jcc/conf/logging.properties -Djava.security.manager -Djava.security.policy=/opt/novell/devman/jcc/conf/jcc.policy -cp /opt/novell/devman/jcc/lib/*: com.novell.jcc.server.JCCServerImpl

    Here the JCC process ID is 4302.

  8. To know about the TCP port JCC server is listening on, use the following command:

    netstat -ntlp | grep <JCC process id>/java

    An output similar to the following is displayed:

    tcp     0      0 164.99.162.16:1443      :::*    LISTEN      4302/java
    tcp     0      0 127.0.0.1:38405         :::*    LISTEN      4302/java

    The default listening TCP port of the JCC server is 1443. Ignore the localhost IP address (127.0.0.1) here.

  9. If one or more services are not running, use the following commands to start the services:

    /etc/init.d/novell-jcc start OR systemctl start novell-jcc.service

    /etc/init.d/novell-apache2 start OR systemctl start novell-apache2.service

    /etc/init.d/novell-activemq start OR systemctl start novell-activemq.service

    /etc/init.d/novell-mag start OR systemctl start novell-mag.service

  10. If a service does not start, view the log files to determine the cause. See the following: