Era Host hosting
EraHost – Free Domain, Cheap Hosting!
Client Area
Support 24/7
Menu

Understanding cphorde in cPanel — What It Is & How to Fix Issues

2 min read
27.10.2025

What is cphorde?

cphorde is a cPanel email service that manages Horde Webmail, one of the default webmail clients in cPanel. It stores email data, contacts, and preferences in a database.

Understanding cphorde cPanel
cphorde — legacy webmail; migrate users to Roundcube.

For closely related cPanel webmail and database topics, see How to Repair Horde Database (cphorde), cpsrvd — cPanel Service Daemon, MySQL Corrupt Database Files, and cPanel admin — Setting Up Corporate Mail.

cPanel Hosting
Full control over your website
  • Convenient
  • Simple
  • Fast
  • Free 7-day trial
cPanel Hosting

Common Issues with cphorde & How to Fix Them

cphorde error: database connection failed"

This happens when the Horde database is corrupted or missing.

Fix: Rebuild the Horde Database

/usr/local/cpanel/bin/update_horde_config --force

If that doesn't work, run:

/usr/local/cpanel/bin/horde_mysqltosqlite

Then restart cPanel services:

service cpanel restart

"Horde webmail not loading in cPanel"

This can be caused by database corruption or permission issues.

Fix: Repair Horde Database

mysqlcheck -r horde

If the issue persists, remove and reinstall Horde:

/scripts/fullhordereset

Then restart MySQL:

systemctl restart mysql

Emails Not Syncing in Horde

If Horde is not syncing emails, the Dovecot and Exim services might be the issue.

Fix: Restart Dovecot & Exim

systemctl restart dovecot
systemctl restart exim

"cphorde using high CPU or disk space"

If cphorde is consuming too many resources, it may be due to old or excessive Horde logs and cache.

Fix: Clear Horde Cache & Logs

rm -rf /var/cpanel/horde/log/*
rm -rf /var/lib/mysql/horde/*

Restart cPanel:

service cpanel restart

Summary of Fixes

Issue Fix
Database connection error Run /usr/local/cpanel/bin/update_horde_config --force
Horde not loading Run mysqlcheck -r horde or /scripts/fullhordereset
Emails not syncing Restart dovecot and exim
High resource usage Delete Horde cache/logs

Now cphorde should work properly in cPanel!

Frequently asked questions
Roundcube. Horde is removed from cPanel's default webmail options in v110+. Roundcube has better UI, lighter resource use, actively maintained. Migration timing: before cPanel forces it. Users can switch on the webmail login page selector while both are still available.
`/usr/local/cpanel/logs/error_log` and `/var/log/apache2/error.log` near the failed-load timestamp. Horde's cphorde MySQL DB corrupt is a common cause — see the repair guide. PHP fatal in the load path is another. Restart cpsrvd: `/scripts/restartsrv_cpsrvd`.
Verify the IMAP server (Dovecot/Courier) is running: `systemctl status dovecot`. Then verify Horde's IMAP config in its admin panel points at the right host/port. If both correct, check Horde error log (`/usr/local/cpanel/logs/error_log`) for connection errors.
Cron-driven Horde background tasks (alarm checks, calendar refresh). Per-user accumulates; many users = lots of cron jobs. cPanel server with hundreds of webmail-enabled accounts can have hundreds of Horde cron entries running every few minutes. Disable Horde once users migrate to Roundcube.
Related articles
TimThumb.php Overview: Understanding the Deprecated Image Script
How to Repair Horde Database (cphorde) in cPanel
cpsrvd — Complete Guide to cPanel Service Daemon