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

For cPanel & WHM version 60

Overview

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.

Warning:

This feature is intended for advanced users. Changes that you make to the default configuration may render your server non-functional. 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:

Key

DescriptionPossible ValuesExample

ises

Whether the OS distribution is an Enterprise system.

Note:

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.
2
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

Note:

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

rpm_dist,rpm_arch
releaseThe Linux distribution's release number.A valid string.6.6
rpm_archThe OS's architecture.
  • x86_64 — 64-bit system.

Note:

We deprecated the i386 value in cPanel & WHM version 58.

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

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.

Warning

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

Note:

We deprecated the 5 value in cPanel & WHM version 58.

6

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

There is no content with the specified labels