Hi,

Olivier Berger:
> Can you elaborate a little bit on what's happening exactly (logs,
> permissions of files/dirs) ?

sure. The machine is running lenny, Debian kernel 2.6.24-1-686, no frills. On 
Monday (i.e. two days ago) I upgraded, installing the new phpgroupware:

# dpkg -l | grep phpgroupware
rc  phpgroupware                         0.9.16.012+dfsg-1                web 
based groupware system written in PHP
ii  phpgroupware-0.9.16-admin            1:0.9.16.012+dfsg-2              
phpGroupWare administration module
ii  phpgroupware-0.9.16-calendar         1:0.9.16.012+dfsg-2              
phpGroupWare calendar management module
ii  phpgroupware-0.9.16-core-base        1:0.9.16.012+dfsg-2              Base 
components of the phpGroupware "applica
ii  phpgroupware-0.9.16-doc              1:0.9.16.012+dfsg-2              
Documentation of phpGroupware 0.9.16
ii  phpgroupware-0.9.16-manual           1:0.9.16.012+dfsg-2              
phpGroupWare on-line manual module
ii  phpgroupware-0.9.16-phpgwapi         1:0.9.16.012+dfsg-2              
library of common phpGroupWare functions
ii  phpgroupware-0.9.16-preferences      1:0.9.16.012+dfsg-2              
phpGroupWare preferences management module
ii  phpgroupware-0.9.16-setup            1:0.9.16.012+dfsg-2              
phpGroupWare setup III module

(configuration files of the old phpgroupware still exist; maybe that's the 
source of the problem). I also tested the new installation with a test 
account. Everything worked just fine.

Today, a colleague restarted the machine and phpgroupware stopped working: 
when trying to log in, the error message

Your session could not be verified

appeared. The corresponding apache2 error log messages looked like

[Wed Apr 16 14:55:35 2008] [error] [client X.X.X.X] PHP Warning:  
session_start() [<a 
href='function.session-start'>function.session-start</a>]: 
open(/var/lib/phpgroupware/sessions/sess_a919fffee984f34236ae320f3bc67123, 
O_RDWR) failed: Permission denied (13) 
in /usr/share/phpgroupware/phpgwapi/inc/class.sessions_php4.inc.php on line 
44, referer: https://our.phpgroupware.host/phpgroupware/login.php

[Wed Apr 16 14:55:35 2008] [error] [client X.X.X.X] PHP Warning:  Unknown: 
Failed to write session data (files). Please verify that the current setting 
of session.save_path is correct (/var/lib/phpgroupware/sessions) in Unknown 
on line 0, referer: https://our.phpgroupware.host/phpgroupware/login.php

I checked the BTS and found #327249. Doing a

chmod -R www-data.www-data /var/lib/phpgroupware

immediately solved the problem, so I marked the bug as found. Previous 
permissions were root.root.


HTH & regards,
Alexander




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to