ZMaudit.pl error

Forum for questions and support relating to the 1.31.x releases only.
Locked
gsaindon
Posts: 46
Joined: Fri Apr 13, 2018 2:02 pm

ZMaudit.pl error

Post by gsaindon »

Hi,
I get this error running zmaudit.pl:

Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/ZoneMinder/Event.pm line 350.
08/20/2018 08:17:46.382603 zmaudit[21644].WAR [Can't Delete event 6573594 from Monitor 90 StartTime: from main:479]
Use of uninitialized value in concatenation (.) or string at /usr/bin/zmaudit.pl line 190.
08/20/2018 08:17:47.857969 zmaudit[21644].INF [Auditing All Storage Areas on Server ]

It's seems to get stuck there so my database keeps on growing. Any idea on how to solve this?

Thanks,
gsaindon
Posts: 46
Joined: Fri Apr 13, 2018 2:02 pm

Re: ZMaudit.pl error

Post by gsaindon »

I found the event in the list and archived it. It seems to have solved the problem.
User avatar
iconnor
Posts: 2900
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: ZMaudit.pl error

Post by iconnor »

The issue here is that the record in the db has no StartTime. We use the StartTime to create the path to the event, so if there is no starttime, we can't figure out where the event is stored.

There used to be a bug that could cause events to have an empty Start Time. I have long since fixed that bug so this should not be an issue going forward.
Locked