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?
Input not saving images - Each event labeled "New Event
-
- Posts: 8
- Joined: Tue Aug 30, 2005 3:16 pm
- Location: Las Vegas, NV
- Contact:
Input not saving images - Each event labeled "New Event
Kris Browne
Mac OSX - I upped my standards, Up Yours!
Mac OSX - I upped my standards, Up Yours!
-
- Posts: 8
- Joined: Tue Aug 30, 2005 3:16 pm
- Location: Las Vegas, NV
- Contact:
Oh, additional info:
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:
Which would make sense if it couldn't create the image... So now I'm wondering why.
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
Kris Browne
Mac OSX - I upped my standards, Up Yours!
Mac OSX - I upped my standards, Up Yours!
Try to check / repair your zm database
Regards,
Rainer
Code: Select all
mysqlcheck --all-databases --auto-repair -ppassword -u user
Rainer
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
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
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
-
- Posts: 8
- Joined: Tue Aug 30, 2005 3:16 pm
- Location: Las Vegas, NV
- Contact:
DBA check
Tried the mysql check, everything came up rosy there.
Kris Browne
Mac OSX - I upped my standards, Up Yours!
Mac OSX - I upped my standards, Up Yours!
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
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
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
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?
What's the camera, is it IP and can it do mjpeg or jpeg only?