Ok, my suspicions were correct, I can reproduce this at will. It occurs if the mySQL password is wrong. I cleared out all events, shutdown ZM, put a bad password in the conf file then started it up, of course the startup failed. Put the correct password in the conf file, started it up, and sure enough I had these 7 bogus events:
Code: Select all
Id Name Monitor Cause Time(^) Duration Frames Alarm Frames Total Score Avg. Score Max. Score
1362 Event-1362 Monitor-1 Motion 12/31 18:00:00 18946646.36 61 31 2032 65 187
1363 Event-1363 Monitor-1 Motion 12/31 18:00:00 18946646.26 62 32 2054 64 187
1365 Event-1365 Monitor-1 Signal 12/31 18:00:00 0.00 16 1 100 100 100
1364 Event-1364 Monitor-2 Signal 12/31 18:00:00 0.00 11 1 100 100 100
1366 Event-1366 Monitor-2 Signal 12/31 18:00:00 18946706.70 45 18 4203 233 303
1367 Event-1367 Monitor-2 Motion 12/31 18:00:00 18946792.13 64 44 5902 134 297
1368 Event-1368 Monitor-2 Motion 12/31 18:00:00 18946791.93 66 46 6527 141 291
I then cleared those events i.e. all events again, put a bad password in the conf file while it was running and then attempted to shut it down. Immediately got 4 more bogus events:
Code: Select all
Id Name Monitor Cause Time(^) Duration Frames Alarm Frames Total Score Avg. Score Max. Score
1369 Event-1369 Monitor-1 Motion 12/31 18:00:00 18947246.00 54 24 1338 55 184
1370 Event-1370 Monitor-1 Motion 12/31 18:00:00 18947246.31 54 24 1340 55 184
1371 Event-1371 Monitor-1 Motion 12/31 18:00:00 18947846.11 59 29 1673 57 185
1372 Event-1372 Monitor-1 Motion 12/31 18:00:00 18947845.94 52 22 1097 49 185
What I basically emulated here is what happened to me when I was building ZM from source, in the process of getting everything working properly thus doing many builds. If you make ZM then want to do a make install and you're sitting in the source directory where the build has created the default zm.conf file and try to stop ZM, it uses that default zm.conf file and not the real one in /usr/local/etc/ ergo it tries to use the wrong mySQL password and whala, you get the bogus events.
So you always have to remember to cd out of the source directory, stop ZM, cd back to the source directory, do the make install, change the password in your /usr/local/etc/zm.conf because the make install overwrites it, cd out of the source directory, and then start ZM.
The problem I have with this is:
1. the make install should *not* overwrite the /usr/local/etc/zm.conf
2. ZM should not use a zm.conf file just because it finds one in your pwd
3. the default zm.conf should be created in a subdirectory of the source directory thus eliminating #2 above, but not totally it could still happen
cordel wrote:Bogus dates are usually a sign of a badly configured MySQL server and/or an under powered machine.
Check top and see where your loads are at, If the machine is not showing signs of of being over loaded, go to dev.mysql.com and work out your configuration.
So much for an under powered machine or a bad mySQL setup. Like I said, I usually rule out the obvious before asking for help ergo crying wolf.