Results 1 to 4 of 4

Thread: immutable files are preventing cPanel and WHM from updating

  1. #1
    Member
    Join Date
    Feb 2009
    Posts
    6

    Default immutable files are preventing cPanel and WHM from updating

    Hello,

    I the dedicated server we are getting mails from cPanel past few days like
    One or more immutable files are preventing cPanel and WHM from updating on your server.

    In the mails it mentioned to follow the steps like
    1. For each immutable file, execute the following commands:
    chattr -i /path/to/file
    echo "/path/to/file" >> /etc/cpanelsync.exclude
    2. Re-sync the files in your cPanel & WHM installation by executing the following command:
    /usr/local/cpanel/scripts/upcp --sync

    In the mail immutable file mentioned is /usr/local/cpanel/bin/startmelange
    When I check the attribute for the above file it show = "----ia-A-----"

    Queries:
    1) Should I leave this mail without following any steps considering it will not harm the cPanel? Or we have to perform for sure?
    2) I have already excluded the file in cpanelsync.exclude without "upcp --sync". Which will not take effect?
    3) Is it compulsery to run "upcp --sync". I have no idea what this command will do. Will it change manythings in cPanel? afraid !!!!

    Please ADVICE

    Thanks,
    Lux

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: immutable files are preventing cPanel and WHM from updating

    Hello Lux,

    You can either make the file mutable or you can instead exclude the file. If you make the file mutable, you would issue:

    Code:
    chattr -ia /usr/local/cpanel/bin/startmelange
    If you exclude the file, it would be:

    Code:
    echo "/usr/local/cpanel/bin/startmelange" >> /etc/cpanelsync.exclude
    You would not have to do both. Doing one will preclude the other triggering the alert.

    As for /scripts/upcp --sync, this simply runs a cPanel update and syncs the files. It's the same as running a forced cPanel update. It will change components in cPanel because it updates everything to the latest versions for your tier.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Feb 2009
    Posts
    6

    Default Re: immutable files are preventing cPanel and WHM from updating

    Hello,


    Thanks for responding

    I got it , AND

    Another question :
    After following one of the step for mutable. Is it compulsery to run "/scripts/upcp --sync"?

    Thanks in advance.
    Lux

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: immutable files are preventing cPanel and WHM from updating

    Yes, it is compulsory to run "/scripts/upcp --sync" or "/scripts/upcp --force" after making the file mutable so that it can update.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads

  1. Replies: 20
    Last Post: 02-19-2013, 09:37 PM
  2. Replies: 14
    Last Post: 06-09-2011, 02:43 PM
  3. Replies: 23
    Last Post: 06-03-2011, 10:27 AM
  4. Preventing .php.jpg files from being executed
    By canfone in forum Security
    Replies: 1
    Last Post: 04-04-2011, 02:21 PM
  5. Preventing CPanel Updating Squirrelmail
    By ukstu in forum cPanel & WHM Discussions
    Replies: 8
    Last Post: 01-30-2008, 10:33 AM