Re: Can't find existing Data dir on Fedora 15

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/01/2011 01:13 AM, Tomas Kuliavas wrote:
> sean darcy<seandarcy2<at>  gmail.com>  writes:
>
>>
>> On 10/31/2011 01:21 AM, Tomas Kuliavas wrote:
>> ........
>>
>> Thanks for the response.
>>
>> [root<at>  mailserver home]# ls -ld /home/vmail/squirrelmail
>> drwxrwxrwx. 4 apache apache 4096 Oct 29 20:14 /home/vmail/squirrelmail
>> [root<at>  mailserver home]# ls -ld /home/vmail
>> drwx------. 10 vmail vmail 4096 Oct 30 01:40 /home/vmail
>> [root<at>  mailserver home]# ls -ld /home
>> drwxr-xr-x. 7 root root 4096 Oct 21 19:23 /home
>
> rwx------. 10 vmail vmail 4096 Oct 30 01:40 /home/vmail
>
> SquirrelMail can't read parent directory. If users can't read /home/vmail,
> they can't read /home/vmail/squirrelmail.
>
> Attachment directory is used only for temporary data. Set it to /tmp. That
> way data will be housekept according to your server's temp data housekeeping
> policies.
>
> Set data directory to /var/local/squirrelmail or other directory outside of
> /home/vmail. Data directory is not related to your mail store. It holds
> application specific user preferences.
>
> If you want to simplify data backup procedures on your server, consider using
> DB to store SquirrelMail user preferences and address books.
>
Thanks for the reply.

I followed your suggestions, and I got closer.

ls -ld /var/local/squirrelmail/
drwx-wx---. 4 root apache 4096 Nov  2 17:56 /var/local/squirrelmail/
[root@mailserver var]# ls -l /var/local/squirrelmail/
total 8
drwx-wx---. 2 root apache 4096 Nov  2 17:56 data
drwx-wx---. 2 root apache 4096 Nov  2 17:56 tmp

SquirrelMail configtest

This script will try to check some aspects of your SquirrelMail 
configuration and point you to errors whereever it can find them. You 
need to go run conf.pl in the config/ directory first before you run 
this script.

SquirrelMail version:	1.4.22-2.fc15
Config file version:	1.4.0
Config file last modified:	02 November 2011 17:59:25
....................

Checking paths...
     Data dir OK.
     Attachment dir OK.
     Plugins OK.
     Themes OK.
     Default language OK.
     Base URL detected as: https://nhi-webserver/webmail/src (location 
base autodetected)
Checking outgoing mail service....
     sendmail OK
Checking IMAP service....
     IMAP server ready (* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR 
LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN] Dovecot ready.)
     Capabilities: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR 
LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN
Checking internationalization (i18n) settings...
      gettext - Gettext functions are available. On some systems you 
must have appropriate system locales compiled.
      mbstring - Mbstring functions are available.
      recode - Recode functions are unavailable.
      iconv - Iconv functions are available.
      timezone - Webmail users can change their time zone settings.
Checking database functions...
     not using database functionality.
Congratulations, your SquirrelMail setup looks fine to me!


BUT, on login:

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

grep safe_mod /etc/php.ini | grep -v \;
safe_mode = Off
safe_mode_gid = Off
safe_mode_include_dir =
safe_mode_exec_dir =
safe_mode_allowed_env_vars = PHP_
safe_mode_protected_env_vars = LD_LIBRARY_PATH
sql.safe_mode = Off


I then touch 'd  data/default_pref. Permissions 730 did not work, 750 did.

sean



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux