Page tree
Skip to end of metadata
Go to start of metadata

Overview

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. For more information, read our SSH Access documentation.
  2. In the /etc/sysconfig/prelink file, set the PRELINKING setting to no.

  3. To implement your changes, run the following command:

    /etc/cron.daily/prelink
  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.

Additional documentation