Page 1 of 2

CONFIGURATION ERROR defaults.inc.php was not found.

Posted: Tue Apr 07, 2015 9:29 am
by cloudselvam
Hi ,

I'm getting following error in roundcube mail



CONFIGURATION ERROR

defaults.inc.php was not found.
Please read the INSTALL instructions!



Need your help to resolve this issue.

Thanks & Regards,

CloudSelvam.

Re: CONFIGURATION ERROR defaults.inc.php was not found.

Posted: Tue Apr 07, 2015 11:25 am
by skurudo
have you tried using --force
when re-installing roundcube?
That should replace the missing files.
(it was there - viewtopic.php?f=12&t=5259)

Re: CONFIGURATION ERROR defaults.inc.php was not found.

Posted: Wed Apr 08, 2015 12:34 am
by megalands
chmod file /etc/roundcubemail/db.inc.php (777 if you want :) )

Re: CONFIGURATION ERROR defaults.inc.php was not found.

Posted: Thu Apr 09, 2015 5:28 pm
by realjumy
I have this same problem with a fresh installation of VestaCP.

How can I do that --force reinstallation?
EDIT: If you meant reinstall the VestaCP installation script, I already tried it and the problem persisted.

EDIT2: I tried again a fresh installation in a fresh server and still the same problem.

EDIT 3: this last time there was a defaults.inc.php and I changed permissions as suggested in viewtopic.php?f=12&t=7507&start=10 Previous times that file doesn't existed. So... Solved.

Re: CONFIGURATION ERROR defaults.inc.php was not found.

Posted: Mon Apr 13, 2015 6:41 pm
by Tim Rowley
I followed instruction that I found in the forum to change the file permissions for /etc/roundcubemail/defaults.inc.php to 755 and it has worked.
But, I don't understand - I have another identical VPS in which the permission is at 640 and it works. Maybe there is something else going on and it would would be possible to keep the mailbox 'locked down' a little more securely ?

Re: CONFIGURATION ERROR defaults.inc.php was not found.

Posted: Mon Apr 13, 2015 8:29 pm
by skurudo
Tim Rowley wrote:But, I don't understand - I have another identical VPS in which the permission is at 640 and it works.
Yep, don't understand, why this happen. May be some updates has been installed or some move... I have about ten all sort active VestaCP and no one have this error. weird situation.
Tim Rowley wrote: Maybe there is something else going on and it would would be possible to keep the mailbox 'locked down' a little more securely ?
If you don't use emal services, why not?

Re: CONFIGURATION ERROR defaults.inc.php was not found.

Posted: Tue Apr 14, 2015 2:45 am
by Tim Rowley
Thanks Skurudo
but I do use the mail service. I have limited knowledge but as far as I understand this leaves the mail service more vulnerable to exploit.
The mail is working, but I'll keep watching this space in case there is any development.

Re: CONFIGURATION ERROR defaults.inc.php was not found.

Posted: Tue Apr 14, 2015 8:59 am
by cybergypsy
Mine was working then I made some changes on main.inc.php and only after this operation I got "defaults.inc.php was not found.".
I use centos 6, file modified with nano and ctrl+o and ctr+x, nothing else.
I made this operation many times on several vps but this is the first time I got this error.

Re: CONFIGURATION ERROR defaults.inc.php was not found.

Posted: Wed Apr 22, 2015 9:02 am
by Spooney
I had the same problem but got away with chmod'ing
/etc/roundcubemail/defaults.inc.php
to just 644, which avoids enabling execute flags.

Re: CONFIGURATION ERROR defaults.inc.php was not found.

Posted: Wed Apr 22, 2015 10:54 am
by skurudo
Spooney wrote:I had the same problem but got away with chmod'ing
/etc/roundcubemail/defaults.inc.php
to just 644, which avoids enabling execute flags.
Yep, this true.
644 more secure.