zmaudit.pl error ... database monitor does not exist ... del

Support and queries relating to all previous versions of ZoneMinder
Locked
rusa
Posts: 4
Joined: Sun Dec 07, 2003 3:43 pm

zmaudit.pl error ... database monitor does not exist ... del

Post by rusa »

Hi there,

I have managed to install zoneminder 0.9.15 and running zmc -d 0 and zma -m 1 without any problem. Log messages shows that both zmc & zma are capturing well.

However when running zmaudit.pl -y, there is a message "Database monitor 'New' does not exist in filesystem, deleting". I have checked the monitor database (MySQL table) and 'New' was there. I also tried deleting and creating new monitors using different names but the message is still the same (except that the monitor name changed according to the new name).

Did I miss anything?

The following is the log messages when running zmc -d 0 and zma - m 1:

----

Dec 30 20:50:11 home zmc-d0[9068]: INF [Debug Level = 0, Debug Log = ]
Dec 30 20:50:11 home zmc-d0[9068]: INF [Got 1 monitors]
Dec 30 20:50:11 home zmc-d0[9068]: INF [X:0]
Dec 30 20:50:11 home zmc-d0[9068]: INF [Y:0]
Dec 30 20:50:11 home zmc-d0[9068]: INF [W:325]
Dec 30 20:50:11 home zmc-d0[9068]: INF [H:255]
Dec 30 20:50:11 home zmc-d0[9068]: ERR [Failed to set window attributes: Bad address]
Dec 30 20:50:11 home zmc-d0[9068]: INF [P:3]
Dec 30 20:50:11 home zmc-d0[9068]: INF [D:24]
Dec 30 20:50:11 home zmc-d0[9068]: INF [B:32768]
Dec 30 20:50:11 home zmc-d0[9068]: INF [h:32768]
Dec 30 20:50:11 home zmc-d0[9068]: INF [Cl:32512]
Dec 30 20:50:11 home zmc-d0[9068]: INF [Cn:27648]
Dec 30 20:50:11 home zmc-d0[9068]: INF [vmb.frames = 2]
Dec 30 20:50:11 home zmc-d0[9068]: INF [vmb.size = 4259840]
Dec 30 20:50:11 home zmc-d0[9068]: INF [C:0]
Dec 30 20:50:11 home zmc-d0[9068]: INF [F:0]
Dec 30 20:50:11 home zmc-d0[9068]: INF [Fl:3]
Dec 30 20:50:11 home zmc-d0[9068]: INF [T:1]
Dec 30 20:50:11 home zmc-d0[9068]: INF [X:0]
Dec 30 20:50:11 home zmc-d0[9068]: INF [Y:0]
Dec 30 20:50:11 home zmc-d0[9068]: INF [W:325]
Dec 30 20:50:11 home zmc-d0[9068]: INF [H:255]
Dec 30 20:50:11 home zmc-d0[9068]: INF [P:3]
Dec 30 20:50:11 home zmc-d0[9068]: INF [D:24]
Dec 30 20:50:11 home zmc-d0[9068]: INF [B:32768]
Dec 30 20:50:11 home zmc-d0[9068]: INF [h:32768]
Dec 30 20:50:11 home zmc-d0[9068]: INF [Cl:32512]
Dec 30 20:50:11 home zmc-d0[9068]: INF [Cn:27648]
Dec 30 20:50:11 home zmc-d0[9068]: INF [monitor mode=1]
Dec 30 20:50:11 home zmc-d0[9068]: INF [shm.size=24862948]
Dec 30 20:50:12 home zmc-d0[9068]: INF [Initialised zone 0/All - 1 - 325x255 - Rgb:ff0000, AT:15, MnAP:50, MxAP:75000, FB:3x3, MnFP:50, MxFP:50000, MnBS:10, MxBS:0, MnB:0, MxB:0]
Dec 30 20:50:12 home zmc-d0[9068]: INF [Monitor New has function 2]
Dec 30 20:50:12 home zmc-d0[9068]: INF [Monitor New LBF = '%%s - %y/%m/%d %H:%M:%S', LBX = 0, LBY = 0]
Dec 30 20:50:12 home zmc-d0[9068]: INF [Monitor New IBC = 100, WUC = 25, pEC = 10, PEC = 10, FRI = 1000, RBP = 10]
Dec 30 20:50:12 home zmc-d0[9068]: INF [Got 1 zones for monitor New]
Dec 30 20:50:12 home zmc-d0[9068]: INF [Initialised zone 1/All - 1 -325x255 - Rgb:ff0000, AT:25, MnAP:2486, MxAP:62156, FB:3x3, MnFP:2486, MxFP:62156, MnBS:1657, MxBS:0, MnB:1, MxB:0]
Dec 30 20:50:12 home zmc-d0[9068]: INF [Loaded monitor 1(New), 1 zones]
Dec 30 20:50:12 home zmc-d0[9068]: INF [Starting Capture]
Dec 30 20:50:14 home zma-m1[9083]: INF [Debug Level = 0, Debug Log = ]
Dec 30 20:50:14 home zma-m1[9083]: INF [Got 1 monitors]
Dec 30 20:50:14 home zma-m1[9083]: INF [monitor mode=2]
Dec 30 20:50:14 home zma-m1[9083]: INF [shm.size=24862948]
Dec 30 20:50:14 home zma-m1[9083]: INF [Initialised zone 0/All - 1 - 325x255 - Rgb:ff0000, AT:15, MnAP:50, MxAP:75000, FB:3x3, MnFP:50, MxFP:50000, MnBS:10, MxBS:0, MnB:0, MxB:0]
Dec 30 20:50:14 home zma-m1[9083]: INF [Monitor New has function 2]
Dec 30 20:50:14 home zma-m1[9083]: INF [Monitor New LBF = '%%s - %y/%m/%d %H:%M:%S', LBX = 0, LBY = 0]
Dec 30 20:50:14 home zma-m1[9083]: INF [Monitor New IBC = 100, WUC = 25, pEC = 10, PEC = 10, FRI = 1000, RBP = 10]
Dec 30 20:50:14 home zma-m1[9083]: INF [Got 1 zones for monitor New]
Dec 30 20:50:14 home zma-m1[9083]: INF [Initialised zone 1/All - 1 - 325x255 - Rgb:ff0000, AT:25, MnAP:2486, MxAP:62156, FB:3x3, MnFP:2486, MxFP:62156, MnBS:1657, MxBS:0, MnB:1, MxB:0]
Dec 30 20:50:14 home zma-m1[9083]: INF [Loaded monitor 1(New), 1 zones]
Dec 30 20:50:14 home zma-m1[9083]: INF [Warming up]
Dec 30 20:51:17 home zmc-d0[9068]: INF [New: 1000 - Capturing at 15.38 fps]
Dec 30 20:51:26 home zma-m1[9083]: INF [New: 1000 - Processing at 13.89 fps]
Dec 30 20:52:16 home zmc-d0[9068]: INF [New: 2000 - Capturing at 16.95 fps]
Dec 30 20:52:57 home zma-m1[9083]: INF [New: 2000 - Processing at 10.99 fps]
Dec 30 20:53:17 home zmc-d0[9068]: INF [New: 3000 - Capturing at 16.39 fps]
Dec 30 20:54:12 home zma-m1[9083]: INF [New: 3000 - Processing at 13.33 fps]
Dec 30 20:54:25 home zmc-d0[9068]: INF [New: 4000 - Capturing at 14.71 fps]
Dec 30 20:55:22 home zmc-d0[9068]: INF [New: 5000 - Capturing at 17.54 fps]
Dec 30 20:55:37 home zma-m1[9083]: INF [New: 4000 - Processing at 11.76 fps]
Dec 30 20:56:20 home zmc-d0[9068]: INF [New: 6000 - Capturing at 17.24 fps]
Dec 30 20:56:55 home zma-m1[9083]: INF [New: 5000 - Processing at 12.82 fps]
Dec 30 20:57:27 home zmc-d0[9068]: INF [New: 7000 - Capturing at 14.93 fps]

---------

Tue Dec-30,/dev/pts/0>zmaudit.pl -y
Database monitor 'New' does not exist in filesystem, deleting

------

Any help would be much appreciated.

Tks,
Rusa
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: zmaudit.pl error ... database monitor does not exist ...

Post by zoneminder »

Hi Rusa,

I wonder if in this might be that the directory for your monitor has not been created yet. This may be because perhaps the permissions do not allow it to be created or perhaps just because it gets created only when required (I can't check the code at the moment). Try generating an event (if you haven't already) and seeing if it gets created then, otherwise check that apache has adequate permissions on the 'events' directory.

Cheers,

Phil,
rusa
Posts: 4
Joined: Sun Dec 07, 2003 3:43 pm

Re: zmaudit.pl error ... database monitor does not exist ...

Post by rusa »

Hi Phil,

Happy New Year 2004!

I was running zmc and zma manually from the command line. I don't know how to create an event yet. I can't even see the images (there wasn't any image file at all at the images directory) eventhough the log messages said that I am capturing at xxx fps. BTW I have checked my capture card and it's OK.

I tried creating a new directory (New) under the bin/events directory but zmaudit.pl still gave the same message.

I used --with-webuser=sevr and --with-webgroup=www during configure, and that's my apache user and group. My bin directory is as follows:

root:home,/usr/local/zminder/bin
2422.67k,Thu Jan-01,/dev/pts/0>l
total 2412
drwxr-sr-x 3 root root 4096 Jan 1 08:49 .
drwxr-sr-x 3 root root 4096 Dec 9 20:49 ..
drwxr-sr-x 4 root www 4096 Dec 30 20:32 events
-rwxr-xr-x 1 root root 548257 Jan 1 08:49 zma
-rwxr-xr-x 1 root root 10035 Jan 1 08:49 zmaudit.pl
-rwxr-xr-x 1 root root 566802 Jan 1 08:49 zmc
-rwxr-xr-x 1 root root 15810 Jan 1 08:49 zmdc.pl
-rwxr-xr-x 1 root root 570226 Jan 1 08:49 zmf
-rwxr-xr-x 1 root root 21991 Jan 1 08:49 zmfilter.pl
-rwsr-xr-x 1 root root 76659 Jan 1 08:49 zmfix
-rwxr-xr-x 1 root root 7046 Jan 1 08:49 zmpkg.pl
-rwxr-xr-x 1 root root 565519 Jan 1 08:49 zmu
-rwxr-xr-x 1 root root 6820 Jan 1 08:49 zmvideo.pl
-rwxr-xr-x 1 root root 5718 Jan 1 08:49 zmwatch.pl
-rwxr-xr-x 1 root root 19603 Jan 1 08:49 zmx10.pl


Tks,
Rusa
Locked