User home directory doesn't delete!

m_dg_farari

Registered
Feb 3, 2014
1
0
1
cPanel Access Level
Root Administrator
Hello everybody.
I just got a ticket from one of my customers who has problem with deleting a directory.
He asked me to terminate his account and recreate it.
I terminated the account (from WHMCS of curse!) and i got a success message. Then I tried to recreate this account I i got this error while recreating:
====
Sorry, the home directory for this user ( /home/user ) already exists. Please move or delete it and try again or use the force option if available.
====
I logged in to server as root and tried to remove the directory by using "rm -rf" option but i got this output:
rm: cannot remove `user/public_html/templates/sj_plus/html/com_contact/contact': Input/output error
rm: cannot remove `user/public_html/templates/sj_plus/html/com_mailto': Input/output error


I renamed the directory and the problem solved for now but the renamed directory is still unerasable!
Could you please help me what to do for deleting this directory?
Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

It seems like there might be filesystem corruption if those files are not deletable. This also would explain why the account did not terminate successfully. Have you experienced any recent hard drive problems? Is this happening on any other directories that you know of?

Thank you.