How to start the failed ClamD Service in WHM/cPanel Server?
cPanel / WHM
Most of the times, ClamD Service in WHM/cPanel Server fails to start and displays this error message. Log of Initialization Error in LibClamAV: cli tgzload: Checksum for file daily is invalid. hsb LibClamAV Error: /usr/local/cpanel/3rdparty/share/clamav/daily cannot be loaded. Reason: Corrupt database This error indicates that the ClamAV virus definitions database file, daily.cld is corrupt and... Continue Reading
How can I harden /etc/sysctl.conf and disable ICMP broadcast requests?
Ping is the most basic method of determining whether a server is reachable over the internet. Ping works by sending ICMP echo request packets to the destination host and waiting for an ICMP broadcast requests echo response. It’s only used for troubleshooting and testing. When there isn’t a need for it, you must disable it.... Continue Reading
How to strengthen Ubuntu server password protection?
Keeping a Ubuntu server secure from assaults and data leaks requires implementing a robust password policy. Enforcing a minimum length and specifying password age are two best practices for password regulations. To complete these operations, I use the libpam-cracklib software. Install the libpam-cracklib package: sudo apt-get install libpam-cracklib To enforce password length: Go to the /etc/pam.d/common-password file... Continue Reading
How to scan for malware in Ubuntu Servers?
Ubuntu server for malware Antivirus scanning software can protect viruses from infecting your computer. It’s a simple approach to maintain your server free of viruses if you use them. ClamAV, an open-source antivirus program, is my preferred utility. Install ClamAV: sudo apt-get install ClamAV Update virus signatures: sudo freshclam Ubuntu server for malware, Scan all files for... Continue Reading
How to enable Firewall/Iptables?
Iptables is a user-space utility application for configuring the IP packet filter rules of the enable firewall in the linux kernel firewall, which are implemented as separate Netfilter modules. The filters are structured in separate tables, each of which has a set of rules for how network traffic packets should be handled. Currently, separate kernel... Continue Reading