Page 1 of 1

Input not saving images - Each event labeled "New Event

Posted: Wed Jul 19, 2006 4:29 am
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?

Oh, additional info:

Posted: Wed Jul 19, 2006 4:36 am
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.

Posted: Wed Jul 19, 2006 6:24 am
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.

Posted: Wed Jul 19, 2006 6:44 am
by rmo
Try to check / repair your zm database

Code: Select all

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

Rainer

Posted: Wed Jul 19, 2006 7:05 am
by jameswilson
i agree with rmo

DBA check

Posted: Wed Jul 19, 2006 10:29 am
by krisbrowne42
Tried the mysql check, everything came up rosy there.

Posted: Wed Jul 19, 2006 5:40 pm
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

Posted: Thu Jul 20, 2006 6:38 am
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?