SOLVED You must reboot the server to apply software updates

akust0m

Well-Known Member
Feb 19, 2016
72
4
58
Melbourne
cPanel Access Level
Root Administrator
Hi there,

I've seen other discussions regarding this issue, but from what I've seen, it was supposed to have been fixed in cPanel 68. I'm still receiving the 'You must reboot the server to apply software updates' message.

Here is some output that has been requested on other discussions:

Code:
# cat /usr/local/cpanel/version
11.70.0.39

# whmapi1 system_needs_reboot

---
data:
  details:
    updates:
      dbus: 1:1.10.24-7.el7
      glibc: 2.17-222.el7
      linux-firmware: 20180220-62.git6d51311.el7
      openssl-libs: 1:1.0.2k-12.el7
      systemd: 1:219-53.el7.cloudlinux
  needs_reboot: 1
metadata:
  command: system_needs_reboot
  reason: OK
  result: 1
  version: 1

 Cpanel::Kernel::Status::kernel_status(); print Dumper \$kernel;':Kernel::Status; use Data::Dumper; my $kernel =
$VAR1 = \{
            'unpatched_version' => '3.10.0-714.10.2.lve1.4.63.el7.x86_64',
            'running_version' => '3.10.0-714.10.2.lve1.5.17.el7',
            'has_kernelcare' => 1,
            'running_latest' => '',
            'reboot_required' => 1,
            'boot_version' => '3.10.0-714.10.2.lve1.4.74.el7.x86_64'
          };
Kernelcare is running and ensuring the the running/patched kernel version is the latest. Why am I being prompted to reboot to apply software updates?

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
# whmapi1 system_needs_reboot --- data: details: updates: dbus: 1:1.10.24-7.el7 glibc: 2.17-222.el7 linux-firmware: 20180220-62.git6d51311.el7 openssl-libs: 1:1.0.2k-12.el7 systemd: 1:219-53.el7.cloudlinux needs_reboot: 1
Hello @akust0m,

It looks like the reboot message is accurate based on the information you provided. It shows that packages were updated on your system through YUM and a reboot (or restart of those services) is required. You can read more about this topic at:

How often should you do Graceful Server Reboot?

Thank you.