Running ZM 1.29.0
Clean install on Kubuntu 15.10 following guides here:
- https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way
http://zoneminder.readthedocs.org/en/la ... buntu-15-x
- Configured my cameras and confirmed live streams.
Optional API check results in the following error message:
Code: Select all
Warning: mkdir(): Permission denied in /usr/share/zoneminder/www/api/lib/Cake/Cache/Engine/FileEngine.php on line 379
Warning: _cake_core_ cache was unable to write 'cake_dev_en-us' to File cache in /usr/share/zoneminder/www/api/lib/Cake/Cache/Cache.php on line 323
Warning: /usr/share/zoneminder/www/api/app/tmp/cache/persistent/ is not writable in /usr/share/zoneminder/www/api/lib/Cake/Cache/Engine/FileEngine.php on line 384
Fatal error: Uncaught exception 'CacheException' with message 'Cache engine _cake_core_ is not properly configured.' in /usr/share/zoneminder/www/api/lib/Cake/Cache/Cache.php:181 Stack trace: #0 /usr/share/zoneminder/www/api/lib/Cake/Cache/Cache.php(151): Cache::_buildEngine('_cake_core_') #1 /usr/share/zoneminder/www/api/app/Config/core.php(376): Cache::config('_cake_core_', Array) #2 /usr/share/zoneminder/www/api/lib/Cake/Core/Configure.php(72): include('/usr/share/zone...') #3 /usr/share/zoneminder/www/api/lib/Cake/bootstrap.php(175): Configure::bootstrap(true) #4 /usr/share/zoneminder/www/api/app/webroot/index.php(94): include('/usr/share/zone...') #5 /usr/share/zoneminder/www/api/index.php(41): require('/usr/share/zone...') #6 {main} thrown in /usr/share/zoneminder/www/api/lib/Cake/Cache/Cache.php on line 181
Code: Select all
usr/share/zoneminder/www/api/lib/Cake/Cache/Engine
-rw-r--r-- 1 root root 5804 Feb 4 12:04 XcacheEngine.php
-rw-r--r-- 1 root root 5309 Feb 4 12:04 WincacheEngine.php
-rw-r--r-- 1 root root 6147 Feb 4 12:04 RedisEngine.php
-rw-r--r-- 1 root root 8213 Feb 4 12:04 MemcacheEngine.php
-rw-r--r-- 1 root root 9651 Feb 4 12:04 MemcachedEngine.php
-rw-r--r-- 1 root root 11354 Feb 4 12:04 FileEngine.php
-rw-r--r-- 1 root root 5116 Feb 4 12:04 ApcEngine.php
/usr/share/zoneminder/www/api/lib/Cake/Cache
-rw-r--r-- 1 root root 18202 Feb 4 12:04 Cache.php
-rw-r--r-- 1 root root 4825 Feb 4 12:04 CacheEngine.php
drwxr-xr-x 2 root root 4096 Feb 5 21:53 Engine
/usr/share/zoneminder/www/api/lib/Cake
-rw-r--r-- 1 root root 1028 Feb 4 12:04 VERSION.txt
-rw-r--r-- 1 root root 14354 Feb 4 12:04 bootstrap.php
-rw-r--r-- 1 root root 24209 Feb 4 12:04 basics.php
drwxr-xr-x 6 root root 4096 Feb 5 21:53 Test
drwxr-xr-x 4 root root 4096 Feb 5 21:53 Routing
drwxr-xr-x 2 root root 4096 Feb 5 21:53 Error
drwxr-xr-x 2 root root 4096 Feb 5 21:53 Utility
drwxr-xr-x 3 root root 4096 Feb 5 21:53 Cache
drwxr-xr-x 2 root root 4096 Feb 5 21:53 Configure
drwxr-xr-x 6 root root 4096 Feb 5 21:53 TestSuite
drwxr-xr-x 2 root root 4096 Feb 5 21:53 I18n
drwxr-xr-x 2 root root 4096 Feb 5 21:53 Event
drwxr-xr-x 4 root root 4096 Feb 5 21:53 Console
drwxr-xr-x 6 root root 4096 Feb 5 21:53 View
drwxr-xr-x 2 root root 4096 Feb 5 21:53 Core
drwxr-xr-x 3 root root 4096 Feb 5 21:53 Config
drwxr-xr-x 4 root root 4096 Feb 5 21:53 Network
drwxr-xr-x 5 root root 4096 Feb 5 21:53 Model
drwxr-xr-x 3 root root 4096 Feb 5 21:53 Controller
drwxr-xr-x 3 root root 4096 Feb 5 21:53 Log
Do these files need to have a different owner:group or execute permission?
Or is there something I missed or need to check?
Thanks in advance,
Elvis