FC3 zm-1.22.2 rpm is ready for testing
-
- Posts: 128
- Joined: Tue Jul 12, 2005 9:59 am
- Location: australia
I played with zm.conf & zm.conf.rpmnew & when I put my zm user & zm pass into the rpmnew & then changed the name of rpmnew to zm.conf & renamed my zm.conf & changed permissions of the zm.conf, I could stop zm & start it, but when I started it, I got:Upgrade ZoneMinder database: Update agent starting at 06/06/12 21:29:07
Initiating database upgrade to version 1.22.2
Upgrading database to version 1.22.2
ERROR 1060 at line 8: Duplicate column name 'LinkedMonitors'
Output:
Command 'mysql -hlocalhost -ume -pmypass zm < /usr/lib/zm/upgrade/zm_update- 1.22.0.sql' exited with status: 1
So, it appears the original rpm upgrade didn't upgrade the database, but it still installed everything else OK.
Initiating database upgrade to version 1.22.2
Upgrading database to version 1.22.2
ERROR 1060 at line 8: Duplicate column name 'LinkedMonitors'
Output:
Command 'mysql -hlocalhost -ume -pmypass zm < /usr/lib/zm/upgrade/zm_update- 1.22.0.sql' exited with status: 1
So, it appears the original rpm upgrade didn't upgrade the database, but it still installed everything else OK.
Had the same error as electron. I changed the zm.conf.rpmnew to zm.conf, now it appears to have upgraded to 1.22.2. But it's killed off 3 of my cameras which I now can't seem to get to work. One card (4 port single chip) and one port ( 4 port 4 chip) on another card are now not working.
06/13/06 17:22:57.024217 zmdc[11475].INF ['zmc -d /dev/video1' started at 06/06/13 17:22:57]
06/13/06 17:22:57.025257 zmdc[4394].INF ['zmc -d /dev/video1' starting at 06/06/13 17:22:57, pid = 11475]
06/13/06 17:22:57.101220 zmdc[4394].INF ['zma -m 9' crashed, signal 6]
06/13/06 17:22:57.101507 zmdc[4394].INF [Starting pending process, zma -m 9]
06/13/06 17:22:57.102575 zmdc[11477].INF ['zma -m 9' started at 06/06/13 17:22:57]
06/13/06 17:22:57.124709 zmdc[4394].INF ['zma -m 9' starting at 06/06/13 17:22:57, pid = 11477]
06/13/06 17:22:57.126344 zmdc[4394].INF ['zmc -d /dev/video1' crashed, signal 6]
06/13/06 17:28:02.037726 zmdc[4394].INF [Starting pending process, zmc -d /dev/video4]
06/13/06 17:28:02.038914 zmdc[11542].INF ['zmc -d /dev/video4' started at 06/06/13 17:28:02]
06/13/06 17:28:02.040887 zmdc[4394].INF ['zmc -d /dev/video4' starting at 06/06/13 17:28:02, pid = 11542]
06/13/06 17:28:02.087656 zmdc[4394].INF ['zmc -d /dev/video4' crashed, signal 6]
Sika
06/13/06 17:22:57.024217 zmdc[11475].INF ['zmc -d /dev/video1' started at 06/06/13 17:22:57]
06/13/06 17:22:57.025257 zmdc[4394].INF ['zmc -d /dev/video1' starting at 06/06/13 17:22:57, pid = 11475]
06/13/06 17:22:57.101220 zmdc[4394].INF ['zma -m 9' crashed, signal 6]
06/13/06 17:22:57.101507 zmdc[4394].INF [Starting pending process, zma -m 9]
06/13/06 17:22:57.102575 zmdc[11477].INF ['zma -m 9' started at 06/06/13 17:22:57]
06/13/06 17:22:57.124709 zmdc[4394].INF ['zma -m 9' starting at 06/06/13 17:22:57, pid = 11477]
06/13/06 17:22:57.126344 zmdc[4394].INF ['zmc -d /dev/video1' crashed, signal 6]
06/13/06 17:28:02.037726 zmdc[4394].INF [Starting pending process, zmc -d /dev/video4]
06/13/06 17:28:02.038914 zmdc[11542].INF ['zmc -d /dev/video4' started at 06/06/13 17:28:02]
06/13/06 17:28:02.040887 zmdc[4394].INF ['zmc -d /dev/video4' starting at 06/06/13 17:28:02, pid = 11542]
06/13/06 17:28:02.087656 zmdc[4394].INF ['zmc -d /dev/video4' crashed, signal 6]
Sika
From the posts I'm assuming this is on the i386 package and not the x86_64? Altough the problem probably exists for both
I'll look into it tonight and see if I can duplicate it. When I tested I had loaded 1.21.3 rpm and then updated. I had not tried from 1.22.0 which seems to be a issue.
The duplicate error you see is because the database was already updated but, appearently the zm.conf is not properly updating from 1.22.0.
To recover, reload your database backup and run zmupdate manualy with the correct zm.conf in place. That should cure the camera problems.
This works with FC3 and CTU3, I'll post a new rpm for testing asap.
Regards,
Corey
I'll look into it tonight and see if I can duplicate it. When I tested I had loaded 1.21.3 rpm and then updated. I had not tried from 1.22.0 which seems to be a issue.
The duplicate error you see is because the database was already updated but, appearently the zm.conf is not properly updating from 1.22.0.
To recover, reload your database backup and run zmupdate manualy with the correct zm.conf in place. That should cure the camera problems.
This works with FC3 and CTU3, I'll post a new rpm for testing asap.
Regards,
Corey
Dear Corey:cordel wrote: To recover, reload your database backup and run zmupdate manualy with the correct zm.conf in place. That should cure the camera problems.
This works with FC3 and CTU3, I'll post a new rpm for testing asap.
Corey
Could you please be a little bit specific on how to recover? I am kind of not understand what you mean for the recovery.
Thanks a lot.
Reload the backup of your database that you should have made before upgrading the package.
The database should be intact as zmupdate does all the work and I haven't seen any issues myself other than the above post and may be an odd case or maybe the update process was interrupted.
The issue lays in the /etc/zm.conf is not updating properly. Normally in an rpm it's considered bad form to have it updated automatically and the new config is always loaded as *.rpmnew as a standard.
You can rename zm.conf as zm.conf.old (or anything you want for that matter) edit the zm.conf.rpm to reflect the proper database login info (as in your old config file) and rename it to zm.conf.
Regards,
Corey
The database should be intact as zmupdate does all the work and I haven't seen any issues myself other than the above post and may be an odd case or maybe the update process was interrupted.
The issue lays in the /etc/zm.conf is not updating properly. Normally in an rpm it's considered bad form to have it updated automatically and the new config is always loaded as *.rpmnew as a standard.
You can rename zm.conf as zm.conf.old (or anything you want for that matter) edit the zm.conf.rpm to reflect the proper database login info (as in your old config file) and rename it to zm.conf.
Regards,
Corey
Upgrade and install issue
Cordel or somebody...
Needing the features of the lastest, I was using the FC3 iso release which was easy to install and configure.
I tried the Mandriva install, but trying to using 4 300gb drives, it didn't like me. To my suprise you came out with the FC3 1.22 update rpm.
I re-imaged with the FC3 iso, and attempt to install the RPM for the upgrade. It continuously fails stating that X10 / X10(Activehome) package is not found. I have not gone through and done any initial configuration to the iso... I just imaged the system and tryed to apply updates.
1. Is that the wrong way - Must I install image, Configure and start ZM, then try to apply the new 1.22 rpm?
2. Why do I get the missing X10 / X10 activehome package
I am a windows admin, but from reading all posts can identify the steps needed to install ZM from the iso within 30 minutes for 8 cameras. The issue I have always had was upgrading. Any step by step instructions / explaination of why it says packages are missing would be appreciated.
Thank you for all that reply to this upgrade patch.
Needing the features of the lastest, I was using the FC3 iso release which was easy to install and configure.
I tried the Mandriva install, but trying to using 4 300gb drives, it didn't like me. To my suprise you came out with the FC3 1.22 update rpm.
I re-imaged with the FC3 iso, and attempt to install the RPM for the upgrade. It continuously fails stating that X10 / X10(Activehome) package is not found. I have not gone through and done any initial configuration to the iso... I just imaged the system and tryed to apply updates.
1. Is that the wrong way - Must I install image, Configure and start ZM, then try to apply the new 1.22 rpm?
2. Why do I get the missing X10 / X10 activehome package
I am a windows admin, but from reading all posts can identify the steps needed to install ZM from the iso within 30 minutes for 8 cameras. The issue I have always had was upgrading. Any step by step instructions / explaination of why it says packages are missing would be appreciated.
Thank you for all that reply to this upgrade patch.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
you need that active home rpm to be installed, i havnt u/g my ctu install yet but you should be able to find the rpm you need via google or rpmfind etc
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
rpmfind
That's the issue. I've scoured the web and cannot find the right rpm. I would figure it would be included in the install or even located with a link somewhere in here, but I cannot find it.
I've tried installing various links found through google and haven't figured out the exact one. James, I know you'reall over this board, can ya lend a Polack a hand here?
I've tried installing various links found through google and haven't figured out the exact one. James, I know you'reall over this board, can ya lend a Polack a hand here?
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
have you tried looking here?
http://www.computerntelecom.com/pub/lin ... RPMS/i386/
http://www.computerntelecom.com/pub/lin ... RPMS/i386/
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
New i386 package is up for test. I tested here by loading 1.21.3 then upgraded to 1.22.0 then to 1.22.2 and also from 1.21.3 directly to 1.22.2 and had no problems.
The 64 bit package will take some doing, I already upgraded that machine to FC5 so I'll have to reload it
As for X10 active home, the package is perl-X10
Cheers,
Corey
The 64 bit package will take some doing, I already upgraded that machine to FC5 so I'll have to reload it
As for X10 active home, the package is perl-X10
Cheers,
Corey
Hi Corey,
I'll give it a shot this evening upgrading from V1.21.4 to latest.
Should I use yum update or rpm -Uvh zm-1.22.2-0.0.fc.root.i386.rpm ? Probably the former.
I have your repos listed in my yum repo.
Edit - just checked your server and see it as a RPM, so it's the latter I guess until you put it in your repo
Cheers
Tim
I'll give it a shot this evening upgrading from V1.21.4 to latest.
Should I use yum update or rpm -Uvh zm-1.22.2-0.0.fc.root.i386.rpm ? Probably the former.
I have your repos listed in my yum repo.
Edit - just checked your server and see it as a RPM, so it's the latter I guess until you put it in your repo
Cheers
Tim