HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Squirrelmail - login error (http://www.howtoforge.com/forums/showthread.php?t=3771)

Hans 18th April 2006 09:27

Squirrelmail - login error
 
On my Debian system with ISPConfig installed, i have installed Squirrelmail.
I have created a website webmail.mywebhostcompany.tld and Squirrelmail is installed in this website.

In my browser: when i point to URL http://webmail.mywebhostcompany.tld, i see Squirrelmail's login screen.

When i try to login for the first time with a username and password, an error occurs:


Error opening ../data/default_pref
Could not create initial preference file!
../data/ should be writable by user www-data
Please contact your system administrator and report this error.


How can i solve this?



Hans

falko 18th April 2006 10:40

Can you post the output of
Code:

ls -la /path/to/data
?

Hans 18th April 2006 10:56

I do not understand, but when i do an ls -la /path/to/data

The system replies: No such file or directory



To install Squirrelmail i did the following:

-I extracted Squirrelmail 1.4.6 in website http://webmail.myhostcompany.tld/
-I did not change essential things using the Perl command conf.pl
-I only checked if Courier was selected for IMAP.

Are there more steps to take to get Squirrelmail working?


Hans

falko 18th April 2006 11:44

Quote:

Originally Posted by Hans
I do not understand, but when i do an ls -la /path/to/data

The system replies: No such file or directory

You must replace /path/to/data with the real path.

Hans 18th April 2006 13:04

Falko,

I have changed that to /var/www/webmail.myhostcompany.tld/web/data
which is Squirrelmail's data directory.

I have tried to log in again at http://webmail.myhostcompany.tld

Now the error occurs:

Error opening /var/www/webmail.myhostcompany.tld/web/data/default_pref
Could not create initial preference file!
/var/www/webmail.myhostcompany.tld/web/data/ should be writable by user www-data
Please contact your system administrator and report this error.

Has this something to do with read/write access?
And if so, how do i change this?
Or is there something else wrong?

I suppose that i am almost there ...

Hans

Hans 18th April 2006 22:24

Problem solved
 
Hey there!

I want everyone to know that i do not need help about this thread anymore.

I discovered that PHP-safemode was ON...
After turning this OFF, i could log in.

Hans :)


All times are GMT +2. The time now is 01:18.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.