[horde] session_start is throwing an error
Mike Poznecki
poz_sa at yahoo.com
Wed Apr 18 15:29:10 UTC 2018
On Wednesday, April 18, 2018, 10:24:22 AM CDT, Patrick Boutilier <boutilpj at ednet.ns.ca> wrote:
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
Yes it does
More information about the horde
mailing list