RPM testers needed - File 1.22.0-1.8 updated 2006-03-25
RPM testers needed - File 1.22.0-1.8 updated 2006-03-25
I am fairly sure I have everything worked out for the new RPM and need some testers.
The rpm is made to work with the ZoneMinder Core 3 that I put out and is for the time being, compiled against ffmpeg 0.4.8.
UPDATE 2006-01-31
See post http://www.zoneminder.com/forums/viewto ... c&start=25
UPDATE 2006-02-01
http://www.zoneminder.com/forums/viewto ... c&start=34
UPDATE 2006-02-02
http://www.zoneminder.com/forums/viewto ... c&start=35
UPDATE 2006-02-06
http://www.zoneminder.com/forums/viewto ... c&start=40
I would highly advise that this should be a machine that does nothing else with nothing you care about on it as there may still be bugs, so a test setup is preferable. Now with the disclaimer being said, I have had no problems thus far and have been testing it for the last 24 hours. I haven't tried a fresh install with this particular package (I tested the fresh install after I made the scripts for such but not since I worked the upgrade scripts, One should not affect the other.) and I installed it as an upgrade from 1.21.4-1.4 rpm.
Testers should have experience with the previous zm packages. Post here and I will send you the package or tell you where to get it. It would be easiest if you are using ZoneMinder Core.
Any feedback for this should be in this thread
The steps for upgrading are simple:
service zm stop (assuming your upgrading, the package should stop zm on its own but never herts to be proactive)
rpm -U zm-1.22.0-0.1.fc.root.i386.rpm
service zm start
You will see zm update its /etc/zm.conf file and the database. zm should then start.
For a fresh install:
rpm -i zm-1.22.0-0.1.fc.root.i386.rpm
Edit /etc/zm.conf (add the user and password you want zm to use for the database, This will change once I learn how to blank these out)
/usr/lib/zm/bin/zminit
service zm start
service httpd start
Regards,
Corey
The rpm is made to work with the ZoneMinder Core 3 that I put out and is for the time being, compiled against ffmpeg 0.4.8.
UPDATE 2006-01-31
See post http://www.zoneminder.com/forums/viewto ... c&start=25
UPDATE 2006-02-01
http://www.zoneminder.com/forums/viewto ... c&start=34
UPDATE 2006-02-02
http://www.zoneminder.com/forums/viewto ... c&start=35
UPDATE 2006-02-06
http://www.zoneminder.com/forums/viewto ... c&start=40
I would highly advise that this should be a machine that does nothing else with nothing you care about on it as there may still be bugs, so a test setup is preferable. Now with the disclaimer being said, I have had no problems thus far and have been testing it for the last 24 hours. I haven't tried a fresh install with this particular package (I tested the fresh install after I made the scripts for such but not since I worked the upgrade scripts, One should not affect the other.) and I installed it as an upgrade from 1.21.4-1.4 rpm.
Testers should have experience with the previous zm packages. Post here and I will send you the package or tell you where to get it. It would be easiest if you are using ZoneMinder Core.
Any feedback for this should be in this thread
The steps for upgrading are simple:
service zm stop (assuming your upgrading, the package should stop zm on its own but never herts to be proactive)
rpm -U zm-1.22.0-0.1.fc.root.i386.rpm
service zm start
You will see zm update its /etc/zm.conf file and the database. zm should then start.
For a fresh install:
rpm -i zm-1.22.0-0.1.fc.root.i386.rpm
Edit /etc/zm.conf (add the user and password you want zm to use for the database, This will change once I learn how to blank these out)
/usr/lib/zm/bin/zminit
service zm start
service httpd start
Regards,
Corey
Last edited by cordel on Sun Mar 26, 2006 2:31 am, edited 12 times in total.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
count me in mate. i only have 1 fedora based and 3 mandraje based. I assume this is a fc3 rpm to test?
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: 128
- Joined: Tue Jul 12, 2005 9:59 am
- Location: australia
-
- Posts: 128
- Joined: Tue Jul 12, 2005 9:59 am
- Location: australia
thanks corey
well i be the first to have a prob
followed the instructions
heres the error
well i be the first to have a prob
followed the instructions
heres the error
Code: Select all
[root@zm ~]# service zm stop
Stopping ZoneMinder: [ OK ]
[root@zm ~]# rpm -U zm-1.22.0-0.1.fc.root.i386.rpm
error: Failed dependencies:
perl(X10::ActiveHome) is needed by zm-1.22.0-0.1.fc.root.i386
[root@zm ~]#
Code: Select all
Opp's
I apperantly put a dependancy in the wrong place. It should have carried over to the zm-x10 package. I have reuploaded a updated version. If that didn't do it...
you can get the perl-x10 package here
or you can force rpm to install the file ignoring the dependancy.
Either way should work just fine, but that dependancy should be on the zm-X10 package. I added it to the spec so hopefuly it should work and let me know if it don't.
Corey
I apperantly put a dependancy in the wrong place. It should have carried over to the zm-x10 package. I have reuploaded a updated version. If that didn't do it...
you can get the perl-x10 package here
or you can force rpm to install the file ignoring the dependancy.
Either way should work just fine, but that dependancy should be on the zm-X10 package. I added it to the spec so hopefuly it should work and let me know if it don't.
Corey
-
- Posts: 128
- Joined: Tue Jul 12, 2005 9:59 am
- Location: australia
-
- Posts: 128
- Joined: Tue Jul 12, 2005 9:59 am
- Location: australia
The clue could be in any of the following:
the upgrade.log will be empty as the way things happen I'm not using zmupdate. zmupdate is interactive thus I can't use it in the scripts and have to use a script just for the RPM
Corey
Code: Select all
/var/log/
messages
syslog
/httpd/error_log
/zm/
zmdc.log
zmpkg.log
Corey
Willing to test
Hello Corey, I am willing to give it a try. I have a dedicated "test" machine with an 8 port / 8 chip video capture card using 6 video sources.
-
- Posts: 128
- Joined: Tue Jul 12, 2005 9:59 am
- Location: australia
messages.log snipit
httpd
zmdc.log
Code: Select all
Jan 24 20:22:01 zm zmdc[3470]: INF ['zmfilter.pl' starting at 06/01/24 20:22:01, pid = 3520]
Jan 24 20:22:01 zm zmdc[3520]: INF ['zmfilter.pl' started at 06/01/24 20:22:01]
Jan 24 20:22:02 zm zmdc[3470]: INF [Starting pending process, zma -m 1]
Jan 24 20:22:02 zm zmdc[3521]: INF ['zma -m 1' started at 06/01/24 20:22:02]
Jan 24 20:22:02 zm zmdc[3470]: INF ['zma -m 1' starting at 06/01/24 20:22:02, pid = 3521]
Jan 24 20:22:02 zm zma_m1[3521]: INF [Debug Level = 0, Debug Log = <none>]
Jan 24 20:22:02 zm zma_m1[3521]: ERR [Can't run query: Unknown column 'Enabled' in 'field list']
Jan 24 20:22:02 zm zmdc[3470]: ERR ['zma -m 1' crashed, exit status 30]
Jan 24 20:22:02 zm su(pam_unix)[3517]: session closed for user apache
Jan 24 20:22:02 zm su(pam_unix)[3524]: session opened for user apache by (uid=0)
Code: Select all
[Tue Jan 24 19:34:11 2006] [error] [client 192.168.1.40] Directory index forbidden by rule: /var/www/html/
[Tue Jan 24 19:35:06 2006] [error] [client 192.168.1.40] Premature end of script headers: zms, referer: http://192.168.1.250/zm/index.php?view=watchfeed&mode=&mid=1&scale=100&control=
Code: Select all
24/01/06 20:31:47.538359 zmdc[3470].INF ['zmc -d /dev/video0' starting at 06/01/24 20:31:47, pid = 4446]
24/01/06 20:31:47.539755 zmdc[4446].INF ['zmc -d /dev/video0' started at 06/01/24 20:31:47]
24/01/06 20:31:47.639251 zmdc[3470].ERR ['zmc -d /dev/video0' crashed, exit status 30
Okay, apparently the database didn't update correctly. I'll have to go through it when I get back home
There are a few ways to get things working till I can get back.
Run the zm_update-1.21.4.sql (assuming you had 1.21.4 installed previous) you might need to restore your backup db (assuming that you backed up your DB).
Or drop the db and load /usr/lib/zm/init/zmschema.sql (fresh DB, you would lose any previous events)
There are a few ways to get things working till I can get back.
Run the zm_update-1.21.4.sql (assuming you had 1.21.4 installed previous) you might need to restore your backup db (assuming that you backed up your DB).
Or drop the db and load /usr/lib/zm/init/zmschema.sql (fresh DB, you would lose any previous events)
-
- Posts: 128
- Joined: Tue Jul 12, 2005 9:59 am
- Location: australia
whats the proper way to delete the dbcordel wrote:Okay, apparently the database didn't update correctly. I'll have to go through it when I get back home
There are a few ways to get things working till I can get back.
Run the zm_update-1.21.4.sql (assuming you had 1.21.4 installed previous) you might need to restore your backup db (assuming that you backed up your DB).
Or drop the db and load /usr/lib/zm/init/zmschema.sql (fresh DB, you would lose any previous events)
i dont think it deleted
heres the putty
[root@zm ~]# /usr/lib/zm/init/zmschema.sql
/usr/lib/zm/init/zmschema.sql: line 1: --: command not found
/usr/lib/zm/init/zmschema.sql: line 2: --: command not found
/usr/lib/zm/init/zmschema.sql: line 3: --: command not found
/usr/lib/zm/init/zmschema.sql: line 7: --: command not found
/usr/lib/zm/init/zmschema.sql: line 8: Config: command not found
/usr/lib/zm/init/zmschema.sql: line 8: --: command not found
/usr/lib/zm/init/zmschema.sql: line 9: --: command not found
/usr/lib/zm/init/zmschema.sql: line 11: syntax error near unexpected token `('
/usr/lib/zm/init/zmschema.sql: line 11: `CREATE TABLE /*!32312 IF NOT EXISTS*/ Config ('