Symptoms
When accessing the "Home / Server Status / Server Information" interface in WHM, the "Memory Information" and "Physical Disks" sections will be empty, as shown in the following image.
Description
This information is gathered from the /var/log/dmesg
file on your server. In newer OS releases like CentOS 8 and AlmaLinux 8, this log file is not enabled by default. While the cPanel software will recreate this file if missing when accessing the Server Information interface, this only adds in the current dmesg utility output. If your Kernel Buffer Ring is full and has removed the memory/disk information from the logs, this section will remain empty
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-37789. Follow this article to receive an email notification when a solution is published in the product.
Workaround
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Create the
/etc/systemd/system/dmesg.service
configuration file.touch /etc/systemd/system/dmesg.service
- Open the
dmesg.service
file with your preferred text editor. - Add the following to the file.
[Unit] Description=Create /var/log/dmesg on boot ConditionPathExists=/var/log/dmesg [Service] ExecStart=/usr/bin/dmesg StandardOutput=file:/var/log/dmesg [Install] WantedBy=multi-user.target
- Create the log file.
touch /var/log/dmesg
- Enable the service to start on boot.
systemctl enable dmesg
- Reboot the server.
shutdown -r now
Comments
1 comment
Update: We would like to thank you for your interest in this article/case and encourage your submissions as they are valuable to the ever-expanding development of cPanel & WHM. At this time, this particular issue has not been selected for action from our Development Team, as it may require more development resources than we can allot, or alters the direction cPanel envisions for the product. Submissions persist in our Issue Tracking System in the event the impact of the related issue grows or product direction changes. If you feel that this defect requires direct action, we strongly encourage you to submit a Feature Request to allow the cPanel Community to vote and support your cause.
Thank you again for helping us make cPanel & WHM the hosting platform of choice.
Article is closed for comments.