Introduction This script uses ClamAV (clamscan) to scan all cPanel user directories for malware and sends an email alert if infections are found. It can be scheduled via cron for regular automated scanning. Prerequisites Before using this script, ensure: Script How to Schedule via Cron Daily Scan Add: Runs daily… Continue Reading Automated ClamAV Virus Scan Script with Cron (cPanel Server)

Sometimes we will get the following error when we triedto access the Plesk control panel.ERROR: PleskMainDBExceptionMySQL query failed:Incorrect information in file: ‘./psa/misc.frm’0: common_func.php3:168db_query(string ‘select param, val from misc’)1: common_func.php3:587get_param(string ‘mysql41_compatible’)2: common_func.php3:484db_set_names()3: common_func.php3:463db_connect_real(string ‘localhost’, string ‘admin’,string ‘*************’, ‘psa’)4: common_func.php3:443db_connect()5: auth.php3:90Even a restart of the plesk service will not work:# /etc/init.d/psa restartUnable… Continue Reading MySQL query failed: Incorrect information in file: ‘./psa/misc.frm’

Introduction Linux command-line tools are essential for server administration and daily operations. Understanding basic commands helps in managing files, monitoring system usage, and troubleshooting issues efficiently. Prerequisites Before using these commands, ensure: Common Linux Commands 1. Disk Usage du -sch * df -h 2. File & Directory Management ls -la… Continue Reading Basic Linux Commands for Server Management

Introduction PHP is a widely used server-side scripting language for building dynamic web applications. On older systems such as CentOS 6, different PHP versions may be required for legacy applications to function correctly. While PHP 5.3 introduced several improvements over PHP 5.2, some older web applications are not compatible with… Continue Reading Downgrade PHP 5.3 to 5.2 in centos 6

Introduction In Plesk servers, you may encounter an issue where all hosted websites load the default Plesk page instead of their actual content. This typically occurs due to misconfiguration in the web server settings. Prerequisites Before proceeding, ensure: Cause The most common cause of this issue is a missing or… Continue Reading All the plesk websites are loading default webpage

Introduction Sometimes, while accessing Horde webmail, users may encounter a warning message stating “Unable to get quota” displayed in yellow on the interface. This issue can be confusing because no corresponding errors are logged in the Horde error logs. It is typically related to mailbox display or sorting configuration rather… Continue Reading Horde Webmail “Unable to Get Quota” Error – Cause and Resolution Guide

Introduction The error “No space left on device: Couldn’t create accept lock” in Apache usually indicates that system semaphore limits are exhausted. This can be resolved by clearing unused semaphores and increasing kernel limits. Prerequisites Implementation Step 1: Remove unused semaphoresfor semid in ipcs -s | grep apachec | cut… Continue Reading No space left on device: Couldn’t create accept lock

Introduction This script automatically rotates IP addresses for a cPanel account at regular intervals (e.g., every 5 or 10 minutes). It reads IPs from a file and updates the account IP sequentially. Prerequisites Implementation Script: #!/bin/bash #List of IP’s in file /root/mydomain/iplist.txt CHANGEIP=/usr/local/cpanel/bin/setsiteip #This is a cPanel user account USERNAME=mail23… Continue Reading IP changing script

Introduction Monitoring root access is critical for maintaining server security. By enabling root login alerts, you can receive instant email notifications whenever someone logs in as the root user. This helps in detecting unauthorized access and improves overall system auditing on your Linux server. Prerequisites Before proceeding, ensure the following:… Continue Reading How to Enable Root Login Alerts on a Linux Server

Introduction Mozilla Thunderbird is a free and open-source email client that allows you to manage multiple email accounts efficiently. This guide explains how to configure an email account on macOS using Thunderbird. Prerequisites Before starting, ensure you have: Implementation Follow the steps below to configure your email account: Step 1:… Continue Reading How to configure Mozilla Thunder bird in MAC OS for the email account?