Follow this procedure if you did not stop all services before performing an uninstall. This procedure shows you examples of how to find the process IDs of the services that you need to stop on Linux systems.

Procedure

  1. Find the process ID for elasticsearch, a Java process running org.elasticsearch.bootstrap.ElasticSearch
    For example:
    root      7223 10165  0 Jun05 ?        00:11:36 /opt/InCharge/SAM/smarts/jre/bin/java -cp /opt/InCharge/SAM/smarts/toolbox/elasticsearch/lib/elasticsearch-0.90.7.jar:/opt/InCharge/SAM/smarts/toolbox/elasticsearch/lib/*:/opt/InCharge/SAM/smarts/toolbox/elasticsearch/lib/sigar/* -Xms1g -Xmx1g -Xss256k -Djava.awt.headless=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.pidfile=/opt/InCharge/SAM/smarts/local/logs/elasticsearch.pid -Des.foreground=yes -Des.path.home=/opt/InCharge/SAM/smarts/toolbox/elasticsearch -Des.path.data=/opt/InCharge/SAM/smarts/local/repos -Des.path.logs=/opt/InCharge/SAM/smarts/local/logs -Des.path.conf=/opt/InCharge/SAM/smarts/conf/elasticsearch org.elasticsearch.bootstrap.ElasticSearch
    
  2. Find the process ID for Tomcat, a Java process running org.apache.catalina.startup.Bootstrap
    For example:
    root     12495 10165  0 Jun05 ?        00:31:17 /opt/InCharge/SAM/smarts/jre/bin/java -Xrs -Xms1g -Xmx3g -XX:PermSize=512m -XX:+HeapDumpOnOutOfMemoryError -classpath /opt/InCharge/SAM/smarts/tomcat/bin/bootstrap.jar:/opt/InCharge/SAM/smarts/tomcat/bin/tomcat-juli.jar:/opt/InCharge/SAM/smarts/local/l10n/spool:/opt/InCharge/SAM/smarts/local/l10n:/opt/InCharge/SAM/smarts/l10n -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/opt/InCharge/SAM/smarts/tomcat/conf/logging.properties -Djava.endorsed.dirs=/opt/InCharge/SAM/smarts/tomcat/endorsed -Dsmarts.remote.broker=localhost:426 -Dcatalina.logdir=/opt/InCharge/SAM/smarts/local/logs/tomcat -Dcatalina.base=/opt/InCharge/SAM/smarts/tomcat -Dcatalina.home=/opt/InCharge/SAM/smarts/tomcat -Djava.io.tmpdir=/opt/InCharge/SAM/smarts/tomcat/temp -Djava.awt.headless=true -Dcom.smarts.disable_ci_jni=true -Djava.security.egd=file:/dev/./urandom -Dcom.emc.msa.dmt.clientconnect=/opt/InCharge/SAM/smarts/conf/edaaClientConnect.conf -Dsmarts.cas.server=https://itops-dev-121.lss.emc.com:58443 -Dcom.smarts.incoming_protocol=1,0 -Dcom.smarts.outgoing_protocol=1,0 -Dcom.smarts.fips_mode=FALSE -Dsmarts.tomcat.server=https://itops-dev-120.lss.emc.com:8443 org.apache.catalina.startup.Bootstrap --ignoreme start
    
  3. Find the process ID for RabbitMQ, an Erlang beam process running with -s rabbit
    For example:
    root      7221 10165  0 Jun05 ?        00:24:03 /opt/InCharge/SAM/smarts/toolbox/OTP/erts-5.9.3.1/bin/beam.smp -W w -K true -A30 -P 1048576 -- -root /opt/InCharge/SAM/smarts/toolbox/OTP -progname erl -- -home /root -- -pa /opt/InCharge/SAM/smarts/toolbox/rabbitmq/ebin -noshell -noinput -s rabbit boot -sname rabbit@itops-dev-120 -boot start_sasl -config /opt/InCharge/SAM/smarts/conf/rmq/rabbitmq.config -kernel inet_default_connect_options [{nodelay,true}] -sasl errlog_type error -sasl sasl_error_logger false -rabbit error_logger {file,"/opt/InCharge/SAM/smarts/local/logs/[email protected]"} -rabbit sasl_error_logger {file,"/opt/InCharge/SAM/smarts/local/logs/[email protected]"} -rabbit enabled_plugins_file "/opt/InCharge/SAM/smarts/conf/rmq/enabled_plugins" -rabbit plugins_dir "/opt/InCharge/SAM/smarts/toolbox/rabbitmq/plugins" -rabbit plugins_expand_dir "/opt/InCharge/SAM/smarts/local/repos/rmq/rabbit@itops-dev-120-plugins-expand" -os_mon start_cpu_sup false -os_mon start_disksup false -os_mon start_memsup false -mnesia dir "/opt/InCharge/SAM/smarts/local/repos/rmq/rabbit@itops-dev-120" --ignoreme
    
  4. Use the process IDs to stop these three processes: $ kill -9 7223 12495 7221