How to get rid of Corrupt JPEG data messages

Forum for questions and support relating to the 1.24.x releases only.
Locked
PVi1
Posts: 1
Joined: Thu Jan 13, 2011 11:35 am

How to get rid of Corrupt JPEG data messages

Post by PVi1 »

Hello all,

I have installed zoneminder 1.24.2-7ubuntu1 on Ubuntu 10.10 and it is working fine.
I use it with Logitech C270HD Webcams with help of mjpg-streamer 800x600@10fps(MJPEG) and libjpeg-turbo.

The little problem was thousands of "zmc_m3[1787]: WAR [Corrupt JPEG data: 3 extraneous bytes before marker 0xd4]" like messages in syslog and messages files.

How to get rid of it?
Modify /etc/rsyslog.d/50-default.conf this way:

:msg, regex, ".*Corrupt JPEG data: .* extraneous bytes before marker .*" ~
*.*;auth,authpriv.none -/var/log/syslog

The first line will filter "Corrupt JPEG data" messages, so it won't show in any of your log files defined on next lines(syslog,messages,etc).

After that, restart rsyslog service.
service rsyslog restart

Enjoy.

Best regards,

Peter
ragb1
Posts: 8
Joined: Wed May 19, 2010 7:04 pm

Re: How to get rid of Corrupt JPEG data messages

Post by ragb1 »

Hello:

It worked for me, I was having the same problem with my Rimax 7100 camera.

Thank you.
Locked