So many Errors

Forum for questions and support relating to 1.33.x development only.
Locked
david.froelich
Posts: 4
Joined: Fri Dec 27, 2019 3:56 pm

So many Errors

Post by david.froelich »

Hello,

I got Zoneminder 1.33.15 in Debian Buster.
I installed it from deb-multimedia.

I test it with a old USB webcam. It works, and i got a Picture. But when i open log, i got so many errors.
Is this normel, or have i to search for any problem in my system:

Code: Select all

2019-12-27 16:54:06	zmc_dvideo0		13362	ERR	Not a JPEG file: starts with 0x57 0xf5	zm_jpeg.cpp	47
2019-12-27 16:47:59	zmc_dvideo0		13362	ERR	Not a JPEG file: starts with 0x34 0x9c	zm_jpeg.cpp	47
2019-12-27 16:21:50	zmc_dvideo0		13362	ERR	Not a JPEG file: starts with 0xe0 0xd4	zm_jpeg.cpp	47
2019-12-27 16:12:20	zmc_dvideo0		13362	ERR	Not a JPEG file: starts with 0x0d 0xa7	zm_jpeg.cpp	47
2019-12-27 16:03:18	zmc_dvideo0		13362	ERR	Not a JPEG file: starts with 0x8c 0x12	zm_jpeg.cpp	47
2019-12-27 15:48:17	zmc_dvideo0		13362	ERR	Not a JPEG file: starts with 0x92 0x30	zm_jpeg.cpp	47
2019-12-27 15:48:04	zmc_dvideo0		13362	ERR	Not a JPEG file: starts with 0xa1 0x5b	zm_jpeg.cpp	47
2019-12-27 15:42:50	zms_m27		13898	ERR	Can't sendto on sd 7: No such file or directory	zm_monitorstream.cpp	286
2019-12-27 15:42:50	zms_m27		13898	ERR	Can't sendto on sd 7: No such file or directory	zm_monitorstream.cpp	286
2019-12-27 15:42:50	zms_m27		13898	ERR	Terminating, last frame sent time 87.825297 secs more than maximum of 10.000000	zm_monitorstream.cpp	769
2019-12-27 15:42:50	zmc_dvideo0		13362	ERR	Not a JPEG file: starts with 0x0d 0xd9	zm_jpeg.cpp	47
2019-12-27 15:42:44	web_php		12537	ERR	Timed out waiting for msg /var/run/zm/zms-743795s.sock	/usr/share/zoneminder/www/ajax/stream.php	95
2019-12-27 15:42:44	web_php		12537	ERR	No data to read from socket	/usr/share/zoneminder/www/includes/functions.php	2167
2019-12-27 15:42:42	web_js		13104	ERR	getStreamCmdResponse stream error: No data to read from socket - checkStreamForErrors()	?view=watch	
2019-12-27 15:42:09	web_php		13585	ERR	Timed out waiting for msg /var/run/zm/zms-743795s.sock	/usr/share/zoneminder/www/ajax/stream.php	95
2019-12-27 15:42:09	web_php		13585	ERR	No data to read from socket	/usr/share/zoneminder/www/includes/functions.php	2167
2019-12-27 15:39:31	zmc_dvideo0		13362	ERR	Not a JPEG file: starts with 0x06 0xc4	zm_jpeg.cpp	47
2019-12-27 15:39:27	web_js		13831	ERR	getStreamCmdResponse stream error: No data to read from socket - checkStreamForErrors()	?view=watch	
2019-12-27 15:39:21	web_php		12536	ERR	Timed out waiting for msg /var/run/zm/zms-184304s.sock	/usr/share/zoneminder/www/ajax/stream.php	95
2019-12-27 15:39:21	web_php		12536	ERR	No data to read from socket	/usr/share/zoneminder/www/includes/functions.php	2167
2019-12-27 15:39:21	zms_m27		13832	ERR	Can't sendto on sd 7: No such file or directory	zm_monitorstream.cpp	286
2019-12-27 15:37:58	web_php		13104	ERR	Timed out waiting for msg /var/run/zm/zms-944149s.sock	/usr/share/zoneminder/www/ajax/stream.php	95
2019-12-27 15:37:58	web_php		13104	ERR	No data to read from socket	/usr/share/zoneminder/www/includes/functions.php	2167
2019-12-27 15:37:56	web_js		13109	ERR	getStreamCmdResponse stream error: No data to read from socket - checkStreamForErrors()	?view=watch	
2019-12-27 15:37:47	web_php		13583	ERR	Timed out waiting for msg /var/run/zm/zms-944149s.sock	/usr/share/zoneminder/www/ajax/stream.php	95
2019-12-27 15:37:47	web_php		13583	ERR	No data to read from socket	/usr/share/zoneminder/www/includes/functions.php	2167
2019-12-27 15:36:36	web_php		13163	ERR	Socket /var/run/zm/zms-878327s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.	/usr/share/zoneminder/www/includes/functions.php	2167
2019-12-27 15:36:34	web_php		13104	ERR	Socket /var/run/zm/zms-878327s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.	/usr/share/zoneminder/www/includes/functions.php	2167
2019-12-27 15:36:34	web_js		13104	ERR	getStreamCmdResponse stream error: Socket /var/run/zm/zms-878327s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information. - checkStreamForErrors()	?view=watch	
2019-12-27 15:36:11	zmc_dvideo0		13362	ERR	Not a JPEG file: starts with 0xc3 0xef	zm_jpeg.cpp	47
2019-12-27 15:35:52	zmc_dvideo0		13362	ERR	Not a JPEG file: starts with 0x53 0xd3	zm_jpeg.cpp	47
2019-12-27 15:23:59	zmc_dvideo0		13362	ERR	Not a JPEG file: starts with 0xbb 0x20	zm_jpeg.cpp	47
2019-12-27 15:23:47	zmc_dvideo0		13362	ERR	Not a JPEG file: starts with 0x3a 0x93	zm_jpeg.cpp	47
2019-12-27 15:19:26	zmc_dvideo0		13362	ERR	Not a JPEG file: starts with 0x89 0xd2	zm_jpeg.cpp	47
2019-12-27 15:19:22	zmc_dvideo0		13362	ERR	Not a JPEG file: starts with 0xed 0x52	zm_jpeg.cpp	47
2019-12-27 15:18:06	zmc_dvideo0		13362	ERR	Not a JPEG file: starts with 0xcd 0x2d	zm_jpeg.cpp	47
2019-12-27 15:18:03	zmc_dvideo0		13362	ERR	Not a JPEG file: starts with 0x35 0x6a	zm_jpeg.cpp	47
2019-12-27 15:04:10	zmc_dvideo0		13362	ERR	Not a JPEG file: starts with 0x9a 0x6f	zm_jpeg.cpp	47
2019-12-27 15:03:56	zmc_dvideo0		13362	ERR	Not a JPEG file: starts with 0x32 0xb4	zm_jpeg.cpp	47
2019-12-27 14:57:12	web_php		12537	ERR	Timed out waiting for msg /var/run/zm/zms-558228s.sock	/usr/share/zoneminder/www/ajax/stream.php	95
2019-12-27 14:57:12	web_php		12537	ERR	No data to read from socket	/usr/share/zoneminder/www/includes/functions.php	2167
2019-12-27 14:57:10	web_php		12536	ERR	Timed out waiting for msg /var/run/zm/zms-558228s.sock	/usr/share/zoneminder/www/ajax/stream.php	95
2019-12-27 14:57:10	web_php		12536	ERR	No data to read from socket	/usr/share/zoneminder/www/includes/functions.php	2167
2019-12-27 14:57:10	web_js		12536	ERR	getStreamCmdResponse stream error: No data to read from socket - checkStreamForErrors()	?view=watch	
2019-12-27 14:55:47	web_js		13109	ERR	getStreamCmdResponse stream error: No data to read from socket - checkStreamForErrors()	?view=watch	
2019-12-27 14:55:47	zms_m27		13559	ERR	Can't sendto on sd 7: No such file or directory	zm_monitorstream.cpp	286
2019-12-27 14:55:46	web_php		13109	ERR	Timed out waiting for msg /var/run/zm/zms-244304s.sock	/usr/share/zoneminder/www/ajax/stream.php	95
2019-12-27 14:55:46	web_php		13109	ERR	No data to read from socket	/usr/share/zoneminder/www/includes/functions.php	2167
2019-12-27 14:55:30	web_js		12536	ERR	getStreamCmdResponse stream error: No data to read from socket - checkStreamForErrors()	?view=watch	
2019-12-27 14:55:29	web_php		12536	ERR	Timed out waiting for msg /var/run/zm/zms-114039s.sock	/usr/share/zoneminder/www/ajax/stream.php	95
2019-12-27 14:55:29	web_php		12536	ERR	No data to read from socket	/usr/share/zoneminder/www/includes/functions.php	2167
2019-12-27 14:55:29	zms_m27		13550	ERR	Can't sendto on sd 7: No such file or directory	zm_monitorstream.cpp	286
2019-12-27 14:54:23	web_js		13109	ERR	getStreamCmdResponse stream error: Socket /var/run/zm/zms-780966s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information. - checkStreamForErrors()	?view=watch	
2019-12-27 14:54:22	web_php		13109	ERR	Socket /var/run/zm/zms-780966s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.	/usr/share/zoneminder/www/includes/functions.php	2167
2019-12-27 14:37:41	web_php		13104	ERR	Socket /var/run/zm/zms-749282s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.	/usr/share/zoneminder/www/includes/functions.php	2167
2019-12-27 14:37:39	web_php		12537	ERR	Socket /var/run/zm/zms-749282s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.	/usr/share/zoneminder/www/includes/functions.php	2167
2019-12-27 14:37:39	web_js		12537	ERR	getStreamCmdResponse stream error: Socket /var/run/zm/zms-749282s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information. - checkStreamForErrors()	?view=watch	
2019-12-27 14:21:22	zmwatch		13164	ERR	Memory map file '/dev/shm/zm.mmap.27' does not exist. zmc might not be running.	zmwatch.pl
User avatar
iconnor
Posts: 2882
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: So many Errors

Post by iconnor »

I suspect you have selected jpeg for your capture Palette, or it is auto-selecting it. You might try different values for Palette. I myself have never used jpeg as the input format.
CountyLine
Posts: 63
Joined: Thu Aug 29, 2019 5:22 pm
Location: USA

Re: So many Errors

Post by CountyLine »

You can get all kinds of problems using the deb-multimedia repository. It is not coordinated with Debian and uses a naming convention that overrides the Debian repositories. It's bad news.

Been there and done that, as they say. Use the bbunge instructions in the Wiki instead:

https://wiki.zoneminder.com/Debian_10_B ... pro_Master

You should delete the deb-multimedia entry from your sources.list. You should also purge any packages that were installed from db-multimedia. If you find that causes some applications not to work, reinstall those from the Debian repos. Do these things before following the Wiki bbunge procedures.
david.froelich
Posts: 4
Joined: Fri Dec 27, 2019 3:56 pm

Re: So many Errors

Post by david.froelich »

Hello,

I deinstall all Packets from deb-multimedia an reinstall zoneminder from zoneminder.com

i change the Palette from auto to MJPG.

I got no new Errors in Log.

Thankyou for fast help!
david.froelich
Posts: 4
Joined: Fri Dec 27, 2019 3:56 pm

Re: So many Errors

Post by david.froelich »

Hello,

i Got a new Error.

I have import Monitor.sql for my Camerasetting.

Wenn i want do aktivate the USB camere (or change anny setting) i got this error:

Code: Select all

2019-12-28 13:36:41	web_php		32464	ERR	SQL-ERR 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Notes' in 'field list'', statement was 'UPDATE Monitors SET `Id`=?, `Name`=?, `Notes`=?, `ServerId`=?, `StorageId`=?, `Type`=?, `Function`=?, `Enabled`=?, `LinkedMonitors`=?, `Triggers`=?, `Device`=?, `Channel`=?, `Format`=?, `V4LMultiBuffer`=?, `V4LCapturesPerFrame`=?, `Protocol`=?, `Method`=?, `Host`=?, `Port`=?, `SubPath`=?, `Path`=?, `Options`=?, `User`=?, `Pass`=?, `Width`=?, `Height`=?, `Colours`=?, `Palette`=?, `Orientation`=?, `Deinterlacing`=?, `DecoderHWAccelName`=?, `DecoderHWAccelDevice`=?, `SaveJPEGs`=?, `VideoWriter`=?, `OutputCodec`=?, `OutputContainer`=?, `EncoderParameters`=?, `RecordAudio`=?, `RTSPDescribe`=?, `Brightness`=?, `Contrast`=?, `Hue`=?, `Colour`=?, `EventPrefix`=?, `LabelFormat`=?, `LabelX`=?, `LabelY`=?, `LabelSize`=?, `ImageBufferCount`=?, `WarmupCount`=?, `PreEventCount`=?, `PostEventCount`=?, `StreamReplayBuffer`=?, `AlarmFrameCount`=?, `SectionLength`=?, `MinSectionLength`=?, `FrameSkip`=?, `MotionFrameSkip`=?, `AnalysisFPSLimit`=?, `AnalysisUpdateDelay`=?, `MaxFPS`=?, `AlarmMaxFPS`=?, `FPSReportInterval`=?, `RefBlendPerc`=?, `AlarmRefBlendPerc`=?, `Controllable`=?, `ControlId`=?, `ControlDevice`=?, `ControlAddress`=?, `AutoStopTimeout`=?, `TrackMotion`=?, `TrackDelay`=?, `ReturnLocation`=?, `ReturnDelay`=?, `DefaultRate`=?, `DefaultScale`=?, `SignalCheckPoints`=?, `SignalCheckColour`=?, `WebColour`=?, `Exif`=?, `Sequence`=?, `ZoneCount`=?, `Refresh`=?, `DefaultCodec`=? WHERE Id=?' params:19,Vorgarten,,0,0,Local,Monitor,1,,,/dev/video0,0,255,,1,,v4l2,,,,,,,,640,480,3,0,ROTATE_0,0,,,3,1,,,# Lines beginning with # are a comment # For changing quality, use the crf option# 1 is best, 51 is worst qualitycrf=23,0,0,-1,-1,-1,-1,Event-,%N - %d/%m/%y %H:%M:%S,0,0,1,100,0,0,0,0,1,600,10,0,0,,0,,,100,6,6,0,,,,,0,,-1,,100,100,0,#0000BE,red,0,2,1,,auto,19	/usr/share/zoneminder/www/includes/database.php	152
 :| 
 
 
i allready have reinstall my zoneminder.

it is possible, that i have destroy Database, because i have import a Monitor.sql from a older Version of Zoneminder?
david.froelich
Posts: 4
Joined: Fri Dec 27, 2019 3:56 pm

Re: So many Errors

Post by david.froelich »

Hello,

i found my problem.

Between Zonminder 1.33.8 and 1.33.15 you add the field 'Notes'

so i add it in the file Monitor.sql to make it kompatible

Code: Select all

CREATE TABLE `Monitors` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Name` varchar(64) NOT NULL DEFAULT '',
   `Notes` varchar(1024) NOT NULL DEFAULT '',
  `ServerId` int(10) UNSIGNED DEFAULT NULL,
  `StorageId` smallint(5) UNSIGNED DEFAULT 0,
Locked