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.

Old .relink files safe to delete?

Discussion in 'General Discussion' started by gn0s1s, Mar 23, 2016.

  1. gn0s1s

    gn0s1s Member

    Joined:
    Mar 2, 2016
    Messages:
    17
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Cambodia
    cPanel Access Level:
    Root Administrator
    In /usr/bin I have some very old .relink files:

    Code:
    root@obscured [/usr/bin]# ls -la | grep relink
    -rwsr-xr-x   1 root root        57536 Jul 30  2014 crontab.relink.1440525782*
    -rwsr-xr-x   1 root root        57544 Jul 27  2015 crontab.relink.1453949030*
    -rwsr-xr-x   1 root root        27832 Jun 10  2014 passwd.relink.1440525782*
    root@obscured [/usr/bin]#
    As you can see these are from 2014/2015...are these safe to delete, or is there a reason why they are still in the system?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    I advise against deleting these files because they ensure certain functions are linked to the correct location. For instance, if you remove the crontab.relink files, you may receive an error message such as this when attempting to use the "crontab" command:

    Code:
    Cpanel::Wrap::send_cpwrapd_request failed to fetch crontab: root is not permitted to call cpwrapd
    Thank you.
     
  3. gn0s1s

    gn0s1s Member

    Joined:
    Mar 2, 2016
    Messages:
    17
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Cambodia
    cPanel Access Level:
    Root Administrator
    Thanks, I'll leave them as they are.
     
Loading...

Share This Page