Clovertech
› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Site Removal
So sorry all, but I cannot remember how to remove a site! I did the command rm -f sitename, and taht did not remove the site and the subdirectories. Please advise.
Thank you,
fj
I think you need to remove the site from $HCIROOT/server/server.ini. It’s probably a good idea to restart the host server after you do that.
To delete all the sub-directories, you’ll need to use -r flag with the rm command; i.e.
rm -r yoursitename
I believe the hostserver will automatically remove it from the server.ini if the site no longer exists…
Jim Cobane
Henry Ford Health
Thank you both very much. James, the rm -r did the trick!!! Thanks again.
I posted a simple script to do this before but here it is again.
If on Unix remove the .htc and put in path and make it executable
Steps to follow:
1. Stop all threads and processes in the site, hcienginestop -p
2. Stop the site daemons, hcisitectl -K
3. cd $HCIROOT
4. rm -rf ./ (on Windows, delete the directory)
5. Remove the site from the environs list in $HCIROOT/server/server/ini. This can also be done with the Server Administrator GUI.
-- Max Drown (Infor)
Thank you folks, I was able to remove it with your assistance!!
Thanks again,
Femina