I created two folders located within /srv/www like so:
/srv/www/folder1
/srv/www/folder2
I was intending to put my websites there but later learned that they are supposed to be located inside of /srv/www/htdocs. I have since put my websites into the correct location but I cannot delete the folders that I originally created. When I attempt using rmdir, I get a message like this: rmdir: failed to remove ‘folder1’: Device or resource busy. I have tried stopping the apache service and also using chmod to apply different permissions. I tried using lsof but I don’t see the directories in question.
Does anyone know what I need to do to remove these folders? It’s not a big deal but I would like to cleanup my webserver. I have searched the internet numerous times but never seem to find what I need.
I am logged in as root and used chown to make root the owner. I will try the rm command as suggested, this evening. For some odd reason when I try to putty into my server I am getting access denied. It used to work…