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.

Autofixer

As of June 29, 2016, we ship an Autofixer script that automatically disables prelinking. To keep this Autofixer from running and continue using prelinking on your server, create the /var/cpanel/dont_remove_prelink touchfile.

To do this, run the following command:

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:

    /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