Page 1 of 1

socket_sendto(/tmp/zm/zms-12345s.sock) failed: No such file

Posted: Mon Sep 12, 2011 10:19 am
by lyallp
I am just doing a fresh install on my Gentoo amd64 bit system using the Zoneminder 1.24.4 ebuild from overlay zugaina

I know the webcam is working because when I go into add or maintain a zone, zoneminder shows me the current view, overlaid by the zone config.

It's just streaming that isn't working.

I have tried copying the *zms files from /var/www/zoneminder/cgi-bin to my /var/www/localhost/cgi-bin, as I think the ebuild does not setup apache correctly and if I don't do the above, I see the following error in my apache error log.

Code: Select all

[Mon Sep 12 19:43:29 2011] [error] [client 127.0.0.1] File does not exist: /var/www/localhost/cgi-bin/nph-zms, referer: http://localhost/zoneminder/index.php?view=watch&mid=1
[Mon Sep 12 19:43:29 2011] [error] [client 127.0.0.1] File does not exist: /var/www/localhost/cgi-bin/nph-zms, referer: http://localhost/zoneminder/index.php?view=watch&mid=1
[Mon Sep 12 19:43:34 2011] [error] [client 127.0.0.1] socket_sendto( /tmp/zm/zms-135088s.sock ) failed: No such file or directory, referer: http://localhost/zoneminder/index.php?view=watch&mid=1
[Mon Sep 12 19:43:34 2011] [error] [client 127.0.0.1] array (\n  0 => \n  array (\n    'file' => '/var/www/zoneminder/htdocs/ajax/stream.php',\n    'line' => 55,\n    'function' => 'ajaxError',\n    'args' => \n    array (\n      0 => 'socket_sendto( /tmp/zm/zms-135088s.sock ) failed: No such file or directory',\n    ),\n  ),\n  1 => \n  array (\n    'file' => '/var/www/zoneminder/htdocs/index.php',\n    'line' => 119,\n    'args' => \n    array (\n      0 => '/var/www/zoneminder/htdocs/ajax/stream.php',\n    ),\n    'function' => 'require_once',\n  ),\n), referer: http://localhost/zoneminder/index.php?view=watch&mid=1
After copying *zms, I only see the socket_sendto errors.

Suggestions?

Re: socket_sendto(/tmp/zm/zms-12345s.sock) failed: No such f

Posted: Wed Oct 12, 2011 11:11 pm
by dogmeat206
This was posted about a year ago.

I am still seeing the problems on my install. CentOS 6, PHP 5.2, ZoneMinder 1.25......Any ideas?

Re: socket_sendto(/tmp/zm/zms-12345s.sock) failed: No such f

Posted: Fri Oct 14, 2011 6:37 am
by lyallp
This post is obsolete for me, I am now in 1.25.x.
All things working there.

Re: socket_sendto(/tmp/zm/zms-12345s.sock) failed: No such f

Posted: Sat Oct 15, 2011 3:53 pm
by dogmeat206
I still see the issue in 1.25.......