Page 1 of 1
socket_sendto errors: No sockect file errors when viewing??
Posted: Sat Oct 01, 2011 3:53 pm
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.
Re: socket_sendto errors: No sockect file errors when viewin
Posted: Sat Oct 01, 2011 7:05 pm
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?
Re: socket_sendto errors: No sockect file errors when viewin
Posted: Mon Nov 21, 2011 5:21 pm
by Jason_Bassett
Same issue here, did you get this sorted?
Jason