Skip to main content

Problem with parked domain, can't remove

Comments

6 comments

  • cPanelLauren
    Hello @rotame I wouldn't suggest renaming or manually changing anything in /var/cpanel/userdata/$user/ Can you run following in the order it's shown: /scripts/updateuserdomains /scripts/updateuserdatacache mv /etc/apache2/conf/httpd.conf{,.bk} /scripts/rebuildhttpdconf /scripts/restartsrv_httpd
    And let me know if you're able to remove the domain once that is complete. If not can you please show me what is present in the following: /var/cpanel/users/$user /var/cpanel/userdata/$user/main
    (replace actual domain names)
    0
  • rotame
    Hi please clarify this command mv /etc/apache2/conf/httpd.conf{,.bk} as I see it or you mean {,.bk} something random ?
    0
  • cPanelLauren
    Hello @rotame That command does the following: mv /etc/apache2/conf/httpd.conf /etc/apache2/conf/httpd.conf.bk
    Essentially shortens the process you need to create a backup of a file. Thanks!
    0
  • rotame
    You are great worked Thanks a lot
    0
  • PPNSteve
    Can you reopen this.. i'm also trying to remove some older parked domains and am getting the noted error message.. I tried your solution but It still won;t delete the parked domain failing again with that error. Both the user and userdata files still list the old domains.. what next?
    0
  • cPanelLauren
    Hi @PPNSteve If you've already attempted to remove the accounts and there is cruft that remains we'll need to see what exactly is present. Can you run the following and let me know the output? whmapi1 removeacct user=username
    If that fails to remove the account (which I am anticipating it will) can you then run the following: /usr/local/cpanel/3rdparty/bin/perl <(curl -s https://raw.githubusercontent.com/cPanelInc/tech-acctinfo/master/acctinfo) --cruft domain.tld
    This is a troubleshooting script we use internally on occasion.
    0

Please sign in to leave a comment.