squirrelmail doesn't work after online update of suse linux 9.3

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

squirrelmail doesn't work after online update of suse linux 9.3

by Bernd Schreiber :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

my Squirrelmail worked fine with Suse Linux 9.3. PHP 4, Imap, Postfix
and Appache. After an online update of Suse Linux 9.3 with upgrade
from PHP 4 to PHP 5 I got the following errors:

1. Squirrelmail configtest said:
SquirrelMail version: 1.4.10a
Config file version: 1.4.0
Config file last modified: 18 June 2008 09:52:24
Checking PHP configuration...
    PHP version 5.2.5 OK.
    PHP extensions OK.
Checking paths...

    ERROR: Data dir (/var/spool/squirrelmail/data/) does not exist!

but /var/spool/squirrelmail/data exists!!!

2. After login of the Squirrelmail web site I get the errors:
FEHLER
Fehler beim Öffnen von ../data/default_pref
Konnte initiale Einstellungsdatei nicht erstellen!
/var/spool/squirrelmail/data/ sollte vom Benutzer httpd beschreibbar sein
Kontaktieren Sie Ihren Administrator, um Hilfe zu erhalten.

or in english:
error in opening ../data/default_pref
/var/spool/squirrelmail/data/ should be writeable from user httpd

but it is.

I have Suse Linux 9.3 upgraded to Open Suse 10.3 but the errors are
the same.

Can you help me?

Yours sincerely
Bernd Schreiber
schreiber@...




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: squirrelmail doesn't work after online update of suse linux 9.3

by Roland Fritz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Bernd,

> my Squirrelmail worked fine with Suse Linux 9.3. PHP 4, Imap, Postfix
> and Appache. After an online update of Suse Linux 9.3 with upgrade
> from PHP 4 to PHP 5 I got the following errors:
>
> 1. Squirrelmail configtest said:
> SquirrelMail version: 1.4.10a
> Config file version: 1.4.0
> Config file last modified: 18 June 2008 09:52:24
> Checking PHP configuration...
>     PHP version 5.2.5 OK.
>     PHP extensions OK.
> Checking paths...
>
>     ERROR: Data dir (/var/spool/squirrelmail/data/) does not exist!
>
> but /var/spool/squirrelmail/data exists!!!
>
> 2. After login of the Squirrelmail web site I get the errors:
> FEHLER
> Fehler beim Öffnen von ../data/default_pref
> Konnte initiale Einstellungsdatei nicht erstellen!
> /var/spool/squirrelmail/data/ sollte vom Benutzer httpd beschreibbar sein
> Kontaktieren Sie Ihren Administrator, um Hilfe zu erhalten.
>
> or in english:
> error in opening ../data/default_pref
> /var/spool/squirrelmail/data/ should be writeable from user httpd
>
> but it is.
>
> I have Suse Linux 9.3 upgraded to Open Suse 10.3 but the errors are
> the same.
>
> Can you help me?
Try upgrading to version 1.4.13 , 1.4.10 is quite old. There should be no
issues with php4 vs. php5

Roland.
----
Roland Fritz



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: squirrelmail doesn't work after online update of suse linux 9.3

by Chris Hilts-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bernd Schreiber wrote:
| Hello,
|
| my Squirrelmail worked fine with Suse Linux 9.3. PHP 4, Imap, Postfix
| and Appache. After an online update of Suse Linux 9.3 with upgrade
| from PHP 4 to PHP 5 I got the following errors:
|
| 1. Squirrelmail configtest said:
| SquirrelMail version: 1.4.10a
| Config file version: 1.4.0
| Config file last modified: 18 June 2008 09:52:24
| Checking PHP configuration...
|     PHP version 5.2.5 OK.
|     PHP extensions OK.
| Checking paths...
|
|     ERROR: Data dir (/var/spool/squirrelmail/data/) does not exist!
|
| but /var/spool/squirrelmail/data exists!!!

Just out of curiousity, what is your PHP open_basedir setting?

- --
Chris Hilts
tassium@...
SquirrelMail Developer


Gun Control: Belief that violent predators willing to ignore laws
against robbery, kidnapping, rape, and murder
will obey a law telling them that they cannot do so with a gun.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)

iD8DBQFIWPVg98ixrK2vMtARAr4MAJ9HNOKNzZ0l3vrGqO5mPIxsb/lFngCcCrdA
gtQUa9i1uum4nX826Rsbkow=
=LiJW
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: squirrelmail doesn't work after online update of suse linux 9.3

by Bernd Schreiber :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Chris,

I have just installed Squirrelmail 1.4.15.

The errors are the same.

1. Squirrelmail configtest said:

SquirrelMail version: 1.4.15
Config file version: 1.4.0
Config file last modified: 18 June 2008 14:38:34
Checking PHP configuration...
    PHP version 5.2.5 OK.
    display_errors:
    error_reporting: 6143
    variables_order OK: GPCS.
    PHP extensions OK. Dynamic loading is disabled.
Checking paths...

    ERROR: Data dir (/var/spool/squirrelmail/data/) does not exist!

2. Squirrelmail login:
 Error opening ../data/default_pref
Could not create initial preference file!
/var/spool/squirrelmail/data/ should be writable by user httpd
Please contact your system administrator and report this error.

open_basedir is not set, safe_mode is off.

Bernd
schreiber@...




> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Bernd Schreiber wrote:
> | Hello,
> |
> | my Squirrelmail worked fine with Suse Linux 9.3. PHP 4, Imap, Postfix
> | and Appache. After an online update of Suse Linux 9.3 with upgrade
> | from PHP 4 to PHP 5 I got the following errors:
> |
> | 1. Squirrelmail configtest said:
> | SquirrelMail version: 1.4.10a
> | Config file version: 1.4.0
> | Config file last modified: 18 June 2008 09:52:24
> | Checking PHP configuration...
> |     PHP version 5.2.5 OK.
> |     PHP extensions OK.
> | Checking paths...
> |
> |     ERROR: Data dir (/var/spool/squirrelmail/data/) does not exist!
> |
> | but /var/spool/squirrelmail/data exists!!!
>
> Just out of curiousity, what is your PHP open_basedir setting?
>
> - --
> Chris Hilts
> tassium@...
> SquirrelMail Developer
>
>
> Gun Control: Belief that violent predators willing to ignore laws
> against robbery, kidnapping, rape, and murder
> will obey a law telling them that they cannot do so with a gun.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
>
> iD8DBQFIWPVg98ixrK2vMtARAr4MAJ9HNOKNzZ0l3vrGqO5mPIxsb/lFngCcCrdA
> gtQUa9i1uum4nX826Rsbkow=
> =LiJW
> -----END PGP SIGNATURE-----
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> -----
> squirrelmail-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-users@...
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
> List info (subscribe/unsubscribe/change options):
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>
>



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: squirrelmail doesn't work after online update of suse linux 9.3

by Roland Fritz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Bernd,

> I have just installed Squirrelmail 1.4.15.
>
> The errors are the same.
>
> 1. Squirrelmail configtest said:
>
> SquirrelMail version: 1.4.15
> Config file version: 1.4.0
> Config file last modified: 18 June 2008 14:38:34
> Checking PHP configuration...
>     PHP version 5.2.5 OK.
>     display_errors:
>     error_reporting: 6143
>     variables_order OK: GPCS.
>     PHP extensions OK. Dynamic loading is disabled.
> Checking paths...
>
>     ERROR: Data dir (/var/spool/squirrelmail/data/) does not exist!
>
> 2. Squirrelmail login:
>  Error opening ../data/default_pref
> Could not create initial preference file!
> /var/spool/squirrelmail/data/ should be writable by user httpd
> Please contact your system administrator and report this error.
>
> open_basedir is not set, safe_mode is off.

did you check the permissions on the data dir? It should be accessible by
the apache owner. Also please check if removing the trailing / changes
anything.

Roland.

----
Roland Fritz



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: squirrelmail doesn't work after online update of suse linux 9.3

by Bernd Schreiber :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I have just upgraded to Squirrelmail 1.4.15.
The errors are the same.

1. Squirrelmail configtest:

SquirrelMail version: 1.4.15
Config file version: 1.4.0
Config file last modified: 18 June 2008 14:38:34
Checking PHP configuration...
    PHP version 5.2.5 OK.
    display_errors:
    error_reporting: 6143
    variables_order OK: GPCS.
    PHP extensions OK. Dynamic loading is disabled.
Checking paths...

    ERROR: Data dir (/var/spool/squirrelmail/data/) does not exist!

2. Login to Squirrelmail:

ERROR
Error opening ../data/default_pref
Could not create initial preference file!
/var/spool/squirrelmail/data/ should be writable by user httpd

Bernd
schreiber@...




> Hi Bernd,
>
>> my Squirrelmail worked fine with Suse Linux 9.3. PHP 4, Imap, Postfix
>> and Appache. After an online update of Suse Linux 9.3 with upgrade
>> from PHP 4 to PHP 5 I got the following errors:
>>
>> 1. Squirrelmail configtest said:
>> SquirrelMail version: 1.4.10a
>> Config file version: 1.4.0
>> Config file last modified: 18 June 2008 09:52:24
>> Checking PHP configuration...
>>     PHP version 5.2.5 OK.
>>     PHP extensions OK.
>> Checking paths...
>>
>>     ERROR: Data dir (/var/spool/squirrelmail/data/) does not exist!
>>
>> but /var/spool/squirrelmail/data exists!!!
>>
>> 2. After login of the Squirrelmail web site I get the errors:
>> FEHLER
>> Fehler beim Öffnen von ../data/default_pref
>> Konnte initiale Einstellungsdatei nicht erstellen!
>> /var/spool/squirrelmail/data/ sollte vom Benutzer httpd beschreibbar
>> sein
>> Kontaktieren Sie Ihren Administrator, um Hilfe zu erhalten.
>>
>> or in english:
>> error in opening ../data/default_pref
>> /var/spool/squirrelmail/data/ should be writeable from user httpd
>>
>> but it is.
>>
>> I have Suse Linux 9.3 upgraded to Open Suse 10.3 but the errors are
>> the same.
>>
>> Can you help me?
> Try upgrading to version 1.4.13 , 1.4.10 is quite old. There should be no
> issues with php4 vs. php5
>
> Roland.
> ----
> Roland Fritz
>
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> -----
> squirrelmail-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-users@...
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
> List info (subscribe/unsubscribe/change options):
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>
>



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: squirrelmail doesn't work after online update of suse linux 9.3

by Bernd Schreiber :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

of course, I have checked the permissions of
/var/spool/squirrelmail/data/ directory.
Yesterday I set the permissions from /var/spool/squirrelmail/data/
to 777 to test it. The same error.
This problem is not easy to solve.

Bernd



> Hi Bernd,
>
>> I have just installed Squirrelmail 1.4.15.
>>
>> The errors are the same.
>>
>> 1. Squirrelmail configtest said:
>>
>> SquirrelMail version: 1.4.15
>> Config file version: 1.4.0
>> Config file last modified: 18 June 2008 14:38:34
>> Checking PHP configuration...
>>     PHP version 5.2.5 OK.
>>     display_errors:
>>     error_reporting: 6143
>>     variables_order OK: GPCS.
>>     PHP extensions OK. Dynamic loading is disabled.
>> Checking paths...
>>
>>     ERROR: Data dir (/var/spool/squirrelmail/data/) does not exist!
>>
>> 2. Squirrelmail login:
>>  Error opening ../data/default_pref
>> Could not create initial preference file!
>> /var/spool/squirrelmail/data/ should be writable by user httpd
>> Please contact your system administrator and report this error.
>>
>> open_basedir is not set, safe_mode is off.
>
> did you check the permissions on the data dir? It should be accessible by
> the apache owner. Also please check if removing the trailing / changes
> anything.
>
> Roland.
>
> ----
> Roland Fritz
>
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> -----
> squirrelmail-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-users@...
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
> List info (subscribe/unsubscribe/change options):
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>
>



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: squirrelmail doesn't work after online update of suse linux 9.3

by Paul Lesniewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Don't top-post, thanks.  Please read the mailing list posting
guidelines more carefully if you have any doubts.

>>> I have just installed Squirrelmail 1.4.15.
>>>
>>> The errors are the same.
>>>
>>> 1. Squirrelmail configtest said:
>>>
>>> SquirrelMail version:        1.4.15
>>> Config file version: 1.4.0
>>> Config file last modified:   18 June 2008 14:38:34
>>> Checking PHP configuration...
>>>     PHP version 5.2.5 OK.
>>>     display_errors:
>>>     error_reporting: 6143
>>>     variables_order OK: GPCS.
>>>     PHP extensions OK. Dynamic loading is disabled.
>>> Checking paths...
>>>
>>>     ERROR: Data dir (/var/spool/squirrelmail/data/) does not exist!
>>>
>>> 2. Squirrelmail login:
>>>  Error opening ../data/default_pref
>>> Could not create initial preference file!
>>> /var/spool/squirrelmail/data/ should be writable by user httpd
>>> Please contact your system administrator and report this error.
>>>
>>> open_basedir is not set, safe_mode is off.
>>
>> did you check the permissions on the data dir? It should be accessible by
>> the apache owner. Also please check if removing the trailing / changes
>> anything.
>
> of course, I have checked the permissions of
> /var/spool/squirrelmail/data/ directory.
> Yesterday I set the permissions from /var/spool/squirrelmail/data/
> to 777 to test it. The same error.
> This problem is not easy to solve.

What are the permissions on the files inside it?  Why don't you show a
listing of it here?  You should also check the permissions on all the
directories leading up to it to see that the web server can change
into them (usually means "other" has "x" permission on each
directory).

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: squirrelmail doesn't work after online update of suse linux 9.3

by Paul Carpenter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Paul Lesniewski wrote:

>>>> I have just installed Squirrelmail 1.4.15.
>>>>
>>>> The errors are the same.
>>>>
>>>> 1. Squirrelmail configtest said:
>>>>
>>>> SquirrelMail version:        1.4.15
>>>> Config file version: 1.4.0
>>>> Config file last modified:   18 June 2008 14:38:34
>>>> Checking PHP configuration...
>>>>     PHP version 5.2.5 OK.
>>>>     display_errors:
>>>>     error_reporting: 6143
>>>>     variables_order OK: GPCS.
>>>>     PHP extensions OK. Dynamic loading is disabled.
>>>> Checking paths...
>>>>
>>>>     ERROR: Data dir (/var/spool/squirrelmail/data/) does not exist!
>>>>
>>>> 2. Squirrelmail login:
>>>>  Error opening ../data/default_pref
>>>> Could not create initial preference file!
>>>> /var/spool/squirrelmail/data/ should be writable by user httpd

The important bit here being 'user httpd' are you sure the user/group
name for Apache has not changed during the Suse upgrade.

>>>> Please contact your system administrator and report this error.
>>>>
>>>> open_basedir is not set, safe_mode is off.
>>>
>>> did you check the permissions on the data dir? It should be accessible by
>>> the apache owner. Also please check if removing the trailing / changes
>>> anything.
>>
>> of course, I have checked the permissions of
>> /var/spool/squirrelmail/data/ directory.
>> Yesterday I set the permissions from /var/spool/squirrelmail/data/
>> to 777 to test it. The same error.
>> This problem is not easy to solve.
>
> What are the permissions on the files inside it?  Why don't you show a
> listing of it here?  You should also check the permissions on all the
> directories leading up to it to see that the web server can change
> into them (usually means "other" has "x" permission on each
> directory).

Not just permissions but the owner and group of the directories and
files, been caught by that one before.

--
Paul Carpenter          | paul@...
<http://www.pcserviceselectronics.co.uk/>    PC Services
<http://www.pcserviceselectronics.co.uk/fonts/> Timing Diagram Font
<http://www.gnuh8.org.uk/>  GNU H8 - compiler & Renesas H8/H8S/H8 Tiny
<http://www.badweb.org.uk/> For those web sites you hate

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: squirrelmail doesn't work after online update of suse linux 9.3

by Bernd Schreiber :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

The ownership of the Apache hasn't changed after Suse upgrade:

s1:/var/spool # ps -ef|grep httpd
root    5514     1  0 Jun18 ?  00:00:00 /usr/sbin/httpd2-prefork -f
/etc/apache2/httpd.conf
wwwrun  5515  5514  0 Jun18 ?  00:00:00 /usr/sbin/httpd2-prefork -f
/etc/apache2/httpd.conf
wwwrun  5516  5514  0 Jun18 ?  00:00:00 /usr/sbin/httpd2-prefork -f
/etc/apache2/httpd.conf

cat /etc/apache2/uid.conf
User wwwrun
Group www

The permissions of the following directories are also the
same as before:
s1:/var/spool/squirrelmail # ls -lisa
total 16
361261 4 drwxr-xr-x  4 wwwrun root 4096 Dec  6  2007 .
328322 4 drwxr-xr-x 16 root   root 4096 Dec  7  2007 ..
361263 4 drwxr-xr-x  2 wwwrun www  4096 Nov 14  2007 attachments
361262 4 drwxr-xr-x 29 wwwrun www  4096 Nov 15  2007 data

s1:/var/spool/squirrelmail/data # ls -lisa|more
total 288
361262 4 drwxr-xr-x 29 wwwrun www  4096 Nov 15  2007 .
361261 4 drwxr-xr-x  4 wwwrun root 4096 Dec  6  2007 ..
361701 4 -rw-------  1 wwwrun www    43 Mar  5  2007 .pref
361609 0 -rw-r--r--  1 wwwrun www     0 Feb 14  2007 schr.abook
361645 4 drwx-----T  2 wwwrun www  4096 Feb 19  2007 schr.gnupg
361574 4 -rw-------  1 wwwrun www   167 Nov 13  2007 schr.pref

Bernd
schreiber@...



> Paul Lesniewski wrote:
>>>>> I have just installed Squirrelmail 1.4.15.
>>>>>
>>>>> The errors are the same.
>>>>>
>>>>> 1. Squirrelmail configtest said:
>>>>>
>>>>> SquirrelMail version:        1.4.15
>>>>> Config file version: 1.4.0
>>>>> Config file last modified:   18 June 2008 14:38:34
>>>>> Checking PHP configuration...
>>>>>     PHP version 5.2.5 OK.
>>>>>     display_errors:
>>>>>     error_reporting: 6143
>>>>>     variables_order OK: GPCS.
>>>>>     PHP extensions OK. Dynamic loading is disabled.
>>>>> Checking paths...
>>>>>
>>>>>     ERROR: Data dir (/var/spool/squirrelmail/data/) does not exist!
>>>>>
>>>>> 2. Squirrelmail login:
>>>>>  Error opening ../data/default_pref
>>>>> Could not create initial preference file!
>>>>> /var/spool/squirrelmail/data/ should be writable by user httpd
>
> The important bit here being 'user httpd' are you sure the user/group
> name for Apache has not changed during the Suse upgrade.
>
>>>>> Please contact your system administrator and report this error.
>>>>>
>>>>> open_basedir is not set, safe_mode is off.
>>>>
>>>> did you check the permissions on the data dir? It should be accessible
>>>> by
>>>> the apache owner. Also please check if removing the trailing / changes
>>>> anything.
>>>
>>> of course, I have checked the permissions of
>>> /var/spool/squirrelmail/data/ directory.
>>> Yesterday I set the permissions from /var/spool/squirrelmail/data/
>>> to 777 to test it. The same error.
>>> This problem is not easy to solve.
>>
>> What are the permissions on the files inside it?  Why don't you show a
>> listing of it here?  You should also check the permissions on all the
>> directories leading up to it to see that the web server can change
>> into them (usually means "other" has "x" permission on each
>> directory).
>
> Not just permissions but the owner and group of the directories and
> files, been caught by that one before.
>
> --
> Paul Carpenter          | paul@...
> <http://www.pcserviceselectronics.co.uk/>    PC Services
> <http://www.pcserviceselectronics.co.uk/fonts/> Timing Diagram Font
> <http://www.gnuh8.org.uk/>  GNU H8 - compiler & Renesas H8/H8S/H8 Tiny
> <http://www.badweb.org.uk/> For those web sites you hate
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> -----
> squirrelmail-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-users@...
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
> List info (subscribe/unsubscribe/change options):
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>
>



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: squirrelmail doesn't work after online update of suse linux 9.3

by Helmut Hullen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hallo, Bernd,

Du (schreiber) meintest am 18.06.08:

> Checking paths...

>     ERROR: Data dir (/var/spool/squirrelmail/data/) does not exist!

> 2. Squirrelmail login:
>  Error opening ../data/default_pref
> Could not create initial preference file!
> /var/spool/squirrelmail/data/ should be writable by user httpd
> Please contact your system administrator and report this error.


What tells

        ls -ld /var/spool/squirrelmail
        ls -ld /var/spool/squirrelmail/data

Viele Gruesse!
Helmut

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: squirrelmail doesn't work after online update of suse linux 9.3

by Helmut Hullen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hallo, Bernd,

Du (schreiber) meintest am 19.06.08:

> The ownership of the Apache hasn't changed after Suse upgrade:

> cat /etc/apache2/uid.conf
> User wwwrun
> Group www

> The permissions of the following directories are also the
> same as before:
> s1:/var/spool/squirrelmail # ls -lisa
> total 16
> 361261 4 drwxr-xr-x  4 wwwrun root 4096 Dec  6  2007 .
> 328322 4 drwxr-xr-x 16 root   root 4096 Dec  7  2007 ..
> 361263 4 drwxr-xr-x  2 wwwrun www  4096 Nov 14  2007 attachments
> 361262 4 drwxr-xr-x 29 wwwrun www  4096 Nov 15  2007 data


You had cited:

>     ERROR: Data dir (/var/spool/squirrelmail/data/) does not exist!

ok - it exists.
And belongs to wwwrun:www

> 2. Squirrelmail login:
>  Error opening ../data/default_pref
> Could not create initial preference file!
> /var/spool/squirrelmail/data/ should be writable by user httpd

"user httpd" seems to be wrong.


[TOFU deleted]

Viele Gruesse!
Helmut

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: squirrelmail doesn't work after online update of suse linux 9.3

by Paul Carpenter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bernd Schreiber wrote:

> Hello,
>
> The ownership of the Apache hasn't changed after Suse upgrade:
>
> s1:/var/spool # ps -ef|grep httpd
> root    5514     1  0 Jun18 ?  00:00:00 /usr/sbin/httpd2-prefork -f
> /etc/apache2/httpd.conf
> wwwrun  5515  5514  0 Jun18 ?  00:00:00 /usr/sbin/httpd2-prefork -f
> /etc/apache2/httpd.conf
> wwwrun  5516  5514  0 Jun18 ?  00:00:00 /usr/sbin/httpd2-prefork -f
> /etc/apache2/httpd.conf
>
> cat /etc/apache2/uid.conf
> User wwwrun
> Group www

OK so they are the same, but the error says 'user httpd'.

> The permissions of the following directories are also the
> same as before:
> s1:/var/spool/squirrelmail # ls -lisa
> total 16
> 361261 4 drwxr-xr-x  4 wwwrun root 4096 Dec  6  2007 .
> 328322 4 drwxr-xr-x 16 root   root 4096 Dec  7  2007 ..
> 361263 4 drwxr-xr-x  2 wwwrun www  4096 Nov 14  2007 attachments
> 361262 4 drwxr-xr-x 29 wwwrun www  4096 Nov 15  2007 data
>
> s1:/var/spool/squirrelmail/data # ls -lisa|more
> total 288
> 361262 4 drwxr-xr-x 29 wwwrun www  4096 Nov 15  2007 .
> 361261 4 drwxr-xr-x  4 wwwrun root 4096 Dec  6  2007 ..
> 361701 4 -rw-------  1 wwwrun www    43 Mar  5  2007 .pref
> 361609 0 -rw-r--r--  1 wwwrun www     0 Feb 14  2007 schr.abook
> 361645 4 drwx-----T  2 wwwrun www  4096 Feb 19  2007 schr.gnupg
> 361574 4 -rw-------  1 wwwrun www   167 Nov 13  2007 schr.pref

There is NO file 'default_pref' which the error refers to.
Either you have moved the data and attachment directories to
/var/spool/squirrelmail from the installation directories
or some other effect has happened from the update removing the file.

Locate default_pref (or even off a backup). Copy it to
/var/spool/squirrelmail/data.

Your squirrelmail installation is also set to wwwrun & www?

> Bernd
> schreiber@...
>
>
>
>> Paul Lesniewski wrote:
>>>>>> I have just installed Squirrelmail 1.4.15.
>>>>>>
>>>>>> The errors are the same.
>>>>>>
>>>>>> 1. Squirrelmail configtest said:
>>>>>>
>>>>>> SquirrelMail version:        1.4.15
>>>>>> Config file version: 1.4.0
>>>>>> Config file last modified:   18 June 2008 14:38:34
>>>>>> Checking PHP configuration...
>>>>>>     PHP version 5.2.5 OK.
>>>>>>     display_errors:
>>>>>>     error_reporting: 6143
>>>>>>     variables_order OK: GPCS.
>>>>>>     PHP extensions OK. Dynamic loading is disabled.
>>>>>> Checking paths...
>>>>>>
>>>>>>     ERROR: Data dir (/var/spool/squirrelmail/data/) does not exist!
>>>>>>
>>>>>> 2. Squirrelmail login:
>>>>>>  Error opening ../data/default_pref
>>>>>> Could not create initial preference file!
>>>>>> /var/spool/squirrelmail/data/ should be writable by user httpd
>>
>> The important bit here being 'user httpd' are you sure the user/group
>> name for Apache has not changed during the Suse upgrade.
>>
......
--
Paul Carpenter          | paul@...
<http://www.pcserviceselectronics.co.uk/>    PC Services
<http://www.pcserviceselectronics.co.uk/fonts/> Timing Diagram Font
<http://www.gnuh8.org.uk/>  GNU H8 - compiler & Renesas H8/H8S/H8 Tiny
<http://www.badweb.org.uk/> For those web sites you hate

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: squirrelmail doesn't work after online update of suse linux 9.3

by Bernd Schreiber :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Helmut,

you wrote
>> 2. Squirrelmail login:
>>  Error opening ../data/default_pref
>> Could not create initial preference file!
>> /var/spool/squirrelmail/data/ should be writable by user httpd
>
> "user httpd" seems to be wrong.
>

I couldn't find in any configuration file a user httpd. I think the
user httpd is the owner of the apache server with the owne