Understanding cphorde in cPanel — What It Is & How to Fix Issues
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.
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.
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!


