Working Perfectly But With Error Messages

Forum for questions and support relating to the 1.27.x releases only.
Locked
hotisopropyl
Posts: 1
Joined: Sat Jun 14, 2014 4:45 am

Working Perfectly But With Error Messages

Post 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!!
windracer
Posts: 61
Joined: Sat Jul 23, 2011 1:15 am

Re: Working Perfectly But With Error Messages

Post by windracer »

Maybe a permissions error on /tmp/zm?
ekhaat
Posts: 1
Joined: Tue Jun 17, 2014 7:39 pm

Re: Working Perfectly But With Error Messages

Post 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
Locked