Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Unknown: open(/var/lib/php5/sess_

Started by Muut Archive 11 years ago · 4 replies · 386 views
11 years ago

thanks for the response,

make sure PHP5 work correctly
yes PHP5 work like a charm

strange thing, grav create 3 session
1 - when I visit a site (domain.com)
2 - when I go to admin (domain.com/admin)
3 - after login
the sessions files 1 and 2 are owned by the right user (my user) and the right group: (psacln) so the server can access, rw
and the session 3 is owned by www-data with group www-data, which doesn't exist in my config so the server can't read nor write

note: psacln is a group for the server (this is a standard plesk config)

thanks

11 years ago

After double check, the user and group www-data was already created (but never used by no one of my sites, before grav, don't no why?)
from there the solution was simple
First I cleared all the sessions and the cache, then
1 - I added my user to the group www-data
2 - chmod g+w to the entire cache folder
and that's all!
the site work great :-)

11 years ago

Glad you got it sorted! Would of been a real bear for me to work out what was going on there :)

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1351 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4063 9 years ago
Archive · by Muut Archive, 9 years ago
1 2949 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago