Enabling CageFS leads to stop Cron jobs on cpanel

Cron stopped working for normal cPanel users

Some times after installing/enabling the CageFS /cloudlinux the crons for the normal cpanel users get stopped working, This is normally due to the jailshell enabled on the same server before installing/enabling the CageF.

For example :

root@server [~]# crontab -l -u cpaneluser
SHELL=/usr/local/cpanel/bin/jailshell
MAILTO=”sample@Hostripples.com”
*/5 * * * * /usr/local/bin/php -q /home/cpaneluser/public_html/billing/pipe/pop.php
0 0 * * * /usr/local/bin/php -q /home/cpaneluser/public_html/billing/adminadmin/cron.php
root@server [~]#

This cpaneluser has the cron set properly and also the cron service running as expected on the server but still the cron for all cpanel user will not get execute. To fix this issue perform below steps :

1) Disable JailShell For all cpanel user

    Login into WHM >> Account Functions >> Manage Shell Access >> disable shell click on apply to all

2) disabled VertFS using below :

/scripts/clear_orphaned_virtfs_mounts –clearall
for i in `cat /proc/mounts | grep /home/virtfs | cut -d ‘ ‘ -f 2 ` ; do umount $i ; done

3)Disable cagefFS

cagefsctl –disable-all
cagefsctl –disable-cagefs

4) Enable CageFS

cagefsctl –enable-cagefs
cagefsctl –enable-all

5) Update your CageFS

cagefsctl –force-update

6) Enable jailshell again if require for the user(recommended not to open shell for cpanel user)

This will fix your issue cron execution issue for the cpanel user if you have problem with it after enabling the cloudlinux/cagefs.

Andrew

Technical Support Department.

https://Hostripples.com


HR-ADMIN

Recent Posts

The Ultimate Guide to WordPress Maintenance: Tips and Tricks

When you’re running a business that relies on website traffic and sales to succeed. Then you need to keep it…

4 days ago

Migrate In 2024: Our Comprehensive Website Migration Manual to the Next Level

Migration! Yes, this word is very big in the web hosting industry and it has its importance. Especially for businesses…

6 days ago

Unveiling the Importance of Server Maintenance Plans: A Comprehensive Guide

The server is the backbone of the web hosting industry and it acts like a HERO in the web hosting…

2 weeks ago

IP Address is Blocked? A handpicked list of Solutions to Fix it?

Imagine you are on holiday having a cup of tea and browsing your website or blog.Then, what next?You will get…

3 weeks ago

Explained: Difference between Nameservers Vs. DNS

The web hosting industry is growing every minute, day, and year. It has many terminologies that are important to understand…

1 month ago