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?)
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?)