From 58acccd13b3112a43da0aadea2ec4c0804b32842 Mon Sep 17 00:00:00 2001 From: David LaBissoniere Date: Fri, 15 Oct 2010 15:58:46 -0500 Subject: [PATCH] Clear out stale RMI socket files in run-services Not sure why this is necessary... --- home/libexec/run-services.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/libexec/run-services.sh b/home/libexec/run-services.sh index b394b937..bbca7d4d 100755 --- a/home/libexec/run-services.sh +++ b/home/libexec/run-services.sh @@ -14,6 +14,12 @@ PORT="8443" cd $GLOBUS_LOCATION +# set up environment for the RMI over unix domain sockets communication done between +# admin clients and the service + export GLOBUS_OPTIONS="$GLOBUS_OPTIONS -Dorg.newsclub.net.unix.library.path=$NIMBUS_HOME/services/lib-native" +# clear out stale RMI domain socket files +rm -f $NIMBUS_HOME/var/run/privileged/* + exec $NIMBUS_HOME/services/bin/globus-start-container -p $PORT >> $LOGFILE 2>&1