- Plesk for Linux
Unable to install
mod_perl, SpamAssassin or any Plesk component:
CONFIG_TEXT: Traceback (most recent call last):
File "/usr/local/psa/bin/yum_install", line 239, in <module>
File "/usr/local/psa/bin/yum_install", line 225, in main
inst, rem = installer.resolve(to_install, opts.remove, opts.tries)
File "/usr/local/psa/bin/yum_install", line 157, in resolve
raise Exception("Failed to solve dependencies:\n" + '\n'.join(msgs))
Exception: Failed to solve dependencies:
glibc-headers-2.17-157.el7_3.5.x86_64 requires kernel-headers >= 2.2.1
glibc-headers-2.17-157.el7_3.5.x86_64 requires kernel-headers
Error: The Yum utility failed to install the required packages.
kernel-headers package is missing or version is lower than 2.2.1.
Connect to the server via SSH.
Check kernel version:
# uname -r
Check if matching kernel headers are already installed on your system:
# ls -la /usr/src/kernels/
If no matching kernel headers are found in that directory, install kernel headers with yum command as follows:
# yum install kernel-devel
Add required Plesk component again.