{"id":1203,"date":"2013-11-29T05:01:07","date_gmt":"2013-11-29T11:01:07","guid":{"rendered":"http:\/\/blog.supportpro.com\/?p=1203"},"modified":"2026-01-09T05:36:46","modified_gmt":"2026-01-09T11:36:46","slug":"horde-login-issue","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/horde-login-issue\/","title":{"rendered":"How To Fixing Horde Login Failure Due to Permission Errors in cPanel"},"content":{"rendered":"<p data-start=\"310\" data-end=\"479\">Sometimes, Horde webmail login may fail due to permission issues on session files. When this happens, the Apache error log usually shows permission-related PHP warnings.<\/p>\n<h3 data-start=\"481\" data-end=\"517\">Common Error Seen in Apache Logs<\/h3>\n<p data-start=\"519\" data-end=\"582\">You may find errors like the following in the Apache error log:<\/p>\n<p><em><strong>PHP Warning: Unknown: <\/strong><\/em><em><strong>open(\/var\/cpanel\/userhomes\/cpanelhorde\/sessions\/sess_6f4fe8e66b99d89b239eb0839e3393a7, O_RDWR) failed: Permission denied (13) in Unknown on line 0<\/strong><\/em><\/p>\n<p><em><strong>PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (\/var\/cpanel\/userhomes\/cpanelhorde\/sessions) in Unknown on line 0<\/strong><\/em><\/p>\n<p data-start=\"960\" data-end=\"1083\">These errors indicate that PHP is unable to create or write session files because of incorrect file or directory ownership.<\/p>\n<h3 data-start=\"1085\" data-end=\"1099\">Root Cause<\/h3>\n<p data-start=\"1101\" data-end=\"1246\">The ownership of files and directories under<\/p>\n<p data-start=\"1101\" data-end=\"1246\"><em><strong>\/var\/cpanel\/userhomes\/cpanelhorde\/<\/strong><\/em><\/p>\n<p data-start=\"1101\" data-end=\"1246\">is incorrect. As a result, Horde cannot write session data.<\/p>\n<h3 data-start=\"1248\" data-end=\"1278\">Steps to Resolve the Issue<\/h3>\n<ol data-start=\"1280\" data-end=\"1604\">\n<li data-start=\"1280\" data-end=\"1384\">\n<p data-start=\"1283\" data-end=\"1325\">Navigate to the Horde user home directory:<br \/>\n<em><strong><br \/>\ncd \/var\/cpanel\/userhomes\/cpanelhorde\/<\/strong><\/em><\/p>\n<\/li>\n<li data-start=\"1386\" data-end=\"1496\">\n<p data-start=\"1389\" data-end=\"1440\">Correct the ownership of all files and directories:<\/p>\n<div class=\"contain-inline-size rounded-2xl corner-superellipse\/1.1 relative bg-token-sidebar-surface-primary\">\n<div class=\"sticky top-[calc(--spacing(9)+var(--header-height))] @w-xl\/main:top-9\"><\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><em><strong>chown -R cpanelhorde:cpanelhorde *<\/strong><\/em><\/div>\n<div dir=\"ltr\"><\/div>\n<\/div>\n<\/li>\n<li data-start=\"1498\" data-end=\"1604\">\n<p data-start=\"1501\" data-end=\"1542\">Monitor the error log to confirm the fix:<\/p>\n<div class=\"contain-inline-size rounded-2xl corner-superellipse\/1.1 relative bg-token-sidebar-surface-primary\">\n<div class=\"sticky top-[calc(--spacing(9)+var(--header-height))] @w-xl\/main:top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs\"><em><strong>tail -f \/usr\/local\/cpanel\/logs\/error_log<\/strong><\/em><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/li>\n<\/ol>\n<p data-start=\"1618\" data-end=\"1768\">After fixing the ownership, Horde can successfully write session files, and users will be able to log in to their Horde email accounts without errors.<\/p>\n<p>If you require help, <a href=\"https:\/\/www.supportpro.com\/requestquote.php\">contact SupportPRO Server Admin<\/a><\/p>\n<p style=\"text-align: center;\"><!--HubSpot Call-to-Action Code --><span id=\"hs-cta-wrapper-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-wrapper\"><span id=\"hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-node hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\"><!-- [if lte IE 8]><\/p>\n\n\n\n\n\n<div id=\"hs-cta-ie-element\"><\/div>\n\n\n<![endif]--><a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b\"><img decoding=\"async\" id=\"hs-cta-img-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-img\" style=\"border-width: 0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b.png\" alt=\"Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value\" \/><\/a><\/span><\/span><!-- end HubSpot Call-to-Action Code --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes, Horde webmail login may fail due to permission issues on session files. When this happens, the Apache error log usually shows permission-related PHP warnings. Common Error Seen in Apache&hellip;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-1203","post","type-post","status-publish","format-standard","hentry","category-miscellaneous"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/1203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=1203"}],"version-history":[{"count":6,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/1203\/revisions"}],"predecessor-version":[{"id":15248,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/1203\/revisions\/15248"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=1203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=1203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=1203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}