Re: squirrelmail fails to start

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

 





> It seems the iptables blocking the connection !!!
> 
>> >> Please explain term "hanging" or check your logs. Web server
>> crashes,
>> >> redirects browser to some unknown site or does something else?
>> >
>> >
>> > It hangs there for sometimes then popup;
>> > The connection has timed out
>> > The server at localhost is taking too long to respond.
>> 
>> Something is dropping connections to localhost or you have your
>> networking misconfigured.
> 
> 
> $ sudo iptables -F
> 
> 
> $ telnet localhost 143
> Trying 127.0.0.1...
> Connected to localhost.localdomain.
> Escape character is '^]'.
> * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
> THREAD=ORDEREDSUBJECT THRE
> AD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP
> ready. Copyr
> ight 1998-2005 Double Precision, Inc.  See COPYING for distribution
> information.
> 
> 
> On firefox;
> 
> http://localhost/squirrelmail
> 
> starts;
> Squirrelmail
> 
> URL changes to;
> http://localhost/squirrelmail/src/redirect.php
> 
> 
> On login following warning popup;
> ERROR
> Error opening ../data/default_pref
> Could not create initial preference file!
> /var/local/squirrelmail/data/ should be writable by user www-data
> Please contact your system administrator and report this error.
> * end *
> 
> $ ls -l /var/local/
> total 0
> 
> 
> Shall I create /var/local/squirrelmail/data
> ???
> 
> What will be their permission?
> 

Directory must be writable by web server.

If you are not using PHP safe_mode, it should be owned by www-data, group =
www-data, permissions = 0750. If you are using PHP safe_mode, directory
should be owned by same user that owns other SquirrelMail scripts, group =
www-data, permissions 0770

mkdir /var/local/squirrelmail/data
chown www-data:www-data /var/local/squirrelmail/data
chmod 0750 /var/local/squirrelmail/data

same thing applies to attachment directory.

-- 
Tomas
-- 
View this message in context: http://www.nabble.com/squirrelmail-fails-to-start-tf4937676.html#a14156652
Sent from the squirrelmail-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
-----
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