a have strange error

adamp

Verified User
Joined
Jan 11, 2007
Messages
137
when my user login to squirrelmail

the squirrelmail show this:

Error opening ../data/default_pref
Default preference file not found or not readable!
Please contact your system administrator and report this error.

what I need to do
 
Hi,

Check permissions and the owner of the default_pref file. Probably in /var/www/html/squirrelmail-version/data/ folder.

It should be something like owner apache and 700 permissions.

HtH
 
#ls -al <FILE_PATH>

e.g
#ls -al /var/www/html/squirrelmail-<VERSION>/data/default_pref

it should be apache:apache with 700 permission
 
the server show me

server# ls -al /var/www/html/squirrelmail-1.4.9a/data/default_pref
ls: /var/www/html/squirrelmail-1.4.9a/data/default_pref: No such file or directory
server#

???
 
i am not sure how this file is not present in that directory. To get things going, I would suggest you to reinstall squirrelmail 1.4.9a or copy data_pref file from any other release of squirrelmail and paste it in /var/www/html/squirrelmail-1.4.9a/data directory.

Hope this might help. I would say try reinstalling as it could be that this might be the case with other files aswell (MIGHT BE A BAD INSTALL???)
 
no the install was good.

only now it's not working...

I Be hope that other someone can help me...
 
adamp,

If you're missing a file and don't want to reinstall it, then you're going to continue to have the problem.

Here's an easier way to install it: simply create a new default_pref file with this contents:
Code:
full_name=
reply_to=
show_html_default=0
sort=0
then chown the file:
Code:
# chown apache:apache default_pref
and chmod the file:
Code:
chmod 700 default_pref

Jeff
 
I had the same error after the last DA upgrade. I had to change the permissions back.
 
Back
Top