1.22.0 RPMs for Mandrake / Mandriva

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

1.22.0 RPMs for Mandrake / Mandriva

Post by rdmelin »

Use at your own risk :)

I have at least tested upgrading from 1.21.4 on both Mandrake 10.1 and Mandriva 2006. They work here.

Get the Mandrake 10.1 RPM here:
http://www.elltel.net/melins/mdk_10.1/RPMS/

For Mandriva 2006 here:
http://www.elltel.net/melins/mdv_2006/

And thanks to Phil for ZM, to Serg Oskin for showing us how to package it, and to Corey for a LOT of hard work on this package.

Best regards to the whole ZM gang.

Ross
pcalleros
Posts: 56
Joined: Sun Oct 02, 2005 4:53 pm

Mandriva 2006

Post by pcalleros »

Working well here. Thank you Corey and the whole "gang"! Great program!
johnnyzone
Posts: 5
Joined: Thu Mar 02, 2006 2:11 pm
Location: UK

Post by johnnyzone »

Upgraded from the original 1.21.3 live cd install & all is well.
dowloaded both RPMs zm-1.21.4-4_mdk...... & zm-1.22.0-1.6_mdk.... from http://www.elltel.net/melins/mdk_10.1/RPMS/
ran as root

Code: Select all

[/home/user/tmp/zm1.21.4]# rpm -Uvh zm-1.21.4-4_mdk101.i586.rpm
error: Failed dependencies:
        perl-Archive-Tar is needed by zm-1.21.4-4_mdk101
        perl-Archive-Zip is needed by zm-1.21.4-4_mdk101
from KDE menu
System>Configuration>Packaging>Install Software
then search for 'perl-Archive' & install the above 2 missing packages, then try installation again & it installed & stopped & restarted the service

Code: Select all

[/home/user/tmp/zm1.21.4]# rpm -Uvh zm-1.21.4-4_mdk101.i586.rpm
Preparing...                ########################################### [100%]
   1:zm                     ########################################### [100%]
Shutting down httpd2: [  OK  ]
Starting httpd2: [  OK  ]
then ran

Code: Select all

 /home/user/tmp/zm1.22.0-1.6]# rpm -Uvh zm-1.22.0-1.6_mdk101.i586.rpm
Preparing...                ########################################### [100%]
   1:zm                     warning: /etc/zm.conf created as /etc/zm.conf.rpmnew
########################################### [100%]

it did its installation but did not appear to stop & restart the service



so i did

Code: Select all

[/home/user/tmp/zm1.22.0-1.6]# service zm stop
Stopping ZoneMinder: Bareword "ZM_RUN_AUDIT" not allowed while "strict subs" in
use at /usr/lib/zm/bin/zmpkg.pl line 206.
Execution of /usr/lib/zm/bin/zmpkg.pl aborted due to compilation errors.
                                                                [FAILED]




then did

Code: Select all

[/home/user/tmp/zm1.22.0-1.6]# service zm start
Upgrade ZoneMinder database: Update agent starting at 06/03/02 13:13:54

Initiating database upgrade to version 1.22.0

Upgrading database to version 1.22.0

Database successfully upgraded from version 1.21.3.
Updating events. This may take a few minutes. Please wait.
Updating monitor sequences. Please wait.
Updating saved filters. Please wait.

Database successfully upgraded from version 1.21.4.
Updating zones. Please wait.
Updating run states. Please wait.
Loading config from DB
No option 'ZM_AUTH_METHOD' found, removing at /usr/lib/perl5/site_perl/5.8.5/Zon
eMinder/ConfigAdmin.pm line 1574.
No option 'ZM_AUTH_SECRET' found, removing at /usr/lib/perl5/site_perl/5.8.5/Zon
eMinder/ConfigAdmin.pm line 1574.
No option 'ZM_FFMPEG_OPTIONS' found, removing at /usr/lib/perl5/site_perl/5.8.5/
ZoneMinder/ConfigAdmin.pm line 1574.
No option 'ZM_VIDEO_STREAM_METHOD' found, removing at /usr/lib/perl5/site_perl/5                                                     .8.5/ZoneMinder/ConfigAdmin.pm line 1574.
No option 'ZM_VIDEO_TIMED_FRAMES' found, removing at /usr/lib/perl5/site_perl/5.                                                     8.5/ZoneMinder/ConfigAdmin.pm line 1574.
No option 'ZM_VIDEO_LIVE_FORMAT' found, removing at /usr/lib/perl5/site_perl/5.8                                                     .5/ZoneMinder/ConfigAdmin.pm line 1574.
No option 'ZM_VIDEO_REPLAY_FORMAT' found, removing at /usr/lib/perl5/site_perl/5                                                     .8.5/ZoneMinder/ConfigAdmin.pm line 1574.
No option 'ZM_WEB_P_REFRESH_MAIN' found, removing at /usr/lib/perl5/site_perl/5.                                                     8.5/ZoneMinder/ConfigAdmin.pm line 1574.
No option 'ZM_WEB_P_REFRESH_IMAGE' found, removing at /usr/lib/perl5/site_perl/5                                                     .8.5/ZoneMinder/ConfigAdmin.pm line 1574.
Saving config to DB

Database upgrade to version 1.22.0 successful.
Update agent exiting at 06/03/02 13:13:59
Update agent starting at 06/03/02 13:13:59

Freshening configuration in database
Loading config from DB
Saving config to DB
Update agent exiting at 06/03/02 13:13:59
                                                                [  OK  ]
Starting ZoneMinder:                                            [  OK  ]




I don't know if this is the correct way to do it, i went through the first step

Code: Select all

rpm -Uvh zm-1.21.4-4_mdk...
just to be sure & hopefully not break anything!!

zm running on 1.7G athalon 120GB drive 2 video cameras on a cheap capture card £15.00 on ebay
http://cgi.ebay.co.uk/4-Channel-PCI-DVR ... dZViewItem
type of thing.
well done Ross and all the rest of the coding team, all seems good so far, i'll keep an eye on the box for a few days!!
John
KegRaider
Posts: 25
Joined: Mon Sep 05, 2005 5:06 am
Location: Townsville/Queensland/Australia

Post by KegRaider »

OMG John! Thanks heaps for your information. That helped me after I decided to upgrade from the Livecd version 1.21.3 to 1.22.2. I kept getting mysql fetch errors etc in the main page.

I was reading through you upgrade guide, and saw the 'service zm start' bit, after issuing that via ssh the main page worked again(i'm 800Km away), as i wasn't really game to do a reboot after kinda breaking it.

Code: Select all

Initiating database upgrade to version 1.22.2

Upgrading database to version 1.22.2

Database successfully upgraded from version 1.21.3.
Updating events. This may take a few minutes. Please wait.
Updating monitor sequences. Please wait.
Updating saved filters. Please wait.

Database successfully upgraded from version 1.21.4.
Updating zones. Please wait.
Updating run states. Please wait.

Database successfully upgraded from version 1.22.0.
Updating monitors. Please wait.
Updating mail configuration. Please wait.

Database successfully upgraded from version 1.22.1.
Loading config from DB
No option 'ZM_AUTH_METHOD' found, removing at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder/ConfigAdmin.pm line 1627.
No option 'ZM_AUTH_SECRET' found, removing at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder/ConfigAdmin.pm line 1627.
No option 'ZM_NO_MAX_FPS_ON_ALARM' found, removing at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder/ConfigAdmin.pm line 1627.
No option 'ZM_FFMPEG_OPTIONS' found, removing at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder/ConfigAdmin.pm line 1627.
No option 'ZM_VIDEO_STREAM_METHOD' found, removing at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder/ConfigAdmin.pm line 1627.
No option 'ZM_VIDEO_TIMED_FRAMES' found, removing at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder/ConfigAdmin.pm line 1627.
No option 'ZM_VIDEO_LIVE_FORMAT' found, removing at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder/ConfigAdmin.pm line 1627.
No option 'ZM_VIDEO_REPLAY_FORMAT' found, removing at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder/ConfigAdmin.pm line 1627.
No option 'ZM_WEB_H_IMAGE_SCALING' found, removing at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder/ConfigAdmin.pm line 1627.
No option 'ZM_WEB_M_IMAGE_SCALING' found, removing at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder/ConfigAdmin.pm line 1627.
No option 'ZM_WEB_L_IMAGE_SCALING' found, removing at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder/ConfigAdmin.pm line 1627.
No option 'ZM_WEB_P_REFRESH_MAIN' found, removing at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder/ConfigAdmin.pm line 1627.
No option 'ZM_WEB_P_REFRESH_IMAGE' found, removing at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder/ConfigAdmin.pm line 1627.
Saving config to DB

Database upgrade to version 1.22.2 successful.
Update agent exiting at 06/07/28 17:01:20
Update agent starting at 06/07/28 17:01:20

Freshening configuration in database
Loading config from DB
Saving config to DB
Update agent exiting at 06/07/28 17:01:20
                                                                [  OK  ]
Starting ZoneMinder:                                  [  OK  ]

Thanks!

--> KegRaider
Locked