Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Squirrelmail issue: Error opening ../data/default_pref
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Dr_Stein
Guru
Guru


Joined: 21 Mar 2003
Posts: 303
Location: Mountain View, CA

PostPosted: Mon Apr 19, 2004 10:58 pm    Post subject: Squirrelmail issue: Error opening ../data/default_pref Reply with quote

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

I've already checked the FAQ, and Google.

in conf.pl I have this:

2. Data Directory : /var/www/localhost/htdocs/mail/data/
3. Attachment Directory : $data_dir

in /var/www/localhost/htdocs/mail/ I have this:

postal squirrelmail # ls -la
total 115
drwxr-xr-x 16 root root 640 Apr 7 22:03 .
drwxr-xr-x 4 root root 248 Apr 14 22:21 ..
-rw-r--r-- 1 root root 4751 Apr 7 22:03 AUTHORS
-rw-r--r-- 1 root root 15131 Apr 7 22:03 COPYING
-rw-r--r-- 1 root root 41947 Apr 7 22:03 ChangeLog
-rw-r--r-- 1 root root 7845 Apr 7 22:03 INSTALL
-rw-r--r-- 1 root root 2625 Apr 7 22:03 README
-rw-r--r-- 1 root root 3628 Apr 7 22:03 ReleaseNotes
-rw-r--r-- 1 root root 4708 Apr 7 22:03 UPGRADE
drwxr-xr-x 5 root root 216 Apr 7 22:03 class
drwxr-xr-x 2 root root 168 Apr 7 22:07 config
-rw-r--r-- 1 root root 92 Apr 7 22:03 configure
drwxr-xr-x 3 root root 72 Apr 7 22:03 contrib
drwxrwxrwx 2 apache apache 80 Apr 19 13:20 data
drwxr-xr-x 3 root root 544 Apr 7 22:03 doc
drwxr-xr-x 2 root root 1160 Apr 14 22:37 functions
drwxr-xr-x 28 root root 704 Apr 7 22:03 help
drwxr-xr-x 2 root root 960 Apr 7 22:03 images
drwxr-xr-x 3 root root 168 Apr 7 22:03 include
-rw-r--r-- 1 root root 338 Apr 7 22:03 index.php
drwxr-xr-x 43 root root 1096 Apr 7 22:03 locale
drwxr-xr-x 28 root root 960 Apr 14 22:32 plugins
drwxr-xr-x 2 root root 272 Apr 7 22:03 po
drwxr-xr-x 2 root root 1344 Apr 7 22:03 src
drwxr-xr-x 3 root root 1464 Apr 7 22:03 themes
postal squirrelmail #


I tried chmod 777 -R data just to (hopefully) eliminate permissions

In /data, I have this:

postal data # ls -laF
total 6
drwxrwxrwx 2 apache apache 80 Apr 19 13:20 ./
drwxr-xr-x 16 root root 640 Apr 7 22:03 ../
-rwxrwxrwx 1 apache apache 82 Apr 19 13:20 default.pref*
postal data #

This is SM 1.4.2
Gentoo Linux
Apache 1.3.29
mod_PHP 4.3.6

How can I fix this? It just started.. I think this cronjob had something to do with it:
#Remove cruft from squirrelmail
#0 3 * * * find /var/www/localhost/htdocs/squirrelmail/data -type f -mtime +1 -exec rm -f {} \;

Any advice? Thanks!

EDIT:
Nevermind, I'm dumb. I simply screwed up the file names.. default_pref vs default.pref - auugh
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum