ZMS Streaming - socket failure
Posted: Thu Dec 12, 2013 3:57 pm
Hi All,
I'm getting the following error, and tried all the usual fixes which google has provided:
(ScriptAlias for cgi-bin)
permissions on apache
hashing of authentication
php short tags is ON
/etc/zm/apache.conf linked into /etc/apache2/conf-enabled/zoneminder.conf
web_php[7348]: ERR [socket_sendto( /tmp/socks/zms-215314s.sock ) failed: No such file or directory]
I also see the file being created /tmp/socks/zms-215314w.sock NOT s.sock as the error indicates.
This is not an apache permission thing - the functions.php seems to be working out the filename wrong, I've no idea why.
It can create the socket owned by www-data (same id as apache2 runs under)
I could reinstall from scratch, feels like I'm sooo close though I don't want to.
Fresh install of ubuntu server, zoneminder 1.25, mysql etc.
/etc/zm/zm.conf:
# cat /etc/zm/apache.conf
Alias /zm /usr/share/zoneminder
<Directory /usr/share/zoneminder>
php_flag register_globals off
Options Indexes FollowSymLinks
AllowOverride All
php_value short_open_tag 1
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</Directory>
I'm getting the following error, and tried all the usual fixes which google has provided:
(ScriptAlias for cgi-bin)
permissions on apache
hashing of authentication
php short tags is ON
/etc/zm/apache.conf linked into /etc/apache2/conf-enabled/zoneminder.conf
web_php[7348]: ERR [socket_sendto( /tmp/socks/zms-215314s.sock ) failed: No such file or directory]
I also see the file being created /tmp/socks/zms-215314w.sock NOT s.sock as the error indicates.
This is not an apache permission thing - the functions.php seems to be working out the filename wrong, I've no idea why.
It can create the socket owned by www-data (same id as apache2 runs under)
I could reinstall from scratch, feels like I'm sooo close though I don't want to.
Fresh install of ubuntu server, zoneminder 1.25, mysql etc.
/etc/zm/zm.conf:
# cat /etc/zm/apache.conf
Alias /zm /usr/share/zoneminder
<Directory /usr/share/zoneminder>
php_flag register_globals off
Options Indexes FollowSymLinks
AllowOverride All
php_value short_open_tag 1
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</Directory>