Terminate an account doesn't work
Hi
One of the cpanel users (accidentally) deleted all of his /home/username folders (those he could delete only ;) ).
Now what should I do? is there anyway to repair it?
Terminating the account is impossible.(via WHM or SSH), the following error is displayed, is there anyway to run killacct without prekillacct which I think is going to backup the account?
Running pre removal script (/usr/local/cpanel/scripts/prekillacct)...info [killacct] Failed to remove user payastee: Hook denied execution of killacct: Failed to remove these domains: domain.ir (last error: 'API call failed: code 404, msg "{"detail": "Not found"}".').
thanks
Regards
-
Hello :) What content do you have in your custom /usr/local/cpanel/scripts/prekillacct script? Thank you. 0 -
Hi Thanks for your help, I have no custom prekillacct, I use cloudlinux, then it is like: #!/bin/bash /usr/share/l.v.e-manager/cpanel/hooks/l.v.e-manager_prekillacct_hook.pl "$@" #l.v.e-manager /usr/share/cagefs-plugins/hooks/terminate_cagefs_account.sh "$@" # #CageFS Thanks for your help. 0 -
and I'm really sorry for being out of subject, but I browsed all help/faqs, but I couldn't find out how may I edit my post? I couldn't even pm you to ask you or other admins for this. 0 -
[quote="magj, post: 1644152">and I'm really sorry for being out of subject, but I browsed all help/faqs, but I couldn't find out how may I edit my post? I couldn't even pm you to ask you or other admins for this.
As you become more active on these forums, more features and options become available to you.0 -
Please try manually creating the account's home directory and then attempting to terminate it. EX: mkdir /home/username
Thank you.0 -
Dear Michael, thanks, the users folder is still there(including the public_html folder and other hidden folders (dot folders), but the termination doesn't work. Should I remove the user folder and all subfolders and create it again and try to terminate it again? Thanks Regards 0 -
Hello, Please feel free to open a support ticket using the link in my signature. One of our analysts will be happy to investigate this for you. Please post the ticket number here in this thread so that we can update it accordingly. 0 -
Hi I opened a ticket (#5221463) the analyst believed I should disable cagefs & lve, I can not disable them because I'm using php selector and other features on many sites, so I couldn't do this and the ticket is closed now. I'm just renaming these domains on WHM temporary. What should I do to have this done? The technical detail is provided on ticket, Should I mention it here? Regards 0 -
My advice would be to submit a ticket directly to Cloud Linux if the issue is isolated to CageFS. This way the issue is addressed at the source, as opposed to implementing a custom workaround. You can open a ticket with Cloud Linux via: Cloud Linux - Support Thank you. 0
Please sign in to leave a comment.
Comments
9 comments