Add a temporary workaround to force killing glite-lb-notif-interlogd
authorDi Qing <Di.Qing@cern.ch>
Mon, 3 Dec 2007 19:51:23 +0000 (19:51 +0000)
committerDi Qing <Di.Qing@cern.ch>
Mon, 3 Dec 2007 19:51:23 +0000 (19:51 +0000)
org.glite.yaim.lb/config/functions/config_glite_lb

index e726710..943180e 100644 (file)
@@ -129,7 +129,13 @@ EOF
   touch ${GLITE_LOCATION}/etc/LB-super-users
 
   . /opt/glite/etc/profile.d/grid-env.sh
-  ${GLITE_LOCATION}/etc/init.d/glite-lb-bkserverd restart
+  ${GLITE_LOCATION}/etc/init.d/glite-lb-bkserverd stop
+  #Temporary workaround to kill glite-lb-notif-interlogd
+  ps ax | grep -v grep | grep glite-lb-notif-interlogd > /dev/null
+  if [ $? = 0 ]; then
+    killall -9 /opt/glite/bin/glite-lb-notif-interlogd
+  fi  
+  ${GLITE_LOCATION}/etc/init.d/glite-lb-bkserverd start
 
   if [ ! $? = 0 ] ; then
     yaimlog ABORT "Service glite-lb-bkserverd failed to start!"