Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member
    Join Date
    Jan 2008
    Location
    Buenos Aires, Argentina
    Posts
    833
    cPanel/Enkompass Access Level

    Root Administrator

    Default Remaining files after deleting an account, may I manually delete them?

    Hi, I just noticed that every time you delete an account, cPanel doesn't delete all the related files.

    I see some files with the name of deleted accounts, i.e.:

    Code:
    # locate DELETED_ACCOUNT
    /etc/vmail/gid.DELETED_ACCOUNT.com
    /etc/vmail/passwd.DELETED_ACCOUNT.com
    /etc/vmail/shadow.DELETED_ACCOUNT.com
    /etc/vmail/uid.DELETED_ACCOUNT.com
    /etc/vmail/vhost.DELETED_ACCOUNT.com
    /usr/local/apache/conf/sites/DELETED_ACCOUNT.com.conf
    /usr/local/apache/conf_pre_ea3/sites/DELETED_ACCOUNT.com.conf
    /usr/local/apache/domlogs/DELETED_ACCOUNT.com
    /usr/local/apache/domlogs/DELETED_ACCOUNT.com-bytes_log
    /usr/local/apache/domlogs/DELETED_ACCOUNT.com-bytes_log.offset
    /usr/local/apache/domlogs/ftp.DELETED_ACCOUNT.com-ftp_log.offset
    /usr/local/apache/domlogs/ftp.DELETED_ACCOUNT.com-ftp_log.offsetftpbytes
    /usr/local/frontpage/DELETED_ACCOUNT.com:443.cnf
    /usr/local/frontpage/DELETED_ACCOUNT.com:80.cnf
    /var/cpanel/bandwidth.cache/DELETED_ACCOUNT.com
    /var/cpanel/bandwidth/DELETED_ACCOUNT
    /var/cpanel/bandwidth/DELETED_ACCOUNT.com
    /var/cpanel/bandwidth/DELETED_ACCOUNT.com-all.rrd
    /var/cpanel/bandwidth/DELETED_ACCOUNT.com-http.rrd
    /var/cpanel/bandwidth/DELETED_ACCOUNT-all.rrd
    /var/cpanel/bandwidth/DELETED_ACCOUNT-ftp.rrd
    /var/cpanel/bandwidth/DELETED_ACCOUNT-http.rrd
    /var/cpanel/bandwidth/DELETED_ACCOUNT-imap.rrd
    /var/cpanel/bandwidth/DELETED_ACCOUNT-pop3.rrd
    /var/cpanel/bandwidth/DELETED_ACCOUNT-smtp.rrd
    /var/cpanel/bwusagecache/DELETED_ACCOUNT
    /var/cpanel/domain_keys/private/DELETED_ACCOUNT.com
    /var/cpanel/domain_keys/public/DELETED_ACCOUNT.com
    /var/cpanel/maxemailstracker/DELETED_ACCOUNT.com
    /var/cpanel/notificationsdb/DELETED_ACCOUNT
    /var/cpanel/sessions/tek@DELETED_ACCOUNT.comrTvKIbUWR74DJLYmrGk2v5GGIJElt3LXuHI9GzSzOeSQGPKdmgNJ9DwNAJbemWXs.cache
    /var/cpanel/users.cache/DELETED_ACCOUNT
    /var/spool/mail/DELETED_ACCOUNT
    is it safe to delete all them?

    should I keep some of them? (in such case, please tell me why)

    why didn't cPanel delete it when the accounts were terminated?

    thanks!
    Content is the king. Usability is my God.

  2. #2
    Member
    Join Date
    Jan 2008
    Location
    Buenos Aires, Argentina
    Posts
    833
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    anybody knows?
    Content is the king. Usability is my God.

  3. #3
    Member
    Join Date
    May 2008
    Posts
    1,114

    Default

    From where are you terminating accounts? Which WHM/cPanel version are you using?

    We didn't face such kind of issue.

  4. #4
    Member
    Join Date
    Jan 2008
    Location
    Buenos Aires, Argentina
    Posts
    833
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Hi. I'm running cPanel 11.24.4-S35075 - WHM 11.24.2
    The accounts are being terminated as always, from the "Terminate an Account" menu at WHM.

    I don't know if the files I found are mantained by cPanel in order to provide statistical data. That's why I'm wondering if may I sometime need them for any reason.
    Content is the king. Usability is my God.

  5. #5
    Member
    Join Date
    May 2008
    Posts
    1,114

    Default

    Quote Originally Posted by Kent Brockman View Post
    Hi. I'm running cPanel 11.24.4-S35075 - WHM 11.24.2
    The accounts are being terminated as always, from the "Terminate an Account" menu at WHM.

    I don't know if the files I found are mantained by cPanel in order to provide statistical data. That's why I'm wondering if may I sometime need them for any reason.
    Ok thanks..I am not sure about this. Anybody else knows this?

  6. #6
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,172
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    I think you'd be ok to kill these. When in doubt back it up first.
    None of them are of any real size to be worried about.

    Why cPanel does not remove them completely I can't answer though. You might want to check bugzilla for this to see if there is one logged.

    This one is concerning removing a reseller account but the same sorts of files are mentioned in the bug.
    Bug 1106 - Need to clean up reseller acct removal.
    Last edited by Infopro; 05-27-2009 at 11:28 PM.

  7. #7
    Member
    Join Date
    Jan 2008
    Location
    Buenos Aires, Argentina
    Posts
    833
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    ok, I added an entry for that bug. That bug haven't been updated since 2007, so I think this issue is not as important as we can figure out. but in the other hand, they (cPanel staff) haven't confirm in any moment if those files may be deleted without any harm.

    We have a lot of domains having being deleted and cleaning the mess is mandatory.
    Content is the king. Usability is my God.

  8. #8
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    The bandwidth files will be cleaned up automatically in cPanel 11.25

    The domain logs should be cleaned up after the next log processing occurs.

    I'll submit the other list items to see whether we can get those automatically cleaned during account termination.
    Kenneth
    Product Development
    cPanel, Inc.

  9. #9
    Member
    Join Date
    Nov 2007
    Posts
    861

    Arrow

    Quote Originally Posted by cpanelkenneth View Post
    The bandwidth files will be cleaned up automatically in cPanel 11.25

    The domain logs should be cleaned up after the next log processing occurs.

    I'll submit the other list items to see whether we can get those automatically cleaned during account termination.
    when will be available cPanel 11.25

  10. #10
    Member
    Join Date
    Nov 2007
    Posts
    861

    Arrow

    Quote Originally Posted by Kent Brockman View Post
    Hi, I just noticed that every time you delete an account, cPanel doesn't delete all the related files.

    I see some files with the name of deleted accounts, i.e.:

    Code:
    # locate DELETED_ACCOUNT
    /etc/vmail/gid.DELETED_ACCOUNT.com
    /etc/vmail/passwd.DELETED_ACCOUNT.com
    /etc/vmail/shadow.DELETED_ACCOUNT.com
    /etc/vmail/uid.DELETED_ACCOUNT.com
    /etc/vmail/vhost.DELETED_ACCOUNT.com
    /usr/local/apache/conf/sites/DELETED_ACCOUNT.com.conf
    /usr/local/apache/conf_pre_ea3/sites/DELETED_ACCOUNT.com.conf
    /usr/local/apache/domlogs/DELETED_ACCOUNT.com
    /usr/local/apache/domlogs/DELETED_ACCOUNT.com-bytes_log
    /usr/local/apache/domlogs/DELETED_ACCOUNT.com-bytes_log.offset
    /usr/local/apache/domlogs/ftp.DELETED_ACCOUNT.com-ftp_log.offset
    /usr/local/apache/domlogs/ftp.DELETED_ACCOUNT.com-ftp_log.offsetftpbytes
    /usr/local/frontpage/DELETED_ACCOUNT.com:443.cnf
    /usr/local/frontpage/DELETED_ACCOUNT.com:80.cnf
    /var/cpanel/bandwidth.cache/DELETED_ACCOUNT.com
    /var/cpanel/bandwidth/DELETED_ACCOUNT
    /var/cpanel/bandwidth/DELETED_ACCOUNT.com
    /var/cpanel/bandwidth/DELETED_ACCOUNT.com-all.rrd
    /var/cpanel/bandwidth/DELETED_ACCOUNT.com-http.rrd
    /var/cpanel/bandwidth/DELETED_ACCOUNT-all.rrd
    /var/cpanel/bandwidth/DELETED_ACCOUNT-ftp.rrd
    /var/cpanel/bandwidth/DELETED_ACCOUNT-http.rrd
    /var/cpanel/bandwidth/DELETED_ACCOUNT-imap.rrd
    /var/cpanel/bandwidth/DELETED_ACCOUNT-pop3.rrd
    /var/cpanel/bandwidth/DELETED_ACCOUNT-smtp.rrd
    /var/cpanel/bwusagecache/DELETED_ACCOUNT
    /var/cpanel/domain_keys/private/DELETED_ACCOUNT.com
    /var/cpanel/domain_keys/public/DELETED_ACCOUNT.com
    /var/cpanel/maxemailstracker/DELETED_ACCOUNT.com
    /var/cpanel/notificationsdb/DELETED_ACCOUNT
    /var/cpanel/sessions/tek@DELETED_ACCOUNT.comrTvKIbUWR74DJLYmrGk2v5GGIJElt3LXuHI9GzSzOeSQGPKdmgNJ9DwNAJbemWXs.cache
    /var/cpanel/users.cache/DELETED_ACCOUNT
    /var/spool/mail/DELETED_ACCOUNT
    is it safe to delete all them?

    should I keep some of them? (in such case, please tell me why)

    why didn't cPanel delete it when the accounts were terminated?

    thanks!
    HI

    There isn't such kind of issue & we didn't face yet

    And first of all tell us where did you find this ??

  11. #11
    Member
    Join Date
    Jan 2008
    Location
    Buenos Aires, Argentina
    Posts
    833
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by cpanelkenneth View Post
    The bandwidth files will be cleaned up automatically in cPanel 11.25

    The domain logs should be cleaned up after the next log processing occurs.

    I'll submit the other list items to see whether we can get those automatically cleaned during account termination.
    Great. I'm anxious to see what improvements will bring 11.25.
    BTW, until cPanel can be able to automatically delete these files, I'll wait for your confirmation about deleting the listed ones automatically.



    Quote Originally Posted by nileshparmar View Post
    HI

    There isn't such kind of issue & we didn't face yet

    And first of all tell us where did you find this ??
    We are actually running cPanel 11.24.4-S35075 - WHM 11.24.2, but always have been deleting accounts, from the start, even when you create a testdrive account. We are using cPanel since WHM 11.2.0 cPanel 11.6.0-R15076, circa 2007, and I just found that all the accounts deleted since that point have left the listed files behind. That's why it is a mess. I don't know why others aren't experimenting the same issue. This box runs on CentOS 4.6; maybe this fact impacts by any way in this issue.
    Content is the king. Usability is my God.

Similar Threads & Tags
Similar threads

  1. manually delete a dns zone?
    By LuckDragon in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-03-2008, 01:01 PM
  2. Disk quota remaining same after files deleted
    By david510 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-16-2006, 07:23 PM
  3. Reseller Account - Remaining Resources on Create Account Page?
    By Funkworkz in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-14-2004, 07:50 AM
  4. Manually delete a forward?
    By ThunderHostingDotCom in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-15-2003, 10:31 PM
  5. Deleting email accounts manually
    By sketchified in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-18-2002, 11:22 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube