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

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

 



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@xxxxxxxxxxxxxx
> 
> 
> 
>> 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@xxxxxxxxxxxxxxxxxxxxxxxxxxx
<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@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