Getting lots of logged errors, not sure how to fix them.

Forum for questions and support relating to the 1.25.x releases only.
Locked
SpikeyGG
Posts: 60
Joined: Mon Oct 15, 2012 12:02 am

Getting lots of logged errors, not sure how to fix them.

Post by SpikeyGG »

I just set up ZM a few days ago and I keep checking my "logs" because it pretty much stays red. However, I can't make sense of the error messages and googling them doesn't seem to bring up anything helpful. :(

Here are a few of the errors I see:

Code: Select all

2012-10-15 06:21:39.446926	zms	17812	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
2012-10-15 06:20:59.997698	web_php	10902	ERR	Timed out waiting for msg	/usr/share/zoneminder/includes/functions.php	2322
2012-10-15 06:20:17.562943	zms	17802	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
2012-10-15 06:19:57.128312	zms	17797	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
2012-10-15 06:19:39.780685	zms	17789	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
2012-10-15 06:19:26.726834	web_php	15125	ERR	Timed out waiting for msg	/usr/share/zoneminder/includes/functions.php	2322
2012-10-15 06:18:58.155761	zms	17465	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
2012-10-15 06:18:17.185791	zms	17455	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
2012-10-15 06:18:01.327932	zms	17452	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
2012-10-15 06:16:48.720388	zms	17371	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
2012-10-15 06:15:00.796469	zms	17341	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
Here are a few more:

Code: Select all

2012-10-15 06:13:08.506011	web_php	15125	ERR	Timed out waiting for msg	/usr/share/zoneminder/includes/functions.php	2322
2012-10-15 06:11:54.593119	zms	17289	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
2012-10-15 06:11:49.012252	web_php	3220	ERR	Timed out waiting for msg	/usr/share/zoneminder/includes/functions.php	2322
2012-10-15 06:11:21.998168	zms	17284	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
2012-10-15 06:11:06.831365	zms	17280	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
2012-10-15 06:11:02.489057	zms	17275	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
2012-10-15 02:39:27.785085	web_php	3887	ERR	socket_sendto( /tmp/zm/zms-553349s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2322
2012-10-14 20:56:39.532343	web_php	3886	ERR	socket_sendto( /tmp/zm/zms-400987s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2322
2012-10-14 20:56:35.502491	zms	10909	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
2012-10-14 20:56:14.558846	zms	10906	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
2012-10-14 20:30:00.943567	zms	5861	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
2012-10-14 20:29:40.348376	web_php	3887	ERR	socket_sendto( /tmp/zm/zms-895653s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2322
2012-10-14 20:27:40.841040	web_php	3887	ERR	socket_sendto( /tmp/zm/zms-246916s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2322
2012-10-14 20:27:34.790933	web_php	3887	ERR	socket_sendto( /tmp/zm/zms-246916s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2322
2012-10-14 20:27:28.745391	web_php	3887	ERR	socket_sendto( /tmp/zm/zms-246916s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2322
2012-10-14 20:27:22.695887	web_php	3887	ERR	socket_sendto( /tmp/zm/zms-246916s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2322
2012-10-14 20:27:16.648066	web_php	3887	ERR	socket_sendto( /tmp/zm/zms-246916s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2322
you can see I got one of those "sock" errors at 2:39am - so I'm thinking this is caused by the system running (no external stimuli)

And another type of error I've seen:

Code: Select all

2012-10-14 20:16:58.720688	web_js	3887	ERR	The value of the property 'refreshLog' is null or undefined, not a Function object	zm/index.php?view=log	44
2012-10-14 20:16:51.225094	web_js	3745	ERR	Expected identifier, string or number	zm/skins/classic/views/js/log.js	12
2012-10-14 20:08:57.980489	web_js	3887	ERR	Expected identifier, string or number	zm/skins/classic/views/js/log.js	12
2012-10-14 20:03:48.426843	web_js	3781	ERR	Expected identifier, string or number	zm/skins/classic/views/js/log.js	12
2012-10-14 19:48:17.422192	web_js	18618	ERR	JSON could not decode the input; security is enabled and the value is not secure.	?view=event	
2012-10-14 19:43:23.883518	web_php	18618	ERR	socket_sendto( /tmp/zm/zms-983653s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2322
2012-10-14 18:27:52.168123	web_js	17634	ERR	Uncaught TypeError: Cannot read property 'checked' of undefined	zm/skins/classic/views/js/filter.js	14
2012-10-14 18:27:13.396744	web_js	457	ERR	Uncaught TypeError: Cannot read property 'checked' of undefined	zm/skins/classic/views/js/filter.js	14
2012-10-14 18:27:11.805685	web_js	457	ERR	Uncaught TypeError: Cannot read property 'checked' of undefined	zm/skins/classic/views/js/filter.js	14
2012-10-14 18:27:08.623078	web_js	457	ERR	Uncaught TypeError: Cannot read property 'checked' of undefined	zm/skins/classic/views/js/filter.js	14
2012-10-14 18:26:45.458808	web_js	17608	ERR	Uncaught TypeError: Cannot read property 'checked' of undefined	zm/skins/classic/views/js/filter.js	14
2012-10-14 18:26:05.478992	web_js	32715	ERR	Uncaught TypeError: Cannot read property 'checked' of undefined	zm/skins/classic/views/js/filter.js	14
2012-10-14 18:26:01.685482	web_js	32715	ERR	Uncaught TypeError: Cannot read property 'checked' of undefined	zm/skins/classic/views/js/filter.js	14
2012-10-14 18:25:37.953305	web_js	18618	ERR	Uncaught TypeError: Cannot read property 'checked' of undefined	zm/skins/classic/views/js/filter.js	14
2012-10-14 18:18:11.339686	zms	28526	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
More warnings and errors:

Code: Select all

2012-10-14 17:49:20.481938	zms	18001	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
2012-10-14 17:49:20.481616	zms	18160	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
2012-10-14 17:45:18.798104	zms	17583	WAR	Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results	zm_monitor.cpp	439
2012-10-14 17:45:17.796874	zms	17574	WAR	Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results	zm_monitor.cpp	439
2012-10-14 17:45:16.796489	zms	17569	WAR	Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results	zm_monitor.cpp	439
2012-10-14 17:45:15.796393	zms	17567	WAR	Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results	zm_monitor.cpp	439
2012-10-14 17:45:14.795146	zms	17565	WAR	Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results	zm_monitor.cpp	439
2012-10-14 17:45:13.795764	zms	17563	WAR	Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results	zm_monitor.cpp	439
2012-10-14 17:45:12.795732	zms	17560	WAR	Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results	zm_monitor.cpp	439
2012-10-14 17:38:47.413814	web_php	18324	ERR	socket_sendto( /tmp/zm/zms-678443s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2322
2012-10-14 17:38:10.645112	zma_m2	11755	WAR	Signal: Reacquired	zm_monitor.cpp	1190
2012-10-14 17:38:10.361137	zma_m2	11755	WAR	Signal: Lost	zm_monitor.cpp	1190
2012-10-14 17:35:49.252509	zms	13311	ERR	Unable to send stream frame: Broken pipe	zm_event.cpp	1275
2012-10-14 17:35:04.625645	web_php	18324	ERR	Timed out waiting for msg	/usr/share/zoneminder/includes/functions.php	2322
2012-10-14 17:33:22.343762	web_php	18334	ERR	socket_sendto( /tmp/zm/zms-512896s.sock ) failed: No such file or directory	/usr/share/zoneminder/includes/functions.php	2322
My setup seems to work just fine, I can see real time video stream, it catches and records events, and I can review the events. It just bothers me that something is (or many things are) throwing lots of errors.

These errors are filling up my syslog, any suggestions are welcome.

Thanks,
-Greg
btw: I'm using Ubuntu 12.04.1 LTS (precise)
Locked