[horde] session_start is throwing an error

Patrick Boutilier boutilpj at ednet.ns.ca
Wed Apr 18 15:24:13 UTC 2018


On 04/18/2018 12:20 PM, Mike Poznecki wrote:
> 
> 
> On Wednesday, April 18, 2018, 10:18:13 AM CDT, Patrick Boutilier 
> <boutilpj at ednet.ns.ca> wrote:
> 
> 
> On 04/18/2018 12:11 PM, Mike Poznecki wrote:
> 
>  >
>  >
>  > On Wednesday, April 18, 2018, 9:41:33 AM CDT, Patrick Boutilier
>  > <boutilpj at ednet.ns.ca <mailto:boutilpj at ednet.ns.ca>> wrote:
>  >
>  >
>  > On 04/18/2018 11:39 AM, Mike Poznecki wrote:
>  >
>  >  > Hi all,  I have a new Horde install.  When I try to log in, I get
>  > HORDE: PHP ERROR: session_start():
>  > open(/var/lib/php/session/sess_5skahi3sno28lsa, 0_RDWR) failed: No such
>  > file or directory (2) [PID 3821 on line 204 of
>  > "/usr/share/pear/Horde/Session.php"]
>  >  > Why would I be getting this error?
>  >
>  >  >
>  >
>  > Does the /var/lib/php/session directory exist? If so, can the user that
>  > the web server runs as write to the directory?
>  >
>  >
>  >
>  > Yes, the directory exist and has permissions of 770.  So it should be
>  > able to be written to and read from.
> 
> 
> 
> Only if the web server user is the owner of the directory or is part of
> the group that owns the directory.
> 
> What does this command show?
> 
> ls -ld /var/lib/php/session
> 
> 
> 
> 
> 
> It shows:
> drwxrwx---  2  root  apache  8192 Apr 18 07:33  /var/lib/php/session/
> 
> 
> 
> 
> 
> 
> 

As long Apache is running as group apache that should work.

Does this create the file TEST in /var/lib/php/session ?

sudo -u apache touch /var/lib/php/session/TEST



-------------- next part --------------
A non-text attachment was scrubbed...
Name: boutilpj.vcf
Type: text/x-vcard
Size: 286 bytes
Desc: not available
URL: <https://lists.horde.org/archives/horde/attachments/20180418/43efb911/attachment-0001.vcf>


More information about the horde mailing list