Hi everyone...
After using custombuild, to update to php5 (CLI) / Apache 2
i have webmail that doesn't function anymore...
I have indeed following errors :
Ok so problem with /tmp session directory.
Made some checks :
- /tmp : chmod is 777 - owner : 0 - group : 0
- sess_x : are chmod 600 - owner : x - group : x owner / group correspond to webuser account and group.
- webmail is run under owner : webmail group : webmail
How do i cope this case so that tmp session files are readable for all webusers, and also other web applications (webmail, phpmyadmin and other roundcube and squirrelmail).
How do i cope new files readable writable by all necessary users ???
Is there something to check with umask ??? (and if yes what ???)
Thanks for your help
After using custombuild, to update to php5 (CLI) / Apache 2
i have webmail that doesn't function anymore...
I have indeed following errors :
Code:
[Tue May 06 14:04:00 2008] [error] [client ] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/tmp/sess_0j3vtsc0gt0721he2bhok02tg5, O_RDWR) failed: Permission denied (13) in /var/www/html/webmail/inc/inc.php on line 21, referer: http://domain.tdl/webmail/
[Tue May 06 14:04:00 2008] [error] [client ] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/tmp/sess_0j3vtsc0gt0721he2bhok02tg5, O_RDWR) failed: Permission denied (13) in /var/www/html/webmail/inc/inc.php on line 21, referer: http://domain.tdl/webmail/
[Tue May 06 14:04:12 2008] [error] [client ] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/tmp/sess_0j3vtsc0gt0721he2bhok02tg5, O_RDWR) failed: Permission denied (13) in /var/www/html/webmail/inc/inc.php on line 21, referer: http://domain.tdl/webmail/index.php?tid=outlook&lid=fr
[Tue May 06 14:04:55 2008] [error] [client ] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/tmp/sess_0j3vtsc0gt0721he2bhok02tg5, O_RDWR) failed: Permission denied (13) in /var/www/html/webmail/inc/inc.php on line 21, referer: http://domain.tdl/webmail/index.php?tid=outlook&lid=fr
[Tue May 06 14:04:55 2008] [error] [client ] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/tmp/sess_0j3vtsc0gt0721he2bhok02tg5, O_RDWR) failed: Permission denied (13) in /var/www/html/webmail/inc/inc.php on line 21, referer: http://domain.tdl/webmail/index.php?tid=outlook&lid=fr
[Tue May 06 14:05:01 2008] [error] [client ] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/tmp/sess_0j3vtsc0gt0721he2bhok02tg5, O_RDWR) failed: Permission denied (13) in /var/www/html/webmail/inc/inc.php on line 21, referer: http://domain.tdl/webmail/index.php?tid=outlook&lid=fr
[Tue May 06 14:05:01 2008] [error] [client ] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/tmp/sess_0j3vtsc0gt0721he2bhok02tg5, O_RDWR) failed: Permission denied (13) in /var/www/html/webmail/inc/inc.php on line 21, referer: http://domain.tdl/webmail/index.php?tid=outlook&lid=fr
[Tue May 06 14:05:07 2008] [error] [client ] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/tmp/sess_0j3vtsc0gt0721he2bhok02tg5, O_RDWR) failed: Permission denied (13) in /var/www/html/webmail/inc/inc.php on line 21, referer: http://domain.tdl/webmail/index.php?tid=outlook&lid=fr
[Tue May 06 14:05:07 2008] [error] [client ] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/tmp/sess_0j3vtsc0gt0721he2bhok02tg5, O_RDWR) failed: Permission denied (13) in /var/www/html/webmail/inc/inc.php on line 21, referer: http://domain.tdl/webmail/index.php?tid=outlook&lid=fr
Ok so problem with /tmp session directory.
Made some checks :
- /tmp : chmod is 777 - owner : 0 - group : 0
- sess_x : are chmod 600 - owner : x - group : x owner / group correspond to webuser account and group.
- webmail is run under owner : webmail group : webmail
How do i cope this case so that tmp session files are readable for all webusers, and also other web applications (webmail, phpmyadmin and other roundcube and squirrelmail).
How do i cope new files readable writable by all necessary users ???
Is there something to check with umask ??? (and if yes what ???)
Thanks for your help