How to Disable Prelinking in WHM

How to Disable Prelinking in WHM


This document explains how to disable prelinking. Prelinking often causes issues, and we no longer support it as of cPanel & WHM version 54. When you enable prelinking, you may experience problems with broken RPMs.

For more information on prelinking, read the Wikipedia article.

WHM Autofixer

As of late June 29, 2016, the WHM Autofixer automatically disables prelinking.

To block the WHM Autofixer and continue to use prelinking on your server, run the following command to create the /var/cpanel/dont_remove_prelink touchfile:

touch /var/cpanel/dont_remove_prelink

How to disable prelinking manually

To disable prelinking, perform the following steps:

  1. Log in to your server via SSH.
  2. In the /etc/sysconfig/prelink file, set the PRELINKING setting to no.
  3. To implement your changes, run the following command:
  4. To verify that your RPMs remain functional, run the following command:

    /usr/local/cpanel/scripts/check_cpanel_rpms --fix

    If it succeeds, this script does not return output.

Was this article helpful?

Related Articles

Leave A Comment?

You must be logged in to post a comment.