Zoneminder RPM & SRPMS for Red Hat & CentOS 6
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
UPDATE: Used the audit2allow tool to create a new selinux policy module. RPM's have been updated.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
zoneminder 1.26 rpms now available.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
zoneminder 1.26.3 rpms now available.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
-
- Posts: 17
- Joined: Wed Jul 24, 2013 2:25 pm
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
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
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.
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.
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
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.
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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
-
- Posts: 17
- Joined: Wed Jul 24, 2013 2:25 pm
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
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.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.
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
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:
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.
We need to manually remove the folder that is still hanging around:
Code: Select all
sudo rm -rf /usr/local/lib64/perl5/ZoneMinder
UPDATE: Please report back if this resovles the issue entirely or not. I'm communicating with another user with nearly the same issue.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
-
- Posts: 17
- Joined: Wed Jul 24, 2013 2:25 pm
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
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
Any mirror? Links are offline.
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
Those links are being hosted on my own server via dyndns at the moment.
Just tested them, they are working fine for me.
Just tested them, they are working fine for me.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
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.
Let me if you are trying this from outside the US and I can make an exception.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
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'
So, this is my mirror: "jonis com br", path is 'zm'
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
Yep, that one's on my end. Try it now. Should work.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
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?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.
This message is made up of not less than 90% recycled electrons.
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Zoneminder RPM & SRPMS for Red Hat & CentOS 6
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.
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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/