RPM testers needed - File 1.22.0-1.8 updated 2006-03-25

Support and queries relating to all previous versions of ZoneMinder
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

yeah I was just trying to work that one out. I think I'll have to create an installation and set the proper paths, etc. in the database then dump it. I used to be able to set everything in zmconfig.txt and bring it into the database useing zmconfig.pl. I'm a bit stumped at the moment on what might be the most approriate way to go about it now. Also the logs and socks path need to be changed as well to /var/log/zm and /var/lib/zm.

I might be able to sed the proper values into the sql file, I just have never tried as I'd hate to buger that up :)
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

I've been going through all the options and here is what needs to be changed.

Code: Select all

under paths:
ZM_PATH_ZMS -> /cgi-bin/zm/nph-zms
ZM_PATH_SOCKS -> /var/lib/zm
ZM_PATH_LOGS -> /var/log/zm

under web:
ZM_WEB_ALARM_SOUND -> redalert.wav
ZM_WEB_SOUND_ON_ALARM -> checked   (of course these two for sound are not required)
ZM_WEB_LIST_THUMBS -> checked  (also not required but I normaly set for the rpms)
ZM_WEB_MONTAGE_WIDTH ->320
ZM_WEB_MONTAGE_HEIGHT -> 240

under tools:
ZM_OPT_CAMBOZOLA -> checked
ZM_OPT_MPEG -> ffmpeg
ZM_OPT_NETPBM -> checked (required for the package to install)

under Debug:
ZM_EXTRA_DEBUG_LOG -> /var/log/zm/zm_debug.log+
What I might do is just create a sql file with just these settings in it and use it to update the database through the zminit script. I don't know that this is the proper way to go about it though. Open to ideas :wink:

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

Post by zoneminder »

I think having a zm_custom.sql file that you run after creating the database is just fine as a way to set these values :)
Phil
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

The latest rpm is now up. Still no patchs applied to ZM itself but the installing and updating should be all finished. I just have to clean some of the code up but other than that I think we are set to go :D
The new version 1.22.0-1.2 you will find here

Same as before. If you find something let me know. I'm just itching to move on and get the patchs to zm done for a release 8)

Cheers,
Corey
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Another RPM version is up. 1.22.0-1.3
Corrects a problem where if you have ZM running it would not stop and update the database properly resulting in a fubar DB. You now do not need to be concerned about stopping ZM before updating. 8)

Corey
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

This should be the last issue.
The last rpm still would not restart correctly, I think I have it all worked out now so that you don't have to stop ZM before updating. It should also preform correctly in the case that you run a yum update nightly. Also it correctly updates the database I think as Phil had intended. I'm waiting to here from him that I did this correctly. Other than that it works :wink:
zm-1.22.0-1.4 is HERE

Also please let me know if you find any issues. I have time to deal with anything up till Sunday then it's SuperBowel time :D All trouble reports are now welcome, and thank you for your patience.

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

Updated but unable to start ZM - Help please

Post by pcalleros »

Feb 4 00:20:21 ICS-ZM zm: /usr/lib/zm/bin/zmfix: error while loading shared libraries: libavformat.so: cannot open shared object file: No such file or directory
Feb 4 00:20:21 ICS-ZM zmpkg[3949]: ERR [Unable to run 'su apache -c '/usr/lib/zm/bin/zmfix'', output is '']
Feb 4 00:20:21 ICS-ZM zm: ^[[65G
Feb 4 00:20:21 ICS-ZM zm: [^[[1;31m
Feb 4 00:20:21 ICS-ZM zm: FAILED

Feb 4 00:55:37 ICS-ZM zmpkg[4393]: INF [Command: stop]
Feb 4 00:55:38 ICS-ZM zmpkg[4414]: INF [Command: start]
Feb 4 00:55:39 ICS-ZM zmpkg[4414]: ERR [Unable to run 'su apache -c '/usr/lib/zm/bin/zmfix'', output is '']
Feb 4 00:55:54 ICS-ZM zmpkg[4436]: INF [Command: stop]
Feb 4 00:55:55 ICS-ZM zmpkg[4457]: INF [Command: start]
Feb 4 00:55:55 ICS-ZM zmpkg[4457]: ERR [Unable to run 'su apache -c '/usr/lib/zm/bin/zmfix'', output is '']

So I am getting the menu with new version showing and can see all of my events but cannot start ZM.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Re: Updated but unable to start ZM - Help please

Post by cordel »

pcalleros wrote:Feb 4 00:20:21 ICS-ZM zm: /usr/lib/zm/bin/zmfix: error while loading shared libraries: libavformat.so: cannot open shared object file: No such file or directory
Where are your ffmpeg shared libraries?
What distro?
pcalleros
Posts: 56
Joined: Sun Oct 02, 2005 4:53 pm

Update

Post by pcalleros »

Corey, was updating from Zmdv_2006 CD install. Deinstalled and fell back to previous version. It was my fault as I installed after seeing that I was short a few libs.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Just wait a bit, there are a couple things going on.
There is a new test version that I've been working out some issues on, this version will be for FC3 as well but the issues beening worked out are for the Mandriva package. This has also been productive for packages for all Distros(FC, MDK, SuSe, and CentOS) I'm just waiting to hear from Ross that it is okay and we will both release the new test versions.
I'll also get the packages for the other Distro built and include FC4 shortly there after.

Second is Phil is going to be releasing 1.22.1 that has some fixes, I have gotten some what burned out working the package and since the new version is going to come out shortly, I'm not going to patch the 1.22.0 version any more than I had to do just for the package (this of coarse is subject to change on a whim).

Regards,
Corey
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

New version 1.22.0-1.7 is now up. A Mandriva version might be up shortly as well.
It would be best to uninstall any previous version of 1.22.0 before installing this one but you may be able to just make changes to zm.conf if you do an update. The new config would be installed as /etc/zm.conf.rpmnew and just make sure that you have all the filled in values in you current zm.conf match (I think I just added ZM_PATH_UPDATE to zm.conf and the conf only updates once to 1.22.0 conf).

If you are upgrading from 1.21.4 or previous, there is nothing that needs to be done.

Get the rpm HERE.

There was a bit of cleanup and some scripts dropped.
Fixed -zminit
Fixed -Unattended update
Fixed -database update

All that is left is to patch any issues in ZM. I'll go through the posts over the next couple days and see what I can put together. Short of this, I think we are ready to go. I going to wait for 1.22.1 before making a release and Phil has put a lot of work into fixing the reported issues so no since in reinventing the wheel :)

Any other problems/questions in regards to the package, please report them here and don't forget to list the version/revision you have installed.

Regards,
Corey
Last edited by cordel on Tue Feb 14, 2006 10:32 am, edited 1 time in total.
martymoose
Posts: 128
Joined: Tue Jul 12, 2005 9:59 am
Location: australia

Post by martymoose »

hi
had my box working fine but had to downgrade to a 40gig from a 200gig

anyway was easier to reinstall ctu 1.21.3 cd

all ok
did a yum updated all fine
then rpmed the new file
and it bombed

Code: Select all

error: Failed dependencies:
        perl(X10::ActiveHome) is needed by zm-1.22.0-1.7.fc.root.i386
that x10 problem again
just carnt work out how i fixed it last time

zoneminder still working fine on 1.21.4

thanks marty
I donated have YOU?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

That problem will disappear once the package is added to the yum repo. The previous package had all the x10 components spit out to another package and is not so now.
Just do a yum install perl-X10

Cheers,
Corey
martymoose
Posts: 128
Joined: Tue Jul 12, 2005 9:59 am
Location: australia

Post by martymoose »

again thanks

working fine now

now not to play with it

but its hard i love tinkering with the linux lots and lots to learn
I donated have YOU?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

I'm sure you must have a machine just laying around that you would consider to slow normaly that you would be able to use to learn on :wink:
Only need a 2GB HD if you plan on breaking it a few times :D
Locked