update cloudlinux license ssh

Force CloudLinux License Update

Has your CloudLinux expired and you have renewed it, but LVE Manager still sees the old license? Have you changed the license and it is not seeing the new license? You can run the following command from SSH to force an update of the CloudLinux license:   clnreg_ks –force    Once ran you should be …

Continue reading "Force CloudLinux License Update"
Find largest folder in ssh

cPanel server booting to grub menu

So you recently updated and you rebooted and now your cPanel server is not booting and instead booting to a Grub prompt?:   grub>   This is typically due to the system not being able to find the root partition in Grub, so it boots to the Grub menu to allow you to further diagnose why …

Continue reading "cPanel server booting to grub menu"
Find largest folder in ssh

Find Current Inode Usage Using SSH

Need to find out how many inodes each user is using on your cPanel server? Simply run the following command from SSH:   cd /home echo "Inode usage for: $(pwd)" ; for d in `find -maxdepth 1 -type d |cut -d\/ -f2 |grep -xv . |sort`; do c=$(find $d |wc -l) ; printf "$c\t\t- $d\n" ; …

Continue reading "Find Current Inode Usage Using SSH"
cPanel emtpy trash for all users

cPanel Find and Delete Trash Folders

If you find you have a lot of users with large amounts of files in their Trash in cPanel, you can run the following command from SSH to delete them all in one go!:   find /home/*/.trash/* -exec rm -rf {} \;   Keep in mind it is not possible to retrieve any data in …

Continue reading "cPanel Find and Delete Trash Folders"
Find largest folder in ssh

Find and Remove a File or Folder in SSH

Need to find and remove a particular file and/or folder and know the name, but not the location? Use the following command to find and remove it!: find . -name "error_log" -exec rm -rf {} \;   The above will search the current folder and subfolders for the file named "error_log" and delete every one …

Continue reading "Find and Remove a File or Folder in SSH"
cPanel emtpy trash for all users

IP addressing MISSING in WHM List Accounts

When in List Accounts in cPanel's WHM, you find an account with the IP address set as "MISSING", try the running the following command from SSH:   /scripts/rebuildhttpdconf   After running the above command, make sure to restart the HTTPD service.   Another alternative quick fix is to change the accounts IP address to another IP …

Continue reading "IP addressing MISSING in WHM List Accounts"