OK I have moved from CentOS6 to Ubuntu 12.04 and have used Zoneminder for my home for many years. Anyway it always worked great but after a recent upgrade in Centos, it broke. Well I then decided to Use Ubuntu and its all worked well, cameras stream well and I patched the one of the perl files etc and it works just great. I also have a web server that faces the Net and internal samba shares. Everything works great except when I hit my ZM from the net it doesn't stream even to Firefox and I get sock errors in the log, Most of the other posts on this subject tend to be with the local ZM server spitting out these errors but I Only get them from the net. The main control panel comes up and I can look at logs and configure it over the net but no streaming. Any Ideas? A obscure permission problem?
Kind Regards
Michael Smith
socket_sendto( /tmp/zm/zms-xxxxxxs.sock ) Only on internet
-
- Posts: 49
- Joined: Wed Mar 14, 2007 12:58 pm
-
- Posts: 49
- Joined: Wed Mar 14, 2007 12:58 pm
Re: socket_sendto( /tmp/zm/zms-xxxxxxs.sock ) Only on intern
Ok Hitting it from Chrome over the net gives these errors!
Internally on the LAN all machines correctly display images and cause no errors.
Permissions seem OK Fresh install of Ubuntu 12.04 everything works. No other errors in logs.
Internally on the LAN all machines correctly display images and cause no errors.
Permissions seem OK Fresh install of Ubuntu 12.04 everything works. No other errors in logs.
Code: Select all
2012-09-30 14:32:18.357244 web_php 25457 ERR socket_sendto( /tmp/zm/zms-741141s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
2012-09-30 14:32:03.033960 web_php 24249 ERR socket_sendto( /tmp/zm/zms-741141s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
2012-09-30 14:31:57.599538 web_php 19389 ERR socket_sendto( /tmp/zm/zms-774796s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
2012-09-30 14:31:49.627626 web_php 24249 ERR socket_sendto( /tmp/zm/zms-741141s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
2012-09-30 14:31:36.413091 web_php 25455 ERR socket_sendto( /tmp/zm/zms-398839s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
2012-09-30 14:31:22.463781 web_php 24248 ERR socket_sendto( /tmp/zm/zms-398839s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
2012-09-30 14:31:08.122257 web_php 24241 ERR socket_sendto( /tmp/zm/zms-398839s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
2012-09-30 14:30:54.100429 web_php 25457 ERR socket_sendto( /tmp/zm/zms-398839s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
2012-09-30 14:30:40.864444 web_php 25454 ERR socket_sendto( /tmp/zm/zms-398839s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
2012-09-30 14:30:26.653496 web_php 24132 ERR socket_sendto( /tmp/zm/zms-398839s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
2012-09-30 14:30:04.567850 web_php 19389 ERR socket_sendto( /tmp/zm/zms-871622s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
2012-09-30 14:29:50.738788 web_php 24249 ERR socket_sendto( /tmp/zm/zms-871622s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
2012-09-30 14:29:37.343301 web_php 24247 ERR socket_sendto( /tmp/zm/zms-871622s.sock ) failed: No such file or directory /usr/share/zoneminder/includes/functions.php 2322
Re: socket_sendto( /tmp/zm/zms-xxxxxxs.sock ) Only on intern
I have the same problem! Up!
Re: socket_sendto( /tmp/zm/zms-xxxxxxs.sock ) Only on intern
I have the same problem as well, except that it happens even when I am accessing zoneminder on the same LAN with Chrome. Seems to go away when I use Internet Explorer.
Re: socket_sendto( /tmp/zm/zms-xxxxxxs.sock ) Only on intern
I remember that the answer is in the forum into any topic but i can not find it
Re: socket_sendto( /tmp/zm/zms-xxxxxxs.sock ) Only on intern
This error shows up on other newer distributions as well (F17 and 18alpha).
I tracked it down to php socket libraries. I think it due to some changes in the latest php version, but have not confirmed the version that worked and where it broke.
My system is still without live view.
I am just a longtime user, and also recently had to upgrade my zoneminder box.
I tracked it down to php socket libraries. I think it due to some changes in the latest php version, but have not confirmed the version that worked and where it broke.
My system is still without live view.
I am just a longtime user, and also recently had to upgrade my zoneminder box.
------------------------------------------------------------
Don't Let Software Push You Around... Push Back
------------------------------------------------------------
Don't Let Software Push You Around... Push Back
------------------------------------------------------------
Re: socket_sendto( /tmp/zm/zms-xxxxxxs.sock ) Only on intern
I am having this exact same problem on Ubuntu 12.04.1 LTS. I can't see live view in any browser. As soon as I attempt to it starts throwing these errors in the log. Not sure if the recording is actually working....this is a completely fresh install of the OS and ZM from apt-get.tgutwin wrote:This error shows up on other newer distributions as well (F17 and 18alpha).
I tracked it down to php socket libraries. I think it due to some changes in the latest php version, but have not confirmed the version that worked and where it broke.
My system is still without live view.
I am just a longtime user, and also recently had to upgrade my zoneminder box.
What is sort of strange is that it was working, then I made a port change in apache to run off a different port rather then 80 and after that the live stream fails to work. I can't see how that should matter at all.
-
- Posts: 20
- Joined: Mon Feb 15, 2010 6:38 pm
Re: socket_sendto( /tmp/zm/zms-xxxxxxs.sock ) Only on intern
I built 1.25 last night on Debian Squeeze and saw the same errors. php 5.3.3-7squeeze14, ffmpeg 5:0.7.13-dmo2. In my case, could not view stream with firefox browser on local net or on the server.
edit: I found the source of my issue with this error.
In my case; I noticed zms-xxxxxw.sock in /tmp/zm Note: the W in the socket file name
The cause was from /etc/apache2/sites-available/default not referring correct cgi-bin location.
Changing:
# ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
to
ScriptAlias /cgi-bin/ /var/www/zoneminder/cgi-bin/
et voila.
edit: I found the source of my issue with this error.
In my case; I noticed zms-xxxxxw.sock in /tmp/zm Note: the W in the socket file name
The cause was from /etc/apache2/sites-available/default not referring correct cgi-bin location.
Changing:
# ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
to
ScriptAlias /cgi-bin/ /var/www/zoneminder/cgi-bin/
et voila.
Re: socket_sendto( /tmp/zm/zms-xxxxxxs.sock ) Only on intern
Hi,
Still have the same problem.
I have installed Zm 1.25 on Centos 6.3, and when I stay on the local network, everything works fine. Trying to get an image from the internet gives the socket errors again, and cambozola gives me a classnotfound exception.
I tried looking for cgi-bin in the zm installation, but there is no cgi-bin directory in my 1.25 install.
Am I looking in the right place ?
Thanks,
Hans
Still have the same problem.
I have installed Zm 1.25 on Centos 6.3, and when I stay on the local network, everything works fine. Trying to get an image from the internet gives the socket errors again, and cambozola gives me a classnotfound exception.
I tried looking for cgi-bin in the zm installation, but there is no cgi-bin directory in my 1.25 install.
Am I looking in the right place ?
Thanks,
Hans