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

outofcontrol

Active Member
May 18, 2009
27
1
53
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*
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
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.
 

outofcontrol

Active Member
May 18, 2009
27
1
53
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.