31.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 entering the following command:

    # ps -ef | grep activemq

    Lines similar to the following are displayed:

    root     23453     1  0 Mar21 ?        01:43:27 /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
    root     28753 28643  0 12:18 pts/0    00:00:00 grep --color=auto activemq
  3. Verify that one or more Apache proxy services are running by entering 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
  4. Verify that the user session cache service is running by entering 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
  5. Verify that the Tomcat service is running by entering 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 
  6. Verify that the JCC service is running by entering the following command:

    ps -ef | grep /opt/novell/devman/jcc/conf/run.sh

    Lines similar to the following are displayed:

    root  3777 30290  0 13:03 pts/0 00:00:00 egrep /opt/novell/devman/jcc/
                                                    conf/run.sh
    root  5506     1  0 May11 ?      00:00:00 /bin/bash /opt/novell/devman/jcc/
                                                    conf/run.sh

    When you are familiar with the services, you can use the following command to display information about all the services:

    ps -ef | egrep "novell-activemq|novell-agscd|/opt/novell/devman/jcc/conf/run.sh|catalina.base|httpd"
  7. If one or more services are not running, use the following commands to start the services:

    /etc/init.d/novell-jcc start OR rcnovell-jcc start

    /etc/init.d/novell-apache2 start OR rcnovell-apache2 start

    /etc/init.d/novell-agcsd start

    /etc/init.d/novell-activemq start OR rcnovell-activemq start

    /etc/init.d/novell-mag start OR rcnovell-mag start

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