Input not saving images - Each event labeled "New Event

Support and queries relating to all previous versions of ZoneMinder
Locked
krisbrowne42
Posts: 8
Joined: Tue Aug 30, 2005 3:16 pm
Location: Las Vegas, NV
Contact:

Input not saving images - Each event labeled "New Event

Post by krisbrowne42 »

I discovered this quite out of the blue today, can't see why it changed, and am quite stymied to fix it.

One of my inputs quit saving real images for events it logs: Each one is listed as "New Event" regardless of what the event prefix is, it's saying there is no score, 0.00 duration, but is accurately flagging there was enough motion to register an event.

I've tried looking in the logs to match those times to errors, but haven't hit any matches yet.. Is this something people have seen before, and if not does anyone have any ideas where I might look for symptoms?
Kris Browne
Mac OSX - I upped my standards, Up Yours!
krisbrowne42
Posts: 8
Joined: Tue Aug 30, 2005 3:16 pm
Location: Las Vegas, NV
Contact:

Oh, additional info:

Post by krisbrowne42 »

Each event saves a single 0-byte image labeled 0000-mini.jpg as it's only file in the events/<feed #>/<event #> folder

Also, caught this in the zmdc.log file:

Code: Select all

Starting pending process, zmtrigger.pl
'zmtrigger.pl' started at 06/07/18 21:32:47
'zmtrigger.pl' starting at 06/07/18 21:32:47, pid = 28078
'zmtrigger.pl ' crashed at 06/07/18 21:32:47, exit status 13
Invalid JPEG file structure: two SOI markers
'zmc -m 6' crashed at 06/07/18 21:33:00, exit status 1
Use of uninitialized value in hash element at /usr/lib/zm/bin/zmdc.pl line 346, <CLIENT> line 1.
'zmc -m 6' started at 06/07/18 21:33:03
'zmc -m 6' starting at 06/07/18 21:33:03, pid = 28156
Which would make sense if it couldn't create the image... So now I'm wondering why.
Kris Browne
Mac OSX - I upped my standards, Up Yours!
Flash_
Posts: 441
Joined: Wed Jan 11, 2006 12:19 pm

Post by Flash_ »

Disk full? Permissions changed? File system damaged?

Worth a fsck and some manual writes to that partition to see if the drive/FS is working ok? Also check /ver/log/syslog and /var/log/messages to see if any more errors are showing in there.
rmo
Posts: 22
Joined: Fri Jan 21, 2005 6:57 pm
Location: Germany

Post by rmo »

Try to check / repair your zm database

Code: Select all

mysqlcheck --all-databases --auto-repair -ppassword -u user
Regards,

Rainer
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

i agree with rmo
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
krisbrowne42
Posts: 8
Joined: Tue Aug 30, 2005 3:16 pm
Location: Las Vegas, NV
Contact:

DBA check

Post by krisbrowne42 »

Tried the mysql check, everything came up rosy there.
Kris Browne
Mac OSX - I upped my standards, Up Yours!
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

it appears though it doesnt understand the images coming form the camera, you say you have done nothing? what cameras are they etc. Must admint im a bit confused here too
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Flash_
Posts: 441
Joined: Wed Jan 11, 2006 12:19 pm

Post by Flash_ »

A quick google for "two SOI markers" brings up a lot of hits, and some suggestions. Seems to be an issue with D-link cameras with a variety of software. Possibly a corrupt stream from an IP camera rather than a zoneminder/linux issue? Maybe it's sending multiple jpgs without whatever the deliminator is and zm is seeing two or more instead of one.

What's the camera, is it IP and can it do mjpeg or jpeg only?
Locked