While enabling Analytics, I get the following error.

Failed to save enabled features : The plugin Analytics Tracking cannot be used : Apache's mod_perl version 2 must be installed

yum search mod_perl or modperl gives me no related results!

The result of rpm -qa | grep virtual-server wbm-virtual-server-5.01.gpl-1.noarch wbt-virtual-server-theme-9.0-2.noarch wbt-virtual-server-mobile-2.5-1.noarch ust-virtual-server-theme-6.9-1.noarch

yum install wbm-virtualmin-google-analytics Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: centos.mbni.med.umich.edu * extras: chicago.gaminghost.co * updates: mirror.oss.ou.edu Package 2:wbm-virtualmin-google-analytics-2.7-1.noarch already installed and latest version Nothing to do

Appreciate help....

Status: 
Active

Comments

bislinks's picture
Submitted by bislinks on Fri, 04/01/2016 - 07:22 Pro Licensee

Error trying to install the above .rpm even after installing the dependencies noted below.....

rpm -iUh mod_perl*.rpm error: Failed dependencies: perl(BSD::Resource) is needed by mod_perl-2.0.8-10.20140624svn1602105.el7.x86_64 perl(Linux::Pid) is needed by mod_perl-2.0.8-10.20140624svn1602105.el7.x86

bislinks's picture
Submitted by bislinks on Fri, 04/01/2016 - 11:21 Pro Licensee

Installation succeeded for mod_perl.

Thanks Andrew once again.

Glad to help, and we're happy to hear that worked!

Please feel free to let us know if you have any other questions.

bislinks's picture
Submitted by bislinks on Sat, 10/15/2016 - 14:23 Pro Licensee

Recently, I encountered this problem again on another CentOS server. So, thought of listing the steps I followed. Hope somebody will benefit from this post/comment.

Here are the steps to follow in order to install mod_perl on CentOS 7.

As root, connect to your server via ssh using PUTTY or the like. 1. yum install epel-release 2. yum install mod_perl mod_perl-devel 3. yum install perl-BSD-Resource perl-Linux-Pid 4. service httpd restart

Now, go to Virtualmin and enable Analytics in "Features and Plugins" under "System Settings"