Skip to main content

Terminating Account Issue

Comments

14 comments

  • cPanelLauren
    Hello @saleh2 This issue sounds like a case that was fixed in v76.0.11 CPANEL-24006 can you tell me what version of cPanel you're using? Thanks!
    0
  • saleh2
    CENTOS 6.10 kvm v76.0.17
    0
  • cPanelLauren
    Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved. Thanks!
    0
  • HostXNow_Chris
    Seeing the same issue. What is the fix for this?
    0
  • HostXNow_Chris
    Removing installed TLS resources "...Failed to enqueue Domain TLS entries for removal: Need FQDN! at /usr/local/cpanel/Cpanel/Domain/TLS.pm line 107. Cpanel::Domain::TLS::has_tls("Cpanel::Domain::TLS::Write", undef) called at /usr/local/cpanel/Cpanel/Domain/TLS/Write.pm line 331 Cpanel::Domain::TLS::Write::__enqueue_unset_tls_no_task_queue("Cpanel::Domain::TLS::Write", ARRAY(0x13a1618)) called at /usr/local/cpanel/Cpanel/Domain/TLS/Write.pm line 143 Cpanel::Domain::TLS::Write::enqueue_unset_tls(undef, undef) called at /usr/local/cpanel/Whostmgr/Accounts/Remove/Cleanup.pm line 401 Whostmgr::Accounts::Remove::Cleanup::__ANON__() called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line99 eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 90 Try::Tiny::try(CODE(0x31adaa8), Try::Tiny::Catch=REF(0x31cff20)) called at /usr/local/cpanel/Whostmgr/Accounts/Remove/Cleanup.pm line405 Whostmgr::Accounts::Remove::Cleanup::_tls(Whostmgr::Accounts::Remove::Cleanup=HASH(0x1420968)) called at /usr/local/cpanel/Whostmgr/Accounts/Remove/Cleanup.pm line 135 Whostmgr::Accounts::Remove::Cleanup::__ANON__() called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line99 eval {...} called at /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/Try/Tiny.pm line 90 Try::Tiny::try(CODE(0x34d1ed0), Try::Tiny::Catch=REF(0x3385928)) called at /usr/local/cpanel/Whostmgr/Accounts/Remove/Cleanup.pm line149 Whostmgr::Accounts::Remove::Cleanup::run(Whostmgr::Accounts::Remove::Cleanup=HASH(0x1420968)) called at /usr/local/cpanel/Whostmgr/Accounts/Remove.pm line 424 Whostmgr::Accounts::Remove::_killacct("user", "", "killdns", 1) called at /usr/local/cpanel/Whostmgr/Accounts/Remove.pm line 948 Whostmgr::Accounts::Remove::_removeaccount("user", "", "keepdns", undef, "force", undef) called at bin/removeacct.pl line 72 Use of uninitialized value in hash element at /usr/local/cpanel/Whostmgr/Accounts/Remove/Cleanup.pm line 414. Use of uninitialized value in hash element at /usr/local/cpanel/Whostmgr/Accounts/Remove/Cleanup.pm line 415. ...Failed Need "_removed_tls" set! at /usr/local/cpanel/Whostmgr/Accounts/Remove/Cleanup.pm line 449. The cause of this must be because the account already existed on the server with a different domain and when I restored the domain using overwrite option it restored the account with the latest domain different to the domain that was already used for the main domain. Could not install SSL and now when try to remove the account it does not remove. Seems an old bug caused by allowing an account to be overwritten with the same username and different domain when it shouldn't?
    0
  • cPanelLauren
    Hi @HostXNow_Chris We have two cases for this and one is reportedly fixed in v76 of cPanel/WHM where the other similar one is fixed in v80 (not yet released) Ultimately it stems from broken/missing userdata for that domain on the account which as you speculated most likely existed on the server previously. Can you tell me if /var/cpanel/user/$user/ exists?
    0
  • HostXNow_Chris
    Yes, the username is there at /var/cpanel/user Checking the restore I can see cPanel did this The system replaced the incorrect main domain "" with the domain "" from the cPanel user file in order to repair the userdata for "". cPanel should not have allowed the account to be restored with the same username when the domain is different if it does not support it, right? How to correct the problem? Thanks, Chris
    0
  • cPanelLauren
    Hi @HostXNow_Chris For this if you're on v76 or higher the case is CPANEL-25278 and the resolutions provided below should be useable. and it's resolved in v80 but until then the suggested workarounds are as follows: [QUOTE] A. Fix the userdata and then retry removing the account B. Move the /var/cpanel/userdata/USERNAME folder out of /var/cpanel/userdata (this only works on servers that have the fix for CPANEL-24006
    0
  • HostXNow_Chris
    I have created a ticket for this Your Support Request ID is: 11466065 Please check it asap.
    0
  • HostXNow_Chris
    Ok. It has been corrected now. Thanks.
    0
  • joeyadquest
    can i remove the user in /var/cpanel/users/$USER
    0
  • cPanelLauren
    can i remove the user in /var/cpanel/users/$USER

    I'd suggest fixing the userdata file then attempting to terminate the account, otherwise remove the userdata file and try the same.
    0
  • joeyadquest
    57601 i removed this user in /var/cpanel/users/$USER but it not disappear. How can i terminate it
    0
  • cPanelLauren
    Hi @joeyadquest I'd suggest fixing the userdata and user files then attempting to remove once more as suggested earlier on as a workaround. So readd the user in /var/cpanel/users/$user and ensure it's present in /var/cpanel/userdata/$user then attempt to terminate once more.
    0

Please sign in to leave a comment.