Skip to main content

How to apply the changes to /etc/cpupdate.conf

Comments

3 comments

  • cPanelLauren
    Hi @shazde Can you check the permissions of the cpupdate.conf file? Changes made here should be reflected at WHM>>Server Configuration>>Update Preferences I tested this on a test server to confirm this as well. The permission and ownership of this file should be as follows: # stat /etc/cpupdate.conf File: "/etc/cpupdate.conf" Size: 84 Blocks: 8 IO Block: 4096 regular file Device: fd01h/64769d Inode: 1311907 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2018-04-05 10:07:58.537243292 -0400 Modify: 2018-04-05 10:07:56.110243777 -0400 Change: 2018-04-05 10:07:56.111243776 -0400 Birth: -
    The attributes of the file should be as follows as well: # lsattr /etc/cpupdate.conf -------------e-- /etc/cpupdate.conf
    Per our documentation there should be no extra steps necessary to modify these values. You can see this here:
    0
  • shazde
    Here is what I have: # stat /etc/cpupdate.conf File: `/etc/cpupdate.conf' Size: 89 Blocks: 8 IO Block: 4096 regular file Device: fc02h/64514d Inode: 21760146 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2018-04-05 10:59:25.923000001 +0100 Modify: 2018-04-05 09:39:03.000000000 +0100 Change: 2018-04-05 10:59:15.757000001 +0100
    # lsattr /etc/cpupdate.conf -------------e- /etc/cpupdate.conf
    Also the file and whm now display the same values but that was not the case yesterday.
    0
  • cPanelLauren
    Hi @shazde I'm happy to hear that they both display the same data. When you make changes now are they immediately reflected? If you run the WHMAPI1 function for this is the behavior different? You can find it here:
    0

Please sign in to leave a comment.