Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.

/usr/local/var/lib/hhvm/sessions/{session_id}: No such file or directory #71

Open
farizluqman opened this issue Jan 31, 2017 · 1 comment

Comments

@farizluqman
Copy link

farizluqman commented Jan 31, 2017

Description

Problem: Directory not found (/usr/local/var/lib/hhvm/sessions/) when attempting to create a session.

Context and Logs

Farizs-MacBook-Air:libexec farizluqman$ hhvm --mode server -d hhvm.server.type=fastcgi -d hhvm.server.port=9000
\nWarning: open(/usr/local/var/lib/hhvm/sessions/sess_94d4333d93936d7dd0a387c1832ca8db, O_RDWR) failed: No such file or directory (2) in /Users/farizluqman/Sites/htdocs/project/vendor/cartalyst/sentinel/src/Sessions/NativeSession.php on line 90
\nWarning: open(/usr/local/var/lib/hhvm/sessions/sess_94d4333d93936d7dd0a387c1832ca8db, O_RDWR) failed: No such file or directory (2)
\nWarning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/usr/local/var/lib/hhvm/sessions)
\nWarning: open(/usr/local/var/lib/hhvm/sessions/sess_94d4333d93936d7dd0a387c1832ca8db, O_RDWR) failed: No such file or directory (2) in /Users/farizluqman/Sites/htdocs/project/vendor/cartalyst/sentinel/src/Sessions/NativeSession.php on line 90
\nWarning: open(/usr/local/var/lib/hhvm/sessions/sess_94d4333d93936d7dd0a387c1832ca8db, O_RDWR) failed: No such file or directory (2)
\nWarning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/usr/local/var/lib/hhvm/sessions)

Possible Solution

Create directory /usr/local/var/lib/hhvm/sessions/. Perhaps other use need it too?
(I created it and it solved the problem for me. Is this too specific to me or needed to put in the installer?)

@rawnly
Copy link

rawnly commented May 19, 2017

I had the same problem, I've also (as you) created the directory and it solved.. i think it needs to be in the installer

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants