Page 1 of 1

Working Perfectly But With Error Messages

Posted: Sat Jun 14, 2014 4:52 am
by hotisopropyl
Hi everyone,

I just have Zoneminder configured in this Ubuntu Server 14.04 LTS Machine. ZM is working perfectly. However there are some error messages in the "log" page.

Code: Select all

web_js	4594	ERR	getStreamCmdResponse stream error: socket_sendto( /tmp/zm/zms-889007s.sock ) failed: No such file or directory - checkStreamForErrors()	?view=watch	

web_php	4594	ERR	socket_sendto( /tmp/zm/zms-889007s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2344
Reading through some internet pages on this, they couldn't stream video, but mine can.

I also have the line

Code: Select all

ScriptAlias /cgi-bin /usr/share/zoneminder/cgi-bin
in /etc/zm/apache.conf

What would be the cause of these error messages?

Thank you very much!!

Re: Working Perfectly But With Error Messages

Posted: Mon Jun 16, 2014 3:07 pm
by windracer
Maybe a permissions error on /tmp/zm?

Re: Working Perfectly But With Error Messages

Posted: Tue Jun 17, 2014 7:56 pm
by ekhaat
hotisopropyl wrote:Hi everyone,

I just have Zoneminder configured in this Ubuntu Server 14.04 LTS Machine. ZM is working perfectly. However there are some error messages in the "log" page.

Code: Select all

web_js	4594	ERR	getStreamCmdResponse stream error: socket_sendto( /tmp/zm/zms-889007s.sock ) failed: No such file or directory - checkStreamForErrors()	?view=watch	

web_php	4594	ERR	socket_sendto( /tmp/zm/zms-889007s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2344
Reading through some internet pages on this, they couldn't stream video, but mine can.

I also have the line

Code: Select all

ScriptAlias /cgi-bin /usr/share/zoneminder/cgi-bin
in /etc/zm/apache.conf

What would be the cause of these error messages?

Thank you very much!!

I have the same:

Code: Select all

2014-06-17 21:45:43.292709	web_js	28953	ERR	getStreamCmdResponse stream error: socket_sendto( /tmp/zm/zms-375497s.sock ) failed: No such file or directory - checkStreamForErrors()	?view=watch	
2014-06-17 21:45:43.026388	web_php	28953	ERR	socket_sendto( /tmp/zm/zms-375497s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2344
but only when I try to watch with the Name link, otherwise just stuff like this:

Code: Select all

2014-06-17 21:51:48.747493	zma_m1	30157	INF	Webcam: 8000 - Processing at 15.15 fps	zm_monitor.cpp	1147
2014-06-17 21:51:04.296702	zmc_dvideo1	29925	INF	Webcam: 16000 - Capturing at 14.93 fps	zm_monitor.cpp	2783
2014-06-17 21:50:42.220557	zma_m1	30157	INF	Webcam: 7000 - Processing at 14.93 fps	zm_monitor.cpp	1147
2014-06-17 21:50:00.268134	zma_m1	30157	INF	Webcam: 6366 - Opening new event 4, section start	zm_monitor.cpp	1389
2014-06-17 21:50:00.062031	zma_m1	30157	INF	Webcam: 6366 - Closing event 3, section end	zm_monitor.cpp	1369
2014-06-17 21:49:57.785388	zmc_dvideo1	29925	INF	Webcam: 15000 - Capturing at 15.15 fps	zm_monitor.cpp	27832783
But I noticed that in /tmp/zm there pops up files with the same name as in the error msg, but with a "w" instead of "s":

Code: Select all

/tmp/zm/zms-375497w.sock
instead of
/tmp/zm/zms-375497s.sock
Any ideas?

Cheers Ekhaat