{"id":13631,"date":"2026-02-27T10:28:16","date_gmt":"2026-02-27T04:58:16","guid":{"rendered":"https:\/\/www.youstable.com\/blog\/?p=13631"},"modified":"2026-09-07T11:07:33","modified_gmt":"2026-09-07T05:37:33","slug":"fix-cpanel-on-linux","status":"publish","type":"post","link":"https:\/\/www.youstable.com\/blog\/fix-cpanel-on-linux\/","title":{"rendered":"How to Fix cPanel on Linux Server with SSL, Firewall, and License Issues"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>To fix cPanel on a Linux server,<\/strong> verify the service status, open required ports, restart cPanel\/WHM and web services, check logs for errors, repair packages with cPanel scripts, update to the latest build, and resolve SSL, DNS, or license issues. The steps below provide a prioritized, safe workflow any admin can follow.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If your cPanel or WHM panel isn\u2019t loading, returns 500 errors, or services won\u2019t start, this guide shows exactly how to fix cPanel on a Linux server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Using a proven troubleshooting flow, we\u2019ll help you identify root causes quickly and apply reliable fixes for networking, services, SSL, DNS, licensing, and performance issues.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"quick-diagnosis-checklist\">Quick Diagnosis Checklist<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before deep troubleshooting, confirm these essentials. If one fails, jump to the relevant section below.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Can you reach WHM\/cPanel over HTTPS (https:\/\/server-ip:2087 for WHM, https:\/\/server-ip:2083 for cPanel)?<\/li>\n\n\n\n<li>Are firewall rules or a cloud security group blocking ports?<\/li>\n\n\n\n<li><strong>Do key services run:<\/strong> cpsrvd (cPanel\/WHM), httpd or lshttpd, MySQL\/MariaDB, named, exim?<\/li>\n\n\n\n<li>Any obvious errors in \/usr\/local\/cpanel\/logs\/error_log, Apache logs, or dmesg?<\/li>\n\n\n\n<li>Is the server out of disk space or inodes?<\/li>\n\n\n\n<li>Is your cPanel license valid and reachable?<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"prerequisites-and-safety\">Prerequisites and Safety<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Root <a href=\"https:\/\/www.youstable.com\/blog\/how-to-enable-ssh-access-for-clients-or-users\/\">SSH access<\/a>.<\/li>\n\n\n\n<li>Supported OS (AlmaLinux, Rocky Linux, CloudLinux\u2014CentOS Stream 8+ may require care).<\/li>\n\n\n\n<li>Make\/verify backups before major changes (e.g., EasyApache, PHP handlers, <a href=\"https:\/\/www.youstable.com\/blog\/mysql-commands\">MySQL<\/a> upgrades).<\/li>\n\n\n\n<li>Maintenance window if this is a production server.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"how-to-fix-cpanel-on-linux-server-step-by-step-guide\">How to Fix cPanel on Linux Server: Step-by-Step Guide<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"1-confirm-and-restart-core-cpanel-services\">1) Confirm and restart core cPanel services<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">cPanel\/WHM runs under the cpsrvd daemon. Use cPanel\u2019s native scripts to check and restart services safely.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Check cPanel service logs\ntail -n 200 \/usr\/local\/cpanel\/logs\/error_log\n\n# Restart cPanel\/WHM (cpsrvd) and watchdog\n\/scripts\/restartsrv_cpsrvd\n\/scripts\/restartsrv_chkservd\n\/scripts\/restartsrv_tailwatchd\n\n# Restart other essentials\n\/scripts\/restartsrv_httpd\n\/scripts\/restartsrv_exim\n\/scripts\/restartsrv_named\n\/scripts\/restartsrv_cphulkd<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If cpsrvd won\u2019t stay up, the error_log will typically reveal a certificate, port, or dependency problem.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"2-fix-firewall-and-ports-whm-cpanel-not-loading\">2) Fix firewall and ports (WHM\/cPanel not loading)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">cPanel requires specific ports open both on the server firewall and your cloud provider\u2019s security group.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>WHM: <\/strong>2087 (SSL), 2086 (non-SSL)<\/li>\n\n\n\n<li><strong>cPanel: <\/strong>2083 (SSL), 2082 (non-SSL)<\/li>\n\n\n\n<li><strong>Web\/Email\/DNS:<\/strong> 80, 443, 25, 465, 587, 110, 995, 143, 993, 53 (TCP\/UDP)<\/li>\n\n\n\n<li><strong>Licensing\/Update:<\/strong> 2089 outbound to cPanel license servers<\/li>\n\n\n\n<li><strong>SSH: <\/strong>22 (or your custom port)<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code># CSF example: allow common cPanel\/WHM ports\ncsf -a YOUR.PUBLIC.IP      # Temporarily allow your IP (for testing)\ncsf -u                     # Update firewall\ncsf -g 2083                # Check if a rule blocks port 2083\n# If using firewalld:\nfirewall-cmd --permanent --add-port=2083\/tcp\nfirewall-cmd --permanent --add-port=2087\/tcp\nfirewall-cmd --reload<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Also confirm your cloud firewall (AWS Security Groups, Google VPC, Azure NSG) allows inbound 2083\/2087.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"3-repair-ssl-and-autossl-issues-cert-mismatch-expired-cert\">3) Repair SSL and AutoSSL issues (cert mismatch\/expired cert)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Invalid or expired cPanel service certificates can prevent logins or cause redirects\/500 errors.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Check and reinstall service <a href=\"https:\/\/www.youstable.com\/blog\/activate-an-ssl-certificate\/\">SSL certificates<\/a>\n\/usr\/local\/cpanel\/bin\/checkallsslcerts\n\n# Review AutoSSL logs\ntail -n 200 \/usr\/local\/cpanel\/logs\/autossl\/*\n\n# Ensure hostname resolves to the server\nhostname\ndig +short $(hostname) A\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Set a valid FQDN that points to the server\u2019s main IP. Then rerun checkallsslcerts to regenerate service certs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"4-validate-dns-and-resolvers-panel-slow-or-unreachable\">4) Validate DNS and resolvers (panel slow or unreachable)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Broken DNS often manifests as slow panel logins, license failures, or AutoSSL timeouts.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Check resolvers (should be reachable public DNS servers)\ncat \/etc\/resolv.conf\n\n# Test name resolution and network path\ndig cpanel.net\nping -c 3 cpanel.net\ntraceroute cpanel.net<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If resolvers are wrong, replace with reliable ones (e.g., 8.8.8.8, 1.1.1.1), then retry updates and AutoSSL.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"5-fix-cpanel-license-errors\">5) Fix cPanel license errors<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u201cInvalid License File\u201d or \u201cCannot read license\u201d indicates connectivity or licensing mismatches.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Force license update\n\/usr\/local\/cpanel\/cpkeyclt\n\n# Verify outbound 2089 and DNS resolution to cPanel licensing servers\ntelnet auth.cpanel.net 2089\ndig auth.cpanel.net<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ensure the server\u2019s primary IP matches your licensed IP. Contact your provider to reissue if you changed IPs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"6-rebuild-the-web-stack-with-easyapache-4-http-500-service-unavailable\">6) Rebuild the web stack with EasyApache 4 (HTTP 500\/Service Unavailable)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Bad Apache\/Nginx\/LSWS or PHP-FPM configs cause 500 errors or blank pages. Use EasyApache 4 to repair.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Fix and verify Apache\n\/scripts\/restartsrv_httpd\n\/usr\/local\/cpanel\/scripts\/check_cpanel_rpms --fix\n\n# Launch EasyApache 4 in WHM:\n# WHM &gt; EasyApache 4 &gt; Provision a known-good profile\n# Or via CLI:\n\/usr\/local\/bin\/ea_update --help<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Provision a stable profile (Apache + required <a href=\"https:\/\/www.youstable.com\/blog\/how-to-change-php-version-in-cpanel\/\">PHP versions<\/a> + PHP-FPM). Rebuild PHP-FPM pools if they fail to start.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"7-php-fpm-handlers-and-module-mismatches\">7) PHP-FPM, handlers, and module mismatches<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If only some sites fail, check domain-level PHP-FPM pools and handler settings.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Restart PHP-FPM for domains\n\/scripts\/restartsrv_apache_php_fpm\n\n# Review per-domain FPM logs\ntail -n 200 \/opt\/cpanel\/ea-php*\/root\/usr\/var\/log\/php-fpm\/error.log\n\n# Switch handlers if needed (WHM &gt; MultiPHP Manager)\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Missing extensions (ionCube, imagick, intl) commonly break apps. Add them via EasyApache 4 and restart Apache\/PHP-FPM.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"8-mysql-mariadb-connectivity-and-credentials\">8) MySQL\/MariaDB connectivity and credentials<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Database outages trigger 500 errors and \u201c<a href=\"https:\/\/www.youstable.com\/blog\/error-establishing-database-connection\/\">Error establishing a database connection<\/a>\u201d in WordPress or apps.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Check database availability\nsystemctl status mysql mariadb\njournalctl -u mysql -xe --no-pager\n\n# Verify disk space for InnoDB logs\/tmp\ndf -h\ndf -ih\n\n# Test login\nmysql -u root -p\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If MySQL is corrupt or won\u2019t start, restore from backup or repair tables. Ensure \/tmp is not full and has correct permissions (1777).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"9-disk-space-inodes-and-permissions\">9) Disk space, inodes, and permissions<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Low disk space or inode exhaustion prevents services from writing PID\/log files and causes random failures.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Check usage\ndf -h\ndf -ih\n\n# Find large dirs\ndu -xhd1 \/var | sort -h\ndu -xhd1 \/usr | sort -h\n\n# <a href=\"https:\/\/www.youstable.com\/blog\/how-to-clear-cache-in-browser\">Clear old logs and caches<\/a> cautiously\nrm -f \/var\/log\/*.gz\njournalctl --vacuum-time=7d<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Confirm critical paths have correct ownership\/permissions: \/home, \/tmp (1777), \/var\/tmp (1777), user public_html directories, and \/etc\/ for configs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"10-update-and-repair-with-cpanel-scripts\">10) Update and repair with cPanel scripts<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">cPanel provides robust repair utilities. For broken dependencies or outdated builds, a forced update often fixes issues.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Update cPanel to the latest tier build (Stable\/Release\/Current)\n\u200b\/scripts\/upcp --force\n\n# Verify and fix RPMs installed by cPanel\n\/usr\/local\/cpanel\/scripts\/check_cpanel_rpms --fix\n\n# Rebuild user domains\/Apache config\n\/scripts\/rebuildhttpdconf\n\/scripts\/restartsrv_httpd\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Run upcp during off-peak hours. Always keep recent backups before major updates.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"11-security-layers-cphulk-modsecurity-and-selinux\">11) Security layers: cPHulk, ModSecurity, and SELinux<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Over-aggressive security can block logins or requests.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>cPHulk: <\/strong>Temporarily disable if you\u2019re locked out (WHM &gt; cPHulk Brute Force Protection).<\/li>\n\n\n\n<li><strong>ModSecurity:<\/strong> If a site breaks, check audit logs and whitelist needed rules.<\/li>\n\n\n\n<li><strong>SELinux:<\/strong> cPanel recommends disabled or permissive on many setups; mismatches can block services.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"common-cpanel-errors-and-fast-fixes\">Common cPanel Errors and Fast Fixes<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>HTTP 500 on WHM\/cPanel login:<\/strong> Check \/usr\/local\/cpanel\/logs\/error_log, repair SSL with checkallsslcerts, run \/scripts\/restartsrv_cpsrvd, ensure ports 2083\/2087 open.<\/li>\n\n\n\n<li><strong>\u201cService Unavailable\u201d on websites:<\/strong> Restart Apache\/PHP-FPM, rebuild with EasyApache 4, check <a href=\"https:\/\/www.youstable.com\/blog\/how-to-modify-php-limits-in-directadmin-cpanel\">PHP memory limits<\/a> and extensions.<\/li>\n\n\n\n<li><strong>\u201cInvalid License File\u201d:<\/strong> Verify outbound 2089, run \/usr\/local\/cpanel\/cpkeyclt, ensure IP matches licensed IP.<\/li>\n\n\n\n<li><strong>Slow panel after update: <\/strong>Check resolvers, disable failing plugins, run \/usr\/local\/cpanel\/scripts\/check_cpanel_rpms &#8211;fix, confirm disk I\/O not saturated (iostat, sar).<\/li>\n\n\n\n<li><strong>AutoSSL failing:<\/strong> Ensure hostname A record points to server, rate limits not exceeded, no .htaccess blocks, and that port 80\/443 are reachable.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"performance-and-hardening-tips\">Performance and Hardening Tips<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use PHP-FPM per domain and only necessary <a href=\"https:\/\/www.youstable.com\/blog\/how-to-change-php-version-in-directadmin\/\">PHP versions<\/a>.<\/li>\n\n\n\n<li>Enable HTTP\/2 and Brotli (if supported) for faster sites.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.youstable.com\/blog\/install-csf-firewall-on-linux\/\">Install CSF<\/a> + LFD, keep ModSecurity rules current, consider ImunifyAV\/Imunify360 for malware protection.<\/li>\n\n\n\n<li>Implement off-server backups and test restores regularly.<\/li>\n\n\n\n<li>Monitor with chkservd, set alerts to your email or monitoring system.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"when-to-contact-support\">When to Contact Support<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You cannot access WHM\/cPanel after verifying ports and firewall.<\/li>\n\n\n\n<li>cpsrvd or httpd repeatedly crash after updates.<\/li>\n\n\n\n<li>License remains invalid despite network and IP checks.<\/li>\n\n\n\n<li>Database corruption or filesystem errors (dmesg shows I\/O or RAID issues).<\/li>\n\n\n\n<li>Security incident suspected (webshells, rootkits, mass defacement).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Have logs ready: \/usr\/local\/cpanel\/logs\/error_log, \/var\/log\/messages, Apache\/PHP-FPM logs, and output from \/scripts\/upcp. These speed up resolutions significantly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"how-youstable-helps-fix-cpanel-faster\">How YouStable Helps Fix cPanel Faster<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">As a hosting provider focused on cPanel and Linux, YouStable\u2019s engineers work with these issues daily. Our managed plans include proactive monitoring, firewall tuning, EasyApache and PHP optimization, malware cleanup, and backup strategy\u2014so you spend time on your business, not on panel errors. Need a safe migration to AlmaLinux or CloudLinux? We handle that end-to-end.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"practical-example-a-safe-recovery-workflow\">Practical Example: A Safe Recovery Workflow<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Step 1: <\/strong>Open WHM over 2087. If blocked, allow ports in CSF\/cloud firewall.<\/li>\n\n\n\n<li><strong>Step 2: <\/strong>Restart cpsrvd and check error_log for SSL or dependency errors.<\/li>\n\n\n\n<li><strong>Step 3:<\/strong> Run checkallsslcerts to fix service certs if hostname resolves to server IP.<\/li>\n\n\n\n<li><strong>Step 4: <\/strong>Rebuild Apache and PHP with EasyApache 4; verify needed extensions.<\/li>\n\n\n\n<li><strong>Step 5: <\/strong>Run upcp &#8211;force and check_cpanel_rpms &#8211;fix for package consistency.<\/li>\n\n\n\n<li><strong>Step 6: <\/strong>Validate MySQL\/MariaDB and PHP-FPM pools for app-specific errors.<\/li>\n\n\n\n<li><strong>Step 7: <\/strong>Confirm disk space\/inodes and clean old logs, then retest sites and logins.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"faqs\">FAQs<\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1765869087507\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"how-do-i-restart-the-cpanel-whm-service-safely\">How do I restart the cPanel\/WHM service safely?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Use cPanel\u2019s service scripts: \/scripts\/restartsrv_cpsrvd to restart the panel, \/scripts\/restartsrv_chkservd for monitoring, and \/scripts\/restartsrv_httpd for Apache. Always check \/usr\/local\/cpanel\/logs\/error_log for clues if the service won\u2019t stay up.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765869102544\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"which-ports-must-be-open-for-cpanel-and-whm\">Which ports must be open for cPanel and WHM?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Open 2083 (cPanel SSL) and 2087 (WHM SSL). Also open 80\/443 for websites, 53 for DNS, 25\/465\/587\/110\/995\/143\/993 for email, and 2089 outbound for licensing. Ensure both server firewall and cloud security groups allow these ports.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765869115278\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"how-do-i-fix-a-cpanel-license-error-after-changing-ips\">How do I fix a cPanel license error after changing IPs?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Update your license to the new IP with your provider, ensure outbound 2089 and DNS resolution, then run \/usr\/local\/cpanel\/cpkeyclt. If it still fails, check resolvers in \/etc\/resolv.conf and confirm the server can reach auth.cpanel.net.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765869128607\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"how-can-i-rebuild-apache-php-if-sites-show-500-errors\">How can I rebuild Apache\/PHP if sites show 500 errors?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>In WHM, open EasyApache 4 and provision a stable profile with the required u003ca href=u0022https:\/\/www.youstable.com\/blog\/how-to-change-php-version-in-directadmin\/u0022u003ePHP versionsu003c\/au003e and extensions. Then restart Apache and PHP-FPM. If problems persist, run \/usr\/local\/cpanel\/scripts\/check_cpanel_rpms u002du002dfix to repair packages.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1765869139447\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \" class=\"rank-math-question \" id=\"whats-the-safest-way-to-update-cpanel\">What\u2019s the safest way to update cPanel?<\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Back up first, schedule a maintenance window, then run \/scripts\/upcp u002du002dforce. Choose the Stable or Release tier in WHM to minimize risk. After updating, verify key services and test WHM\/cPanel logins and a few representative websites.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>To fix cPanel on a Linux server, verify the service status, open required ports, restart cPanel\/WHM and web services, check [&hellip;]<\/p>\n","protected":false},"author":21,"featured_media":19101,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"iawp_total_views":63,"footnotes":""},"categories":[350,2276],"tags":[],"class_list":["post-13631","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledgebase","category-kb-cpanel"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/13631","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/comments?post=13631"}],"version-history":[{"count":1,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/13631\/revisions"}],"predecessor-version":[{"id":23004,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/13631\/revisions\/23004"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media\/19101"}],"wp:attachment":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media?parent=13631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/categories?post=13631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/tags?post=13631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}