The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Many -cpanelsync files in /usr/local/cpanel/bin - Should I delete them?

Discussion in 'General Discussion' started by outofcontrol, Aug 19, 2015.

  1. outofcontrol

    outofcontrol Member

    Joined:
    May 18, 2009
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal
    We have one cpanel server that is getting old, and there isn't enough space on /usr to upgrade. I've noticed that in /usr/local/cpanel/bin there are several scripts that appear to be duplicates with -cpanelsync appended to the name of the file. These files take up 820MB which is a lot of space on this machine. There are 49 of these files in all.

    Is it safe to delete these apparent duplicates?

    Here is a partial list of those files:

    Code:
    -rwx------  1 root     root     12390366 Jul  8 22:34 update_quota_cache*
    -rwx------  1 root     root     12390760 Jul  1 05:00 update_quota_cache-cpanelsync*
    -rwxr-xr-x  1 root     root        11503 Feb  9  2015 update-roundcube*
    -rwxr-xr-x  1 root     root         7440 Feb  9  2015 update-roundcube-sqlite*
    -rwxr-xr-x  1 root     root         8499 May 27 11:01 update-squirrelmail*
    lrwxrwxrwx  1 root     root           17 Apr  7  2014 useradmin -> admin/Cpanel/user*
    -rwxr-xr-x  1 root     root        28696 Jun 17 19:07 userdata_update*
    lrwxrwxrwx  1 root     root            6 Apr  7  2014 userwrap -> cpwrap*
    -rwx------  1 root     root     14504011 Jul  9 00:05 view_transfer*
    -rwx------  1 root     root     14503571 Jul  1 06:52 view_transfer-cpanelsync*
    -rwxr-xr-x  1 root     root     12242859 Jul  9 00:01 whm_xfer_download-ssl*
    -rwxr-xr-x  1 root     root     12242515 Jul  1 05:07 whm_xfer_download-ssl-cpanelsync*
    -rwx------  1 root     root     54061347 Jul  9 00:33 wwwacct*
    -rwx------  1 root     root     54030083 Jul  1 08:55 wwwacct-cpanelsync*
    
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    669
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    It's possible a previous cPanel update failed during the synchronization process and those files were leftover. You can safely remove those files (ending in -cpanelsync) from your system.

    Thank you.
     
  3. outofcontrol

    outofcontrol Member

    Joined:
    May 18, 2009
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal
    Thank you so much! We are almost ready to move to a new clean server, but this has saved us from running out of space while we finalize the move.
     
Loading...

Share This Page