[GH-ISSUE #86] Permission denied (13) #65

Closed
opened 2026-02-26 09:35:35 +03:00 by kerem · 1 comment
Owner

Originally created by @unixtime on GitHub (May 16, 2014).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/86

Updates with composer.

composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Updating smarty/smarty (v3.1.17 => v3.1.18)
    Checking out /tags/v3.1.18/@4839


▽
  - Updating zendframework/zendframework1 dev-master (f7a0e0e => c660ec2)

▽
    #   approach is that mod_ssl sends the close notify alert but doesn't wait for
    Checking out c660ec21442b6cd03efdd6cb6c8a3500dbb4ad42

  - Updating doctrine/collections dev-master (b99c5c4 => 97475b2)
    Checking out 97475b2761f22cd9817c135283ad1079543a4586

  - Updating doctrine/dbal dev-master (d2f081d => 0df1886)
    Checking out 0df188624892ecc58751b3f7720c364dac99f998

  - Updating symfony/console dev-master (d12686c => 50be4f3)
    Checking out 50be4f30d0a93404e5d62b05fd7294492cf64c4f

  - Updating doctrine/orm dev-master (7a30547 => 47ca100)
    Checking out 47ca10076b19ce2da1a17e24a963bdf42a18a723

Writing lock file
Generating autoload files

Now I am getting the following error:


[Thu May 15 23:44:19.880793 2014] [:error] [pid 3820] [client xx.xx.xx.xx167] PHP Fatal error:  Uncaught exception 'Zend_Session_Exception' with message 'Zend_Session::start() - /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Session.php(Line:482): Error #8 session_start(): ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13)' in /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Session.php:495\nStack trace:\n#0 /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Session/Namespace.php(143): Zend_Session::start(true)\n#1 /srv/vimbadmin/vendor/opensolutions/oss-framework/src/OSS/Resource/Namespace.php(81): Zend_Session_Namespace->__construct('Application')\n#2 /srv/vimbadmin/vendor/opensolutions/oss-framework/src/OSS/Resource/Namespace.php(63): OSS_Resource_Namespace->getSession()\n#3 /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/BootstrapAbstract.php(695): OSS_Resource_Namespace->init()\n#4 /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/BootstrapAbstract.php(638): Zend in /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Session.php on line 495

Using Ubuntu 14.04
Permissions in the directories still the same.

drwxr-xr-x 11 root     root      4096 Apr 30 17:06 ./
drwxr-xr-x 10 root     root      4096 May 10 09:42 ../
drwxr-xr-x 10 root     root      4096 Apr 30 17:04 application/
drwxr-xr-x  3 root     root      4096 Apr 30 17:04 bin/
-rw-r--r--  1 root     root      9011 Apr 30 17:04 CHANGELOG
-rw-r--r--  1 root     root      1286 Apr 30 17:04 composer.json
-rw-r--r--  1 root     root     29915 May 15 23:38 composer.lock
drwxr-xr-x  3 root     root      4096 Apr 30 17:04 data/
drwxr-xr-x  3 root     root      4096 Apr 30 17:04 doctrine2/
drwxr-xr-x  8 root     root      4096 Apr 30 17:04 .git/
-rw-r--r--  1 root     root       591 Apr 30 17:04 .gitignore
drwxr-xr-x  3 root     root      4096 Apr 30 17:04 library/
-rw-r--r--  1 root     root     35147 Apr 30 17:04 LICENSE
drwxr-xr-x  6 root     root      4096 Apr 30 18:53 public/
-rw-r--r--  1 root     root      1127 Apr 30 17:04 README.md
-rw-r--r--  1 root     root      2329 Apr 30 17:04 UPDATING
drwxr-xr-x  7 www-data www-data  4096 Apr 30 17:04 var/
drwxr-xr-x 10 root     root      4096 May 15 23:38 vendor/
Originally created by @unixtime on GitHub (May 16, 2014). Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/86 <h3>Updates with composer.</h3> <pre> composer update Loading composer repositories with package information Updating dependencies (including require-dev) - Updating smarty/smarty (v3.1.17 => v3.1.18) Checking out /tags/v3.1.18/@4839 ▽ - Updating zendframework/zendframework1 dev-master (f7a0e0e => c660ec2) ▽ # approach is that mod_ssl sends the close notify alert but doesn't wait for Checking out c660ec21442b6cd03efdd6cb6c8a3500dbb4ad42 - Updating doctrine/collections dev-master (b99c5c4 => 97475b2) Checking out 97475b2761f22cd9817c135283ad1079543a4586 - Updating doctrine/dbal dev-master (d2f081d => 0df1886) Checking out 0df188624892ecc58751b3f7720c364dac99f998 - Updating symfony/console dev-master (d12686c => 50be4f3) Checking out 50be4f30d0a93404e5d62b05fd7294492cf64c4f - Updating doctrine/orm dev-master (7a30547 => 47ca100) Checking out 47ca10076b19ce2da1a17e24a963bdf42a18a723 Writing lock file Generating autoload files </pre> Now I am getting the following error: <pre> [Thu May 15 23:44:19.880793 2014] [:error] [pid 3820] [client xx.xx.xx.xx167] PHP Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'Zend_Session::start() - /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Session.php(Line:482): Error #8 session_start(): ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13)' in /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Session.php:495\nStack trace:\n#0 /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Session/Namespace.php(143): Zend_Session::start(true)\n#1 /srv/vimbadmin/vendor/opensolutions/oss-framework/src/OSS/Resource/Namespace.php(81): Zend_Session_Namespace->__construct('Application')\n#2 /srv/vimbadmin/vendor/opensolutions/oss-framework/src/OSS/Resource/Namespace.php(63): OSS_Resource_Namespace->getSession()\n#3 /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/BootstrapAbstract.php(695): OSS_Resource_Namespace->init()\n#4 /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/BootstrapAbstract.php(638): Zend in /srv/vimbadmin/vendor/zendframework/zendframework1/library/Zend/Session.php on line 495 </pre> Using Ubuntu 14.04 Permissions in the directories still the same. <pre> drwxr-xr-x 11 root root 4096 Apr 30 17:06 ./ drwxr-xr-x 10 root root 4096 May 10 09:42 ../ drwxr-xr-x 10 root root 4096 Apr 30 17:04 application/ drwxr-xr-x 3 root root 4096 Apr 30 17:04 bin/ -rw-r--r-- 1 root root 9011 Apr 30 17:04 CHANGELOG -rw-r--r-- 1 root root 1286 Apr 30 17:04 composer.json -rw-r--r-- 1 root root 29915 May 15 23:38 composer.lock drwxr-xr-x 3 root root 4096 Apr 30 17:04 data/ drwxr-xr-x 3 root root 4096 Apr 30 17:04 doctrine2/ drwxr-xr-x 8 root root 4096 Apr 30 17:04 .git/ -rw-r--r-- 1 root root 591 Apr 30 17:04 .gitignore drwxr-xr-x 3 root root 4096 Apr 30 17:04 library/ -rw-r--r-- 1 root root 35147 Apr 30 17:04 LICENSE drwxr-xr-x 6 root root 4096 Apr 30 18:53 public/ -rw-r--r-- 1 root root 1127 Apr 30 17:04 README.md -rw-r--r-- 1 root root 2329 Apr 30 17:04 UPDATING drwxr-xr-x 7 www-data www-data 4096 Apr 30 17:04 var/ drwxr-xr-x 10 root root 4096 May 15 23:38 vendor/ </pre>
kerem closed this issue 2026-02-26 09:35:35 +03:00
Author
Owner

@unixtime commented on GitHub (May 16, 2014):

changed the session.gc_divisor value to 1 in php.ini fixed the problem.

<!-- gh-comment-id:43303482 --> @unixtime commented on GitHub (May 16, 2014): changed the session.gc_divisor value to 1 in php.ini fixed the problem.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ViMbAdmin-opensolutions#65
No description provided.