top of page
Search
Writer's pictureHTS Hosting

Disabling Prelinking

Today we will explain the process related to disabling prelinking. Prelinking not only causes issues quite often but also isn’t supported as of version 54 of cPanel & WHM. Enabling prelinking can lead to experiencing problems with broken RPMs.

So, what is “prelinking”? It is a method that is meant for optimizing application load times. This is achieved by resolving library symbols before launch. Libraries move around in memory. Hence, there is a performance penalty for resolution. There is an increase in this penalty for every additional library that needs resolution. This penalty is reduced by prelinking. It is attained by resolving libraries in advance. Post that, resolution only takes place if the libraries have changed after being prelinked, which can happen after an upgrade.


Autofixer


As of summer of 2016, an Autofixer script is shipped, which automatically disables prelinking. You need to create the /var/cpanel/dont_remove _prelink touchfile in order to keep the Autofixer from running, and keep on using prelinking on your server. You should run the following command for this purpose:


touch /var/cpanel/dont_remove_prelink


Manual Disabling of Prelinking


The following steps need to be carried out to disable prelinking:


  • Log in to your server. This has to be done via SSH.


  • Set the PRELINKING setting to no in the /etc/sysconfig/prelink file.


  • You need to run the below-mentioned command in order to implement your changes.


/etc/cron.daily/prelink


Now, you need to run the following command that is meant for verifying that your RPMs are functional. /usr/local/cpanel/scripts/check_cpanel_rpms –fix


The script won’t return output, if it succeeds.


This is how prelinking is disabled.


In the context of cPanel & WHM, it is a suite of tools that has been built for Linux OS (Operating System). It enables you to automate tasks related to web hosting, through a simple GUI (Graphical User Interface). Its purpose is to ensure that the management of servers for the service provider, and the management of websites for the clients of web hosting companies, becomes easy. Web hosting companies provide the service of web hosting, wherein server space is offered to website owners for hosting their web content. This web content is transferred over the Internet from the server to the Internet connected devices of Internet users in order to render websites accessible. Virtual Private Servers (VPS) are an example of servers used in hosting. VPS are available as Managed VPS, and as Unmanaged VPS. At HTS Hosting, you can avail either of these types of highly effective VPS, along with the best and the most reliable web hosting services at the most affordable prices. HTS Hosting has a perfectly designed hosting plan for every hosting requirement, and for every budget segment.


2 views0 comments

Recent Posts

See All

Comments


Post: Blog2_Post
bottom of page