Page 2 of 9
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
Posted: Sun Sep 01, 2013 4:56 pm
by knight-of-ni
UPDATE: Used the audit2allow tool to create a new selinux policy module. RPM's have been updated.
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
Posted: Fri Sep 06, 2013 12:39 am
by knight-of-ni
zoneminder 1.26 rpms now available.
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
Posted: Sat Sep 21, 2013 4:43 pm
by knight-of-ni
zoneminder 1.26.3 rpms now available.
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
Posted: Mon Sep 23, 2013 1:11 pm
by DigitalDeviant
I've been trying to install 1.26 x86_64 on Centos 6.4 and with every version seem to get the following errors when starting the service
Code: Select all
-bash-4.1# service zoneminder start
Can't open config file '/usr/local/etc/zm.conf': No such file or directory at /usr/local/lib64/perl5/ZoneMinder/Config.pm line 100
BEGIN failed--compilation aborted at /usr/local/lib64/perl5/ZoneMinder/Config.pm line 100.
Compilation failed in require at /usr/bin/zmupdate.pl line 47.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 47.
I've installed the Perl modules linked and have both repos added. I'm pretty sure I've followed all the instructions so any help would be appreciated.
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
Posted: Mon Sep 23, 2013 1:21 pm
by knight-of-ni
See how the system is looking under /usr/local instead of /usr?
That typically means you have a previous version of zoneminder on your system, which has been installed from source, in addition to 1.26 installed from rpm. What you need to do is navigate to the folder you originally installed that old version of zoneminder from and issue a "sudo make uninstall". Just to be safe, I would reinstall the rpm after you do this.
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
Posted: Tue Sep 24, 2013 1:08 pm
by DigitalDeviant
knnniggett wrote:See how the system is looking under /usr/local instead of /usr?
That typically means you have a previous version of zoneminder on your system, which has been installed from source, in addition to 1.26 installed from rpm. What you need to do is navigate to the folder you originally installed that old version of zoneminder from and issue a "sudo make uninstall". Just to be safe, I would reinstall the rpm after you do this.
I was pretty sure I had done a make uninstall originally but went ahead and tried it again. I did a find to see if there were any leftover files and it seems the old install is gone. I'm still getting the same error.
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
Posted: Tue Sep 24, 2013 1:37 pm
by knight-of-ni
Ok, then that means the uninstall didn't remove all the files. That's good to know because you aren't the first person to run into this.
We need to manually remove the folder that is still hanging around:
Code: Select all
sudo rm -rf /usr/local/lib64/perl5/ZoneMinder
Any zoneminder related folder under /usr/local is safe to delete because rpm packages will never put their files under that prefix.
UPDATE: Please report back if this resovles the issue entirely or not. I'm communicating with another user with nearly the same issue.
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
Posted: Wed Sep 25, 2013 12:14 pm
by DigitalDeviant
Yes, deleting the old files in /usr/local worked. Thank you very, very much. Your work and help is definitely appreciated.
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
Posted: Tue Oct 01, 2013 1:36 pm
by jmaurin
Any mirror? Links are offline.
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
Posted: Tue Oct 01, 2013 1:51 pm
by knight-of-ni
Those links are being hosted on my own server via dyndns at the moment.
Just tested them, they are working fine for me.
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
Posted: Tue Oct 01, 2013 2:00 pm
by knight-of-ni
I am running pfblocker on my firewall, which blocks countries labelled as "top spammers".
Let me if you are trying this from outside the US and I can make an exception.
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
Posted: Tue Oct 01, 2013 2:04 pm
by jmaurin
I don't know why, but can't access from Brazil (testes on multiple providers).
So, this is my mirror: "jonis com br", path is 'zm'
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
Posted: Tue Oct 01, 2013 2:16 pm
by knight-of-ni
Yep, that one's on my end. Try it now. Should work.
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
Posted: Wed Oct 02, 2013 8:59 pm
by Ruler
knnniggett wrote:During the rpm installation, a set of post-installation instructions will appear on the screen. You may have to scroll up to see them. These instructions will guide you through creating the database, configuring the services, etc.
Let's say that one was called away after the installation started and power saving turned the monitor off and one is unable to scroll back up to see the directions. (Hypothetical situation of course...

) Are they available anywhere else or can they be recalled in some way?
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
Posted: Wed Oct 02, 2013 9:54 pm
by knight-of-ni
Yep.
The documentation can be found here:
/usr/share/doc/zoneminder-1.26.3/README.CentOS
Ironically, I tried to pause the output during the installation so the screen would not keep scrolling, and it seems that yum overrides that.