Guides tagged “troubleshooting”
Step-by-step MdmHost guides about troubleshooting, sorted A-Z.
178 guides · page 5 of 9
Fix ERR_TOO_MANY_REDIRECTS (redirect loops) on any website
Trace a redirect loop with curl and fix the usual causes: HTTPS behind Cloudflare or a proxy, conflicting www rules, app URL settings and cached redirects.
Fix ERR_TOO_MANY_REDIRECTS: diagnose a redirect loop
Trace an ERR_TOO_MANY_REDIRECTS loop across Nginx, Apache, WordPress and Cloudflare, and find the single rule that keeps sending traffic back to itself.
Fix file upload size errors on cPanel (upload_max_filesize, 413)
Fix 'file exceeds upload_max_filesize', 413 Request Entity Too Large and failed uploads on cPanel by raising PHP limits correctly, or using FTP for very large files.
Fix grub rescue> and error: unknown filesystem on a Linux VPS
Get a Linux VPS out of the grub rescue prompt: find the boot partition, boot manually with set root and insmod normal, then reinstall GRUB permanently from the system or a rescue ISO.
Fix MySQL "Can't connect to local server through socket" (2002)
Fix ERROR 2002 and 2003 connection errors: MySQL not running, wrong socket path, localhost vs 127.0.0.1, bind-address, firewall and access denied errors explained.
Fix MySQL "Too many connections" (error 1040)
Find out why MySQL or MariaDB runs out of connections, see who holds them, fix slow queries and connection leaks, and size max_connections safely for your RAM.
Fix MySQL or MariaDB error 1045: Access denied for user
Error 1045 means MySQL or MariaDB rejected the login. Find which user and host the client asked for, fix the password or grants, and reset a lost root password safely.
Fix Nginx failed to start: address already in use
Nginx will not start when another program already holds port 80 or 443. Find what is using the port with ss, stop or move it, fix duplicate listen lines, then start Nginx.
Fix out-of-memory kills: the Linux OOM killer explained
Recognise when the Linux OOM killer stopped MySQL, PHP or Node.js, find which process used the memory, and prevent it with right-sized limits, swap and service settings.
Fix PDOException: could not find driver in PHP
Fix the PHP error "could not find driver" by enabling the right PDO driver (pdo_mysql, pdo_pgsql, pdo_sqlite) for the PHP version your site and CLI actually use.
Fix PHP "Allowed memory size exhausted" fatal error
PHP stops a script when it tries to allocate more memory than memory_limit allows. Find the script that hit the limit, raise the limit in the right place, and fix the cause.
Fix PHP cURL error 28 and other outgoing request errors
Fix cURL error 28 (operation timed out), error 6 (could not resolve host) and error 7 (failed to connect) when PHP, WordPress or Laravel call external APIs.
Fix PHP Fatal error: Call to undefined function
Fix "Call to undefined function" errors in PHP: missing extensions like mysqli, curl, mb_ or gd, functions removed in PHP 8, missing includes and wrong namespaces.
Fix PHP Fatal error: Class not found
Fix "Class not found" errors in PHP apps: Composer autoload not loaded or outdated, missing vendor folder, wrong namespace or case-sensitive file names on Linux, and missing extensions.
Fix PHP max_input_vars exceeded (forms and menus not saving)
Fix the PHP warning Input variables exceeded 1000 and forms or WordPress menus that silently stop saving, by raising max_input_vars on cPanel, a VPS or with .user.ini.
Fix PHP Parse error: syntax error, unexpected
Understand and fix PHP parse errors such as unexpected end of file, unexpected token, unexpected identifier and T_STRING, including errors caused by an old PHP version.
Fix PHP session errors: save path, permissions and lost logins
Fix session_start() errors and users being logged out: session.save_path permissions, full disks, garbage collection, cookie settings, multiple servers and Redis sessions.
Fix pip "externally-managed-environment" on Ubuntu and Debian
Understand why pip refuses to install packages system-wide on Ubuntu 23.04+ and Debian 12, and install Python packages the right way with venv, pipx or apt.
Fix SSH "connection refused", "timed out" and "permission denied"
Work out what each SSH error means, test the port from your computer, and use the control panel's browser console to fix the firewall, the SSH service or key permissions.
Fix SSH errors: connection refused, timed out and permission denied
Diagnose why you cannot SSH into a server: connection refused, timeouts, host key warnings and permission denied, with the exact checks and fixes for each.
Browse by topic
- Getting startedYour first hour with a new server: access, logins and basics.83 guides
- cPanelFiles, databases, email, domains and every cPanel tool, step by step.67 guides
- WHM & resellingWHM, packages, reseller accounts, WHMReseller and running a hosting brand.53 guides
- WordPressInstall, secure, speed up, migrate and fix WordPress sites.49 guides
- Email & webmailMailboxes, webmail, forwarders, spam filters and email delivery.67 guides
- DomainsRegistering, transferring and managing domains and nameservers.27 guides
- SSL certificatesFree AutoSSL, Let's Encrypt, paid certificates and HTTPS.41 guides
- CloudLinuxCloudLinux setup and use: LVE limits, CloudLinux Manager, CageFS and PHP/Node.js selectors.31 guides
- LiteSpeedLiteSpeed Web Server, LSCache and the LiteSpeed Cache plugin: install, settings and tuning.35 guides
- Imunify360Malware scanning, firewall and proactive defence with Imunify360.24 guides
- SoftaculousInstall, update, clone and back up apps with Softaculous.24 guides
- WP SquaredcPanel's WordPress platform: sites, plugins, staging and backups.9 guides
- SitePadBuild and publish websites with the SitePad builder.9 guides
- SitejetDesign, edit and publish sites with the Sitejet builder.9 guides
- WHMResellerAlpha and master resellers with WHMReseller: install, setup and use.12 guides
- VirtFusionInstall, set up and manage VirtFusion: hypervisors, packages, servers and WHMCS integration.28 guides
- VirtualizorManage your VPS with Virtualizor: power, OS reinstall, VNC, IPs and backups.44 guides
- PleskWebsites, email, databases and settings in the Plesk panel.53 guides
- DirectAdminUsers, domains, email and reseller tools in DirectAdmin.41 guides
- WHMCSBilling, automation, products and client management with WHMCS.52 guides
- Control panelscPanel & WHM, Plesk, DirectAdmin and other panels on your VPS.107 guides
- SecurityKeys, passwords, firewalls and keeping a server patched.138 guides
- Networking & DNSIP addresses, reverse DNS, ports and traffic.72 guides
- Websites & appsWeb servers, WordPress, PHP, Node.js, SSL and app hosting.83 guides
- DatabasesMySQL, MariaDB, PostgreSQL, Redis and MongoDB on a VPS.80 guides
- Billing & accountInvoices, renewals, the client area and your account.9 guides
- TroubleshootingWhen something is not working: checks and fixes.127 guides
- Linux VPSSSH, packages, services and everyday Linux administration.265 guides
- Windows VPS & RDPRemote Desktop, Windows Server settings and Admin RDP tips.73 guides
- Docker & DevOpsContainers, Git deploys, automation, monitoring and backups.82 guides
Still stuck?
Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.
