1

I try to install Mage 2 to my Ubuntu, Apache2, PHP7, MySql. First time a had error binded with not installed memcached. I have installed it. Then i have:

1 exception(s):
Exception #0 (Exception): Warning: SessionHandler::read(): Write of lock failed in /var/www/magento2.ubu/vendor/magento/framework/Session/SaveHandler/Native.php on line 22

May be someone has solution to this? Thanks

3

It seems like memcache is not properly configured. This may be permission issue. If you just want your instance to run try first changing session to files in app/etc/env.php

return array(
    ...
    'session' =>
        array(
            'save' => 'files',
        ),
    ...
);
  • I've done as you suggest, and i have: 1 exception(s): Exception #0 (Exception): Warning: SessionHandler::read(): open(var/www/magento2.ubu/var/session/sess_mmo542ludc7mpbtkimtegl43g3, O_RDWR) failed: No such file or directory (2) in /var/www/magento2.ubu/vendor/magento/framework/Session/SaveHandler/Native.php on line 22 – Nick Jun 10 '17 at 8:50
  • I resolve it like was here magento.stackexchange.com/questions/125264/… – Nick Jun 10 '17 at 9:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.