The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Terminate an account doesn't work

Discussion in 'General Discussion' started by magj, May 12, 2014.

  1. magj

    magj Member

    Joined:
    Dec 20, 2013
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,764
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. magj

    magj Member

    Joined:
    Dec 20, 2013
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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.
     
  4. magj

    magj Member

    Joined:
    Dec 20, 2013
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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.
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,466
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    As you become more active on these forums, more features and options become available to you.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,764
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  7. magj

    magj Member

    Joined:
    Dec 20, 2013
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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
     
  8. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
  9. magj

    magj Member

    Joined:
    Dec 20, 2013
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,764
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page