Skip to main content

WHM stuck on /usr/local/cpanel/scripts/prekillacct

Comments

8 comments

  • Infopro
    This thread is a couple hours old now, did you leave it run?
    0
  • jonh
    I did, its still spinning. What next? Its nothing special, no wordpress or anything, a simple 5 page html site.
    0
  • jonh
    In the background it says: Account Removal Status: failed (Hook denied execution of killacct: Failed to remove these domains: sub.domain.com (last error: 'API call failed: code 404, msg "{"detail": "Not found"}".'). ) Hook denied execution of killacct: Failed to remove these domains: sub.domain.com (last error: 'API call failed: code 404, msg "{"detail": "Not found"}".').
    0
  • jonh
    This account has already been migrated to a new server which is why I'm terminating it on this server. Since its already migrated I can't go into cpanel to delete the subdomain its mentioning.
    0
  • Infopro
    If the account is still there on the server you should be able to access it. Depending on this option in Tweak Settings > System tab: "Accounts that can access a cPanel user account" You should be able to access the account from this page: WebHost manager "Account Information "List Accounts You're terminating the account normally from here correct? WebHost Manager "Account Functions "Terminate an Account
    0
  • jonh
    "If the account is still there on the server you should be able to access it. Depending on this option in Tweak Settings > System tab:" I can't access the account because the site has been migrated to new server. DNS points to new server. I can't terminate the account on the original server is the issue. "WebHost manager "Account Information "List Accounts" The only thing this does is list the account. No action can be taken on this screen. "WebHost Manager "Account Functions "Terminate an Account" Yes this is where it gets stuck on "Running pre removal script (/usr/local/cpanel/scripts/prekillacct)."
    0
  • Infopro
    Migrating the account to a new server does not remove the cPanel account or files. You don't need DNS set to the old account to access it, you only need enable that setting so root/reseller can access the account from the List Accounts page. When enabled in Tweak Settings, a new icon appears on the List Accounts page that can be clicked thru to access that account's cPanel.
    0
  • jonh
    Ah gotcha now. Thanks. I'll give it a go.
    0

Please sign in to leave a comment.