Very weird. The box (SolosVM, QEMU) seems okay, but one of my daily checks keeps showing the box needs to be rebooted because of a needed kernel update. I’ve rebooted through the VNC console and the shown running kernel doesn’t seem to even be on the box? ‘MCpanel::Kernel::Status’ shows the correct running kernel.
What is used to resync whatever ‘system_needs_reboot’ pulls it’s data from?
Is there something else I should be looking at?
Outputs below.
Thanks,
Michael
cat /etc/redhat-release
AlmaLinux
uname a
Linux srv10.srv10-inet-design.com 4.18.0-372.9.1.el8.x86_64 #1 SMP Tue May 10 08:57:35 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
[email protected] [~]# /usr/sbin/whmapi1 system_needs_reboot
---
data:
details:
kernel:
boot_version: 4.18.0-372.9.1.el8.x86_64
running_version: 3.10.0-1160.el7.x86_64
needs_reboot: 1
metadata:
command: system_needs_reboot
reason: OK
result: 1
version: 1
[email protected] [~]# /usr/local/cpanel/3rdparty/bin/perl -MData::Dumper -MCpanel::Kernel::Status -le 'print Dumper( Cpanel::Kernel::Status::kernel_status(updates => 1));'
$VAR1 = {
'reboot_required' => '',
'running_version' => '4.18.0-372.9.1.el8.x86_64',
'update_available' => undef,
'running_latest' => 1,
'has_kernelcare' => 0,
'boot_version' => '4.18.0-372.9.1.el8.x86_64'
};
Ref: Check the GRUB boot configuration message
PS: Code tag pulls up a forum list? No code tags for you!
Well outputs got borked, all I get is the below when trying to add copy/paste commands...
"Oops! We ran into some problems.
Oops! We ran into some problems. Please try again later. More error details may be in the browser console."
1) Can't add "dash a" to uname. How bizarre that breaks cPanel forums?
What is used to resync whatever ‘system_needs_reboot’ pulls it’s data from?
Is there something else I should be looking at?
Outputs below.
Thanks,
Michael
cat /etc/redhat-release
AlmaLinux
uname a
Linux srv10.srv10-inet-design.com 4.18.0-372.9.1.el8.x86_64 #1 SMP Tue May 10 08:57:35 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
[email protected] [~]# /usr/sbin/whmapi1 system_needs_reboot
---
data:
details:
kernel:
boot_version: 4.18.0-372.9.1.el8.x86_64
running_version: 3.10.0-1160.el7.x86_64
needs_reboot: 1
metadata:
command: system_needs_reboot
reason: OK
result: 1
version: 1
[email protected] [~]# /usr/local/cpanel/3rdparty/bin/perl -MData::Dumper -MCpanel::Kernel::Status -le 'print Dumper( Cpanel::Kernel::Status::kernel_status(updates => 1));'
$VAR1 = {
'reboot_required' => '',
'running_version' => '4.18.0-372.9.1.el8.x86_64',
'update_available' => undef,
'running_latest' => 1,
'has_kernelcare' => 0,
'boot_version' => '4.18.0-372.9.1.el8.x86_64'
};
Ref: Check the GRUB boot configuration message
PS: Code tag pulls up a forum list? No code tags for you!
Well outputs got borked, all I get is the below when trying to add copy/paste commands...
"Oops! We ran into some problems.
Oops! We ran into some problems. Please try again later. More error details may be in the browser console."
1) Can't add "dash a" to uname. How bizarre that breaks cPanel forums?
Last edited: