Skip to main content

[CPANEL-20670] Modify Account fails with previously used domains

Comments

12 comments

  • cPanelMichael
    Hello @Mat-d-rat, Can you run the following commands on this system and let us know the output? cat /usr/local/cpanel/version /scripts/rebuildhttpdconf
    Also, can you confirm if any errors appear in /usr/local/cpanel/logs/error_log at the time the account was modified? Thank you.
    0
  • Matthew.A
    Version 11.70.0.48 Already tried the rebuild and restart as saw that in another thread. Yes there are a few errors in that log around the time and mentioning it, would you like me to PM it to you?
    0
  • cPanelMichael
    Yes there are a few errors in that log around the time and mentioning it, would you like me to PM it to you?

    Yes, or you can post it here with redacted references to real domain names, usernames, and IP addresses. Thanks!
    0
  • plague
    Sorry to bump an old thread but I am experiencing this issue in a few servers everytime I try to change the domain name for the first time. Despite the name change apply in WHM, the new name is not configured on apache and the IP address shows missing. Then I need to backup the account, terminate it and restore it to make it work, after that I am able to change or revert the domain name again without errors. Is there a solution for this issue?
    0
  • cPanelMichael
    Hello @plague, I moved your post into this thread, as it looks to relate to the issue reported by the original poster yesterday. To update, it looks like this relates to internal case CPANEL-20670. This case was opened to address an issue where attempts to modify an account's domain name can fail if the domain name previously existed on the system and an entry for it remained in the index file for the Apache TLS certificate data queue. This will no longer happen as of
    0
  • Matthew.A
    When I try and rename the domain back to the previous version I'm getting the error XID 4zjxt4) "xxxx" already controls the domain name "www.xxx.xxx". But I don't see that domain anywhere in cPanel.
    0
  • cPanelMichael
    When I try and rename the domain back to the previous version I'm getting the error XID 4zjxt4) "xxxx" already controls the domain name "www.xxx.xxx". But I don't see that domain anywhere in cPanel.

    Can you instead try using a domain name that's not the previous domain name used by the account to see if that allows you to proceed with the additional workaround steps? Thank you.
    0
  • Matthew.A
    Renamed the account domain name to xxx.temp - moved the file as stated and regenerated by visiting the ssl page. Went back to account list and still wrong :(
    0
  • cPanelMichael
    Hi @Mat-d-rat, Can you open a
    0
  • Matthew.A
    #9741647
    0
  • cPanelMichael
    #9741647

    Hello, To update, it looks like this particular issue related to the use of a reserved username for an account (it was created at a time before the username was marked as reserved in the /etc/aliases file). Changing the account username to a non-reserved username addressed the issue. Thank you.
    0
  • cPanelMichael
    Hello, To update, case CPANEL-20670 was also published into cPanel & WHM version 70.0.52: Fixed case CPANEL-20670: Modify Account: avoid failure with previously used domain. Thank you.
    0

Please sign in to leave a comment.