Fixing PHP Selector or other CLN tools issues Easily

If you've purchased a CloudLinux license from us, and if it is active at the portal, you still have some issues with the CloudLinux tools like PHP Selector, Setup Nodejs App, Setup Python App, etc. so here are the solutions for you:

Make sure to verify the license status:

/usr/bin/licD_cloudlinux

If your license is active/or showing an error without the message (inactive), it means your CloudLicense license is active from our API backend. But if you get an error in the license status, it means, some of our licensing system clusters can't connect with your server. It happens rarely, but sometimes it happens, because of the strictly configured server considering the security of the web server. If the previous license command did show an error in license status, please contact our support.

Because our sync CLI ( /usr/bin/cPCentral --sync ) should solve the issue automatically because it is used to check the connection with all of our licensing servers. If it can't do it itself, we may require to check around for the occurred issue/s and solve it from our end.

---

Make sure to verify the CageFS status:

In order to enable CageFS for all the servers, you must init it before. At the CloudLinux Manager from the control panel, init it, if you haven't yet! Unless you init it, it won't work on the whole server. CageFS init is required in order to solve the issue!

Remount CageFS and update its DB:

/usr/sbin/cagefsctl -M && /usr/sbin/cagefsctl --force-update

or. (using the above command ~ applies to the users of our licensing system only):

/usr/bin/forcecagefs

---

Enable CageFS for all the hosted users:

/usr/sbin/cagefsctl --enable-all

---

Try disabling CageFS for the user who had the problem, and enable it again. Sometimes, it solves the problem!

To enable CageFS for a single user:

/usr/sbin/cagefsctl --enable <username>

To disable CageFS for a user:

/usr/sbin/cagefs --disable <username>

Make sure to replace the correct username with <username>

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to fix lveinfo database error of CLN

Run the following command: service lvestats stoptar -zcvf /root/lveinfo_backup_$(date...

How to Install KernelCare on cPanel/WHM server

To install KernelCare, you need to log in with the root user on your cPanel server. Check for...

Switching all cPanel acc/s to "inherit" PHP version

You can change all cPanel users to inherit with this CLI command: for each in `cat...

How to fix issues like PHP selector not available

Some of our clients face the issues like "PHP selector not available" on cPanel accounts of their...

CloudLinux installed, but still showing CentOS

Some of our clients face the issue, that's why we're writing the tutorial to fix it. First of...