socket_sendto errors: No sockect file errors when viewing??

Forum for questions and support relating to the 1.25.x releases only.
Locked
BlankMan
Posts: 147
Joined: Tue Jan 19, 2010 2:53 am
Location: Milwaukee, WI USA

socket_sendto errors: No sockect file errors when viewing??

Post by BlankMan »

Getting a lot of these when viewing live video:

Code: Select all

socket_sendto( /var/run/zm/zms-133507s.sock ) failed: No such file or directory
And this in the window:

Code: Select all

             State:  -  fps
Mode: Rate: x Delay: s Buffer: % Zoom: x 
No information displayed, I do believe they are related. So I'm wondering why and how to fix this.
BlankMan
Posts: 147
Joined: Tue Jan 19, 2010 2:53 am
Location: Milwaukee, WI USA

Re: socket_sendto errors: No sockect file errors when viewin

Post by BlankMan »

Added some debugging statements and got this:

Code: Select all

Oct  1 13:27:48 router zms[15366]: INF [Authenticated user 'admin']
Oct  1 13:27:48 router zms[15367]: INF [Authenticated user 'admin']
Oct  1 13:27:48 router zms[15367]: INF [sd 6 loc_addr.sun_path /var/run/zm/zms-209081s.sock loc_sock_path /var/run/zm/zms-209081s.sock]
Oct  1 13:27:48 router zms[15366]: INF [sd 6 loc_addr.sun_path /var/run/zm/zms-209081s.sock loc_sock_path /var/run/zm/zms-209081s.sock]
Oct  1 13:27:49 router zms[15367]: INF [Got signal 15 (Terminated), exiting]
Oct  1 13:27:49 router zms[15367]: INF [sd 6 closing]
Oct  1 13:27:49 router zms[15367]: INF [sd 6 unlink /var/run/zm/zms-209081s.sock]
Oct  1 13:27:49 router zms[15367]: INF [sd -1 unlink /var/run/zm/zms-209081s.sock]
Oct  1 13:28:26 router zms[15366]: INF [Got signal 15 (Terminated), exiting]
Oct  1 13:28:26 router zms[15366]: FAT [Error -1 while writing video frame: Broken pipe]
I see what's going on but don't know why. It appears when I click on the monitor to watch it live using FireFox (in this case 6.0.2 on Linux but I've seen it do this in ZoneMinder since FF 3 just never correlated it to the State: fps: etc. not showing up but now I do) it makes two connections as noted by the two auths each having a different pid. Then the second one dies ergo the signal 15 so ZM closes the connection and deletes the socket. Meanwhile the first process is looking for that socket that has the same name but it's already been closed and deleted. Then I close the live monitor window, hence the second signal 15 and there's no clean up then closing the socket and deleting it because it's alredy been done.

Ok now that I see what's going on, anyone know why this would be happening and how to stop it and have it work properly?
Jason_Bassett
Posts: 42
Joined: Wed Mar 05, 2008 10:33 pm
Location: Stanford-Le-Hope, Thurrock, Essex

Re: socket_sendto errors: No sockect file errors when viewin

Post by Jason_Bassett »

Same issue here, did you get this sorted?

Jason
Corrilan IT Consultancy Ltd
http://www.corrilan.com
01375 403508
enquiries@corrilan.com
Locked