Im losing the hope
here is what i got
first i have mi physical installation of zone minder in my server with Debian 8 amd64 also i have a samba and phpvirtualbox service running in the same PC
i installed zone minder following this guide
http://terminal28.com/how-to-install-an ... -8-jessie/
i have some problems with the database setup and starting the service but i solved thats issue, after that when i finally get the web UI works i found that the monitor is no streaming video, so checking the logs i found many issues and begin to read post in many website and trying different solutions until i reduce the error in the logs to just two
Code: Select all
2015-12-01 22:13:04.799905 web_php 1259 ERR socket_sendto( /var/run/zm/zms-692113s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 2347
2015-12-01 22:12:52.797307 web_js 1261 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-692113s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2015-12-01 22:12:52.732303 web_php 1261 ERR socket_sendto( /var/run/zm/zms-692113s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 2347
2015-12-01 22:12:40.729476 web_js 1261 ERR getStreamCmdResponse stream error: socket_sendto( /var/run/zm/zms-692113s.sock ) failed: No such file or directory - checkStreamForErrors() ?view=watch
2015-12-01 22:12:40.668203 web_php 1261 ERR socket_sendto( /var/run/zm/zms-692113s.sock ) failed: No such file or directory /usr/share/zoneminder/www/includes/functions.php 2347
2015-12-01 22:11:59.778399 zmc_dvideo0 1975 INF Monitor-1: 19000 - Capturing at 6.58 fps zm_monitor.cpp 3160
2015-12-01 22:09:27.699425 zmc_dvideo0 1975 INF Monitor-1: 18000 - Capturing at 30.30 fps zm_monitor.cpp 3160
2015-12-01 22:08:54.275660 zmc_dvideo0 1975 INF Monitor-1: 17000 - Capturing at 29.41 fps zm_monitor.cpp 3160
2015-12-01 22:08:20.855887 zmc_dvideo0 1975 INF Monitor-1: 16000 - Capturing at 30.30 fps zm_monitor.cpp 3160
2015-12-01 22:07:47.432122 zmc_dvideo0 1975 INF Monitor-1: 15000 - Capturing at 30.30 fps zm_monitor.cpp 3160
2015-12-01 22:07:14.012354 zmc_dvideo0 1975 INF Monitor-1: 14000 - Capturing at 29.41 fps zm_monitor.cpp 3160
2015-12-01 22:06:40.568584 zmc_dvideo0 1975 INF Monitor-1: 13000 - Capturing at 6.49 fps zm_monitor.cpp 3160
2015-12-01 22:04:06.249666 zmc_dvideo0 1975 INF Monitor-1: 12000 - Capturing at 6.25 fps zm_monitor.cpp 3160
2015-12-01 22:01:26.102755 zmc_dvideo0 1975 INF Monitor-1: 11000 - Capturing at 6.21 fps zm_monitor.cpp 3160
2015-12-01 21:58:45.951871 zmc_dvideo0 1975 INF Monitor-1: 10000 - Capturing at 6.25 fps zm_monitor.cpp 3160
2015-12-01 21:56:05.804970 zmc_dvideo0 1975 INF Monitor-1: 9000 - Capturing at 6.25 fps
is seems to appear that the camera is working and is capturing but when i click in the monitor for see the video then the error shows in logs and of course i cant see no video
this is my conf file
Code: Select all
Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder/www>
php_flag register_globals off
Options Indexes FollowSymLinks
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</Directory>
i already try add the ScripAlias and i dont have luck with that
this are the permission of the /usr/share/zoneminder/www
Code: Select all
drwxr-xr-x 2 root root 4096 nov 29 14:26 ajax
-rw-r--r-- 1 root root 46494 mar 13 2011 cambozola.jar
lrwxrwxrwx 1 root root 17 nov 29 14:24 cgi-bin -> ../../lib/cgi-bin
drwxr-xr-x 2 root root 4096 nov 29 14:26 css
drwxr-xr-x 2 root root 12288 nov 29 14:26 db
lrwxrwxrwx 1 root root 28 nov 29 14:24 events -> /var/cache/zoneminder/events
drwxr-xr-x 2 root root 4096 nov 29 14:26 graphics
lrwxrwxrwx 1 root root 28 nov 29 14:24 images -> /var/cache/zoneminder/images
drwxr-xr-x 2 root root 4096 nov 29 14:26 includes
-rw-r--r-- 1 root root 6346 nov 29 14:24 index.php
drwxr-xr-x 2 root root 4096 nov 29 14:26 js
drwxr-xr-x 2 root root 4096 nov 29 14:26 lang
drwxr-xr-x 5 root root 4096 nov 29 14:26 skins
lrwxrwxrwx 1 root root 26 nov 29 14:24 temp -> /var/cache/zoneminder/temp
drwxr-xr-x 3 root root 4096 nov 29 14:26 tools
drwxr-xr-x 2 root root 4096 nov 29 14:26 views
the /tmp/zm directory is empty and no socket file create in that directory
in the apache logs file i found something more specific but i not sure what it means
Code: Select all
[Tue Dec 01 21:33:05.488379 2015] [core:error] [pid 2048] [client 192.168.254.4:35659] AH00037: Symbolic link not allowed or link target not accessible: /usr/share/zoneminder/www/cgi-bin, referer: http://192.168.254.2/zm/?view=watch&mid=1
[Tue Dec 01 21:33:05.581295 2015] [core:error] [pid 2048] [client 192.168.254.4:35659] AH00037: Symbolic link not allowed or link target not accessible: /usr/share/zoneminder/www/cgi-bin, referer: http://192.168.254.2/zm/?view=watch&mid=1
[Tue Dec 01 21:33:11.117651 2015] [:error] [pid 2048] [client 192.168.254.4:35659] ERR [socket_sendto( /var/run/zm/zms-387995s.sock ) failed: No such file or directory], referer: http://192.168.254.2/zm/?view=watch&mid=1
[Tue Dec 01 21:33:23.188654 2015] [:error] [pid 2049] [client 192.168.254.4:35661] ERR [socket_sendto( /var/run/zm/zms-387995s.sock ) failed: No such file or directory], referer: http://192.168.254.2/zm/?view=watch&mid=1
[Tue Dec 01 21:33:35.249773 2015] [:error] [pid 2049] [client 192.168.254.4:35661] ERR [socket_sendto( /var/run/zm/zms-387995s.sock ) failed: No such file or directory], referer: http://192.168.254.2/zm/?view=watch&mid=1
[Tue Dec 01 21:33:47.308982 2015] [:error] [pid 2049] [client 192.168.254.4:35661] ERR [socket_sendto( /var/run/zm/zms-387995s.sock ) failed: No such file or directory], referer: http://192.168.254.2/zm/?view=watch&mid=1
[Tue Dec 01 21:33:59.379712 2015] [:error] [pid 1261] [client 192.168.254.4:35665] ERR [socket_sendto( /var/run/zm/zms-387995s.sock ) failed: No such file or directory], referer: http://192.168.254.2/zm/?view=watch&mid=1
[Tue Dec 01 21:53:50.323947 2015] [core:error] [pid 1258] [client 192.168.254.4:36448] AH00037: Symbolic link not allowed or link target not accessible: /usr/share/zoneminder/www/cgi-bin, referer: http://192.168.254.2/zm/index.php?$
[Tue Dec 01 21:53:50.414097 2015] [core:error] [pid 1258] [client 192.168.254.4:36448] AH00037: Symbolic link not allowed or link target not accessible: /usr/share/zoneminder/www/cgi-bin, referer: http://192.168.254.2/zm/index.php?$
[Tue Dec 01 21:53:53.663434 2015] [:error] [pid 1258] [client 192.168.254.4:36448] ERR [socket_sendto( /var/run/zm/zms-312867s.sock ) failed: No such file or directory], referer: http://192.168.254.2/zm/index.php?view=watch&mid=1
i can see that apache is refusing the symbolic link, but i dont know why, the file cgi-bin exist in the mention directory but if i opened with nano i have only a empty file
i feel in a dead end with this, also i try a clean install in a virtual machine using the guide from the wiki and the result is almost the same, the INF messages of the logs are differents but i cant see the video streaming and i get the same errors in the logs
hope someone can help me
Regards