Knowledgebase
cPanel Transfer Tool Hangs
The cPanel Transfer Tool is incredibly powerful, but at times and given the wrong servers/bandwidth, it might hang. Use top to look for rsync processes.
How to use strace to trace network requests from an internal process on your network
Here is how you can see what ports/packets a local process is doing: strace -e trace=network -f whmapi1 validate_current_dkims domain=example.com 2>&1 | grep -E “(connect|bind|socket)”
How to see historical root logins to a server
Command: last -F | grep root journalctl _COMM=sshd | grep root
Amazonbot and Bingbot excessively crawls websites, query parameters, and shop filters
Symptoms At times websites might appears super busy, with 10s of gigs of bandwidth usage per month, but it doesn’t make sense. After viewing the
How to configure a Firewall for WHM/cPanel to say block port 25 spammers
Description Using a firewall with WHM/cPanel can be confusing and complicated as WHM doesn’t ship with a firewall by default. The two mainstream Linux distributions,
How to maintain SSH terminal sessions using screen on an unreliable link
Background Broken SSH sessions can be a pain in the butt because it disrupts your workflow. Broken SSH sessions may be a result of: An
How to monitor an Exim queue on a WHM server using SNMP and PRTG
This technique uses an HTTPS connection and PRTG’s integer type to keep track of the queue size. You have to pick a “static” site on
How to use top and see one process only
Use this command: top -p $(pgrep -d’,’ rsync)
How to do UDP Ping with Linux
Background UDP Ping is really useful especially to see if SNMP is running. The syntax for UDP checking commands is a bit obscure so we’ve