You can find our user documentation at

Check out our new API beta site!

Child pages
  • The sysinfo.config File
For cPanel & WHM version 78

Skip to end of metadata
Go to start of metadata


The /var/cpanel/sysinfo.config file stores the server's system information settings. cPanel & WHM uses this file to determine which RPMs to download during installation and upgrades.

If the detection system fails to correctly identify the distribution or version of Linux, you can manually override those settings.


This feature is for advanced users only. Changes that you make to the default configuration may render your server nonfunctional. Exercise caution when you edit this file.

Initial settings

cPanel & WHM runs the /usr/local/cpanel/scripts/gensysinfo  script as part of nightly maintenance to automatically generate the sysinfo.config file. The system will not update the file if it is less than a day old.

If the sysinfo.config file does not exist or becomes corrupt, log into the server via SSH as the root user and run the /usr/local/cpanel/scripts/gensysinfo script to generate a new file.

Keys and default settings

The following table lists the keys that the system stores in the /var/cpanel/sysinfo.config file:


DescriptionPossible ValuesExample


Whether the OS distribution is an Enterprise system.


This is a legacy parameter as of cPanel & WHM version 11.38.

  • 0 — Default value
  • 1 — The server distribution contains Corporate, Advanced Server, or Enterprise in its name.
  • 2 — The server distribution is either CloudLinux™ or CentOS.
lockA list of RPM and sysinfo.config file keys that you do not want the system to update.

A comma-separated list of RPM or sysinfo.config file key names:

  • release
  • rpm_arch
  • rpm_dist
  • rpm_dist_ver


For more information about the rpm.versions system, read our Introduction to the rpm.versions System documentation.

releaseThe Linux distribution's release number.A valid string.6.6
rpm_archThe OS's architecture.

x86_64 — 64-bit system.

rpm_distThe name of the system's OS distribution.
  • amazon
  • centos
  • rhel
  • cloudlinux

The system's OS distribution's version number.

  • 6
  • 7
  • unknown — If the rpm_dist_ver key uses this value, run the /usr/local/cpanel/scripts/gensysinfo script.


The rpm_dist_ver value must match the system's initial version of the operating system's distribution.


Additional documentation

There is no content with the specified labels

There is no content with the specified labels

There is no content with the specified labels