Could not open Roundcube: "ERROR: main.inc.php was not found"

Created:

2016-11-16 13:00:15 UTC

Modified:

2017-08-16 15:52:51 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Could not open Roundcube: "ERROR: main.inc.php was not found"

Applicable to:

  • Plesk 11.x for Linux

Symptoms

When I try to open Roundcude webmail, I get the following error:

CONFIGURATION ERROR
main.inc.php was not found.
db.inc.php was not found.
Please read the INSTALL instructions!

Cause

Permissions for the mentioned files are not correct.

Resolution

Make sure that the files from the error belong to the roundcube_sysgroup group and have permissions like below:

# ll /usr/share/psa-roundcube/config/
total 48
-rw-r----- 1 root roundcube_sysgroup 2897 Oct 29 13:49 db.inc.php
-rw-r----- 1 root roundcube_sysgroup 35928 Aug 12 16:48 main.inc.php
-rw-r--r-- 1 root root 2451 Aug 12 16:48 mimetypes.php
-rw-r--r-- 1 root root 441 Aug 12 16:48 php.ini.tpl
Have more questions? Submit a request
Please sign in to leave a comment.