So I have re-installed Fedora 24 server twice now. Then loaded zoneminder with dnf install zoneminder. Then opened and followed the guidance in /usr/share/doc/zoneminder/README.Fedora. When tried to start it I got the following error:
Job for zoneminder.service failed because a configured resource limit was exceeded. See "systemctl status zoneminder.service" and "journalctl -xe"
So Checking the systemctl sataus I get:
zoneminder.service - Video security and surveillance system
Loaded: loaded (/usr/lib/systemd/system/zoneminder.service; enabled; vendor preset: disabled)
Active: failed (Result: resources) since Mon 2016-08-29 18:03:21 CDT; 4min 47s ago
Process: 1170 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=0/SUCCESS)
Aug 29 18:03:17 SecurityWatch.midlandscc sudo[1211]: root : TTY=unknown ; PWD=/usr/share/zoneminder/www ; USER=apache ; COMMAND=/usr/bin/zmdc.pl check
Aug 29 18:03:17 SecurityWatch.midlandscc sudo[1242]: root : TTY=unknown ; PWD=/usr/share/zoneminder/www ; USER=apache ; COMMAND=/usr/bin/zmdc.pl startup
Aug 29 18:03:21 SecurityWatch.midlandscc sudo[1280]: root : TTY=unknown ; PWD=/usr/share/zoneminder/www ; USER=apache ; COMMAND=/usr/bin/zmdc.pl start zmfilter.pl
Aug 29 18:03:21 SecurityWatch.midlandscc sudo[1288]: root : TTY=unknown ; PWD=/usr/share/zoneminder/www ; USER=apache ; COMMAND=/usr/bin/zmdc.pl start zmaudit.pl -c
Aug 29 18:03:21 SecurityWatch.midlandscc sudo[1298]: root : TTY=unknown ; PWD=/usr/share/zoneminder/www ; USER=apache ; COMMAND=/usr/bin/zmdc.pl start zmwatch.pl
Aug 29 18:03:21 SecurityWatch.midlandscc sudo[1312]: root : TTY=unknown ; PWD=/usr/share/zoneminder/www ; USER=apache ; COMMAND=/usr/bin/zmdc.pl start zmupdate.pl -c
Aug 29 18:03:21 SecurityWatch.midlandscc systemd[1]: zoneminder.service: Failed to read PID from file /run/zoneminder/zm.pid: Invalid argument
Aug 29 18:03:21 SecurityWatch.midlandscc systemd[1]: Failed to start Video security and surveillance system.
Aug 29 18:03:21 SecurityWatch.midlandscc systemd[1]: zoneminder.service: Unit entered failed state.
Aug 29 18:03:21 SecurityWatch.midlandscc systemd[1]: zoneminder.service: Failed with result 'resources'.
So it appears a problem with the Apache config. but I have no idea what it could be.
Here's the journalctl -xs results:
Aug 29 18:12:41 SecurityWatch.midlandscc sudo[1485]: pam_unix(sudo:session): session closed for user apache
Aug 29 18:12:41 SecurityWatch.midlandscc audit[1485]: USER_END pid=1485 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_close grantors=pam_keyinit,pam_limits,pam_keyi
Aug 29 18:12:41 SecurityWatch.midlandscc audit[1485]: CRED_DISP pid=1485 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_env,pam_fprintd acct="apache" ex
Aug 29 18:12:41 SecurityWatch.midlandscc sudo[1488]: root : TTY=unknown ; PWD=/usr/share/zoneminder/www ; USER=apache ; COMMAND=/usr/bin/zmdc.pl check
Aug 29 18:12:41 SecurityWatch.midlandscc audit[1488]: USER_CMD pid=1488 uid=0 auid=4294967295 ses=4294967295 msg='cwd="/usr/share/zoneminder/www" cmd=2F7573722F62696E2F7A6D646
Aug 29 18:12:41 SecurityWatch.midlandscc audit[1488]: CRED_REFR pid=1488 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_env,pam_fprintd acct="apache" ex
Aug 29 18:12:41 SecurityWatch.midlandscc systemd[1]: Started Session c9 of user apache.
-- Subject: Unit session-c9.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit session-c9.scope has finished starting up.
--
-- The start-up result is done.
Aug 29 18:12:41 SecurityWatch.midlandscc audit[1488]: USER_START pid=1488 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_key
Aug 29 18:12:41 SecurityWatch.midlandscc sudo[1488]: pam_unix(sudo:session): session opened for user apache by root(uid=0)
Aug 29 18:12:41 SecurityWatch.midlandscc audit[1488]: USER_END pid=1488 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_close grantors=pam_keyinit,pam_limits,pam_keyi
Aug 29 18:12:41 SecurityWatch.midlandscc audit[1488]: CRED_DISP pid=1488 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_env,pam_fprintd acct="apache" ex
Aug 29 18:12:41 SecurityWatch.midlandscc sudo[1488]: pam_unix(sudo:session): session closed for user apache
Aug 29 18:12:41 SecurityWatch.midlandscc systemd[1]: zoneminder.service: Control process exited, code=exited status=1
Aug 29 18:12:41 SecurityWatch.midlandscc systemd[1]: Failed to start Video security and surveillance system.
-- Subject: Unit zoneminder.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit zoneminder.service has failed.
--
-- The result is failed.
Aug 29 18:12:41 SecurityWatch.midlandscc audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=zoneminder comm="systemd" exe="/usr/lib/systemd/systemd"
Aug 29 18:12:41 SecurityWatch.midlandscc systemd[1]: zoneminder.service: Unit entered failed state.
Aug 29 18:12:41 SecurityWatch.midlandscc systemd[1]: zoneminder.service: Failed with result 'exit-code'.
Aug 29 18:12:41 SecurityWatch.midlandscc polkitd[725]: Unregistered Authentication Agent for unix-process:1471:66596 (system bus name :1.61, object path /org/freedesktop/Polic
lines 2592-2623/2623 (END)
So any help on this would be appreciated.
Fedora 24 Server Install (Update)
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Fedora 24 Server Install (Update)
We need to know which zoneminder package you are using.
Post the output of:
We also need to see the contents of your zoneminder log, from the moment you tried to start zoneminder.
Also, please make sure you have not used any config files, databases, or anything else from your previous attempt at installing ZoneMinder on Ubuntu.
Please describe the hardware you are running on: cpu, ram, etc.
Post the output of:
Code: Select all
rpm -qi zoneminder
Also, please make sure you have not used any config files, databases, or anything else from your previous attempt at installing ZoneMinder on Ubuntu.
Please describe the hardware you are running on: cpu, ram, etc.
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: Fedora 24 Server Install (Update)
Here is what I have:
From the rpm qi
Name : zoneminder
Version : 1.28.1
Release : 5.fc24
Architecture: x86_64
Install Date: Mon 29 Aug 2016 05:48:52 PM CDT
Group : System Environment/Daemons
Size : 8617361
License : GPLv2+ and LGPLv2+ and MIT
Signature : RSA/SHA256, Sat 06 Feb 2016 10:28:53 AM CST, Key ID 73bde98381b46521
Source RPM : zoneminder-1.28.1-5.fc24.src.rpm
Build Date : Fri 05 Feb 2016 06:50:31 AM CST
Build Host : buildvm-11-nfs.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager : Fedora Project
Vendor : Fedora Project
URL : http://www.zoneminder.com/
Summary : A camera monitoring and analysis tool
So version 1.28.
The installation was a completely new install from the server up. I did a clean install of Fedora 24, installed an ftp server, did the update then the dnf in stall of zoneminder.
Hardware is as follows:
Dell XPS 720
8 GB ram
Four disks, two 1TB and 750GB and a 500GB. The boot disk is a 64GB Kingston solid state drive.
CPU - Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
What log files can i get you. Since I never configured zoneminder, I didn't set up any logging directories. Nothing in /tmp and /var/log/zoneminder is empty.
From the rpm qi
Name : zoneminder
Version : 1.28.1
Release : 5.fc24
Architecture: x86_64
Install Date: Mon 29 Aug 2016 05:48:52 PM CDT
Group : System Environment/Daemons
Size : 8617361
License : GPLv2+ and LGPLv2+ and MIT
Signature : RSA/SHA256, Sat 06 Feb 2016 10:28:53 AM CST, Key ID 73bde98381b46521
Source RPM : zoneminder-1.28.1-5.fc24.src.rpm
Build Date : Fri 05 Feb 2016 06:50:31 AM CST
Build Host : buildvm-11-nfs.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager : Fedora Project
Vendor : Fedora Project
URL : http://www.zoneminder.com/
Summary : A camera monitoring and analysis tool
So version 1.28.
The installation was a completely new install from the server up. I did a clean install of Fedora 24, installed an ftp server, did the update then the dnf in stall of zoneminder.
Hardware is as follows:
Dell XPS 720
8 GB ram
Four disks, two 1TB and 750GB and a 500GB. The boot disk is a 64GB Kingston solid state drive.
CPU - Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
What log files can i get you. Since I never configured zoneminder, I didn't set up any logging directories. Nothing in /tmp and /var/log/zoneminder is empty.
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Fedora 24 Server Install (Update)
Ah, there's the first problem.
You are using the ZoneMinder package built by the Fedora team, instead of the one built by us.
The difference is that the ZoneMinder package we build has all features enabled, such as ffmpeg & libvlc support. The same cannot be said for the ZoneMinder package found in the Fedora repositories. If you want to continue to use that package, then your best bet would be to ask for help in the Fedora forum. You are much more likely to get better help there as I do not know anyone here that uses that ZoneMinder package.
If you want to use the ZoneMinder package built by us, then first uninstall the zoneminder you currently have. Make sure you undo anything you did along the way: remove databases, config files, etc. Get the operating system back to a completely clean state. Following that, go to zmrepo.zoneminder.com and follow the instructions on the site. Make sure and follow the note at the bottom of the page, or you can end up with Fedora's zoneminder package overwriting the one from us.
You are using the ZoneMinder package built by the Fedora team, instead of the one built by us.
The difference is that the ZoneMinder package we build has all features enabled, such as ffmpeg & libvlc support. The same cannot be said for the ZoneMinder package found in the Fedora repositories. If you want to continue to use that package, then your best bet would be to ask for help in the Fedora forum. You are much more likely to get better help there as I do not know anyone here that uses that ZoneMinder package.
If you want to use the ZoneMinder package built by us, then first uninstall the zoneminder you currently have. Make sure you undo anything you did along the way: remove databases, config files, etc. Get the operating system back to a completely clean state. Following that, go to zmrepo.zoneminder.com and follow the instructions on the site. Make sure and follow the note at the bottom of the page, or you can end up with Fedora's zoneminder package overwriting the one from us.
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: Fedora 24 Server Install (Update)
Ok
Let me try that. I was wondering about that especially version 1.28. So do you recommend 1.30 or 1.29? Do I have to install all the dependencies? I downloaded the rpm and it gave me a ton of dependencies required?
Thanks.
Let me try that. I was wondering about that especially version 1.28. So do you recommend 1.30 or 1.29? Do I have to install all the dependencies? I downloaded the rpm and it gave me a ton of dependencies required?
Thanks.
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Fedora 24 Server Install (Update)
If it is not stated in the instructions, then don't do it. That is how people get into trouble.
Follow the instructions exactly, and let all the dependencies install themselves automatically.
Follow the instructions exactly, and let all the dependencies install themselves automatically.
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: Fedora 24 Server Install (Update)
Ok downloaded the zoneminder-1.30.0-3.fc24.x86_64.rpm file from the server. Ran rpm -ivh zoneminder-1.30.0-3.fc24.x86_64.rpm and it gave me a very long (about 50 or so) dependencies that need to be loaded. I thought that was pretty strange? Did I download the wrong file?
Re: Fedora 24 Server Install (Update)
Never mind. I completely missed the instructions at the bottom of the page. Let me try that again.
Re: Fedora 24 Server Install (Update)
Ok,
Its running. Many thanks for the help.
Its running. Many thanks for the help.