The problem seems to be the socket is not created under /tmp/zm.
Tested several solutions here and there, regarding cgi-bin directories and "ScriptAlias" but none worked.
Here's the error :
May 3 23:12:37 mx2 zmc_dvideo0[2006]: INF [Monitor-1: 13000 - Capturing at 25.00 fps]
May 3 23:12:39 mx2 web_php[1583]: ERR [socket_sendto( /tmp/zm/zms-425345s.sock ) failed: No such file or directory]
May 3 23:12:39 mx2 web_php[1583]: ERR [getStreamCmdResponse stream error: socket_sendto( /tmp/zm/zms-425345s.sock ) failed: No such file or directory - checkStreamForErrors()]
May 3 23:12:52 mx2 web_php[1584]: ERR [socket_sendto( /tmp/zm/zms-425345s.sock ) failed: No such file or directory]
May 3 23:12:52 mx2 web_php[1584]: ERR [getStreamCmdResponse stream error: socket_sendto( /tmp/zm/zms-425345s.sock ) failed: No such file or directory - checkStreamForErrors()]
My /etc/zm/apache.conf
Alias /zm /usr/share/zoneminder
<Directory /usr/share/zoneminder>
php_flag register_globals off
php_value short_open_tag 1
Options Indexes FollowSymLinks
AllowOverride All
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</Directory>
ScriptAlias /cgi-bin /usr/lib/cgi-bin
<Directory "/usr/lib/cgi-bin">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch AllowOverride All
# The code unfortunately uses short tags in many places
php_value short_open_tag 1
</Directory>
Using zoneminder 1.26.5 under ubuntu 14.04 AMD64
The problem seems to be the socket is not created under /tmp/zm.
Tested several solutions here and there, regarding cgi-bin directories and "ScriptAlias" but none worked.
Here's the error :
May 3 23:12:37 mx2 zmc_dvideo0[2006]: INF [Monitor-1: 13000 - Capturing at 25.00 fps] zms-425345s. sock ) failed: No such file or directory] sponse stream error: socket_sendto( /tmp/zm/ zms-425345s. sock ) failed: No such file or directory - checkStreamForE rrors() ] zms-425345s. sock ) failed: No such file or directory] sponse stream error: socket_sendto( /tmp/zm/ zms-425345s. sock ) failed: No such file or directory - checkStreamForE rrors() ]
May 3 23:12:39 mx2 web_php[1583]: ERR [socket_sendto( /tmp/zm/
May 3 23:12:39 mx2 web_php[1583]: ERR [getStreamCmdRe
May 3 23:12:52 mx2 web_php[1584]: ERR [socket_sendto( /tmp/zm/
May 3 23:12:52 mx2 web_php[1584]: ERR [getStreamCmdRe
My /etc/zm/apache.conf
Alias /zm /usr/share/ zoneminder zoneminder> rMatch
AllowOverride All
<Directory /usr/share/
php_flag register_globals off
php_value short_open_tag 1
Options Indexes FollowSymLinks
AllowOverride All
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</Directory>
ScriptAlias /cgi-bin /usr/lib/cgi-bin
<Directory "/usr/lib/cgi-bin">
Options +ExecCGI -MultiViews +SymLinksIfOwne
# The code unfortunately uses short tags in many places
php_value short_open_tag 1
</Directory>