From: David Collados Date: Wed, 20 Oct 2004 10:21:38 +0000 (+0000) Subject: To clean the system after having installed LB X-Git-Tag: glite-deployment_D_20041021~12 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=388be77ace6087274a51bb6196e74e2c2f3f51bf;p=jra1mw.git To clean the system after having installed LB --- diff --git a/org.glite.deployment.lb/config/scripts/delete_all.sh b/org.glite.deployment.lb/config/scripts/delete_all.sh new file mode 100755 index 0000000..75e144f --- /dev/null +++ b/org.glite.deployment.lb/config/scripts/delete_all.sh @@ -0,0 +1,10 @@ +/opt/glite/bin/glite-lb-bkserverd stop +userdel glite +groupdel glite +rm -R -f /opt/glite/var +rm -f /etc/profile.d/glite-lb* +/usr/bin/mysql < /tmp/drop_table +rm -f /etc/my.cnf +rm -R -f /var/lib/mysql +for a in `ps -efwww | grep mysql | awk 'BEGIN { FS=" "}; $0 ~ // { print $2 }'`; do kill $a; done +