RPM Fusion, CentOS install broken slightly

Support and queries relating to third party Live CDs and DVD, VM images and other packaged distributions
Post Reply
Gorf
Posts: 2
Joined: Fri Jan 26, 2018 4:39 pm

RPM Fusion, CentOS install broken slightly

Post by Gorf » Fri Jan 26, 2018 4:46 pm

On a brand new clean install from the RPMFusion repo on CentOS 7. I've followed the walk through and I have disabled SELinux and setup all the databases but when I go to start the zm process, I get this:

Code: Select all

[gorf@zm ~]$sudo systemctl start zoneminder
Failed to start zoneminder.service: Unit not found.

This is what the rpm installed for a systemctl control file:

Code: Select all

[gorf@zm ~]$ cat /usr/lib/systemd/system/zoneminder.service 
# ZoneMinder systemd unit file for CentOS 7

[Unit]
Description=ZoneMinder CCTV recording and security system
After=network.target mariadb.service httpd.service
Requires=mariadb.service httpd.service

[Service]
User=apache
Group=apache
Type=forking
ExecStart=/usr/bin/zmpkg.pl start
ExecReload=/usr/bin/zmpkg.pl restart
ExecStop=/usr/bin/zmpkg.pl stop
PIDFile=/var/run/zoneminder/zm.pid
Environment=TZ=/etc/localtime
RuntimeDirectory=zoneminder
RuntimeDirectoryMode=0755

[Install]
WantedBy=multi-user.target
Is something broken in the install? What I read say that the zmrepo was going away and being migrated to RPMFusion, so that's where I installed from. There are very few logs associated with the systemctl command. Journalctl doesn't show anything.

Gorf
Posts: 2
Joined: Fri Jan 26, 2018 4:39 pm

Re: RPM Fusion, CentOS install broken slightly

Post by Gorf » Sat Jan 27, 2018 11:49 pm

I discovered what the problem is. The RPM Fusion packages include a systemctl control file that wants mysqld running. My SQL server is remote for my ZM installation. Additionally it doesn't appear that the RPM calls out dependency on MySQL (mariadb) so the mariadb-server package didn't get included.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests