Symptoms:
An email is received that contains the following message:
[........]
Check cagefs virt.mp files syntax:
SKIPPED: No virt.mp files found
[........]
You can alternatively reproduce the message by running the following command:
/usr/bin/cldiag --all
Description:
cldiag
utility is included in lve-utils
package and is intended for:
- server diagnostics performed by a server administrator for detecting the most common errors in the configuration or software operation;
- the focused check of the servers for typical errors performed by the support engineers before proceeding to the detailed analysis of the customer tickets;
- servers automatic check by cron with the following generation of the reports and email them to the server administrator (only for cPanel).
The last functionality is achieved through the use of the following cronjob:
cat /etc/cron.d/cldiag-cron
35 5 * * * root /usr/bin/flock -n /var/run/cloudlinux_cldiag.cronlock /usr/bin/cldiag --cron-check
When the above cron is executed, quite a few checks are run on the server, and consequently, a report is emailed to the system administrator. The"SKIPPED: No virt.mp files found
" message is part of this report and is normal and nothing to worry about.
Workaround:
However, in case you want to disable this specific check, you can run the following command to turn it off:
/usr/bin/cldiag --disable-cron-checkers check-all-virtmp-files-syntax
Additionally, if you wish to disable cldiag's automatic check via the above-mentioned cron permanently, you can set option ENABLE_CLDIAG
to false
in config /etc/sysconfig/cloudlinux