Issue
Upon performing changes to the installed software, sometimes CageFS may report the following error:
Error: /etc/cagefs/cagefs.mp file contains incorrect path - </path> is NOT a directory or does NOT exist
Environment
- CageFS
Solution
- Locate the "</path>", reported in the error, in the /etc/cagefs/cagefs.mp file and comment it out with a
#
or remove the line. - Update CageFS:
# cagefsctl --force-update && cagefsctl -M
- Run
cldiag --all
command to check if the problem persists.
Note: If necessary, this checker could be disabled by using the following command:
# cldiag --disable-cron-checkers check-cagefs-mount-points-exist
Cause
The directory path specified in the error no longer exists on the server, but is still specified as a mount point in CageFS configuration file
Useful links
https://docs.cloudlinux.com/cloudlinux_os_components/#mount-points
Comments
0 comments
Article is closed for comments.