Skip to content

Dan’s Tech Blog

Domains Guru, Geek, Coder, Lover of Terry’s Chocolate oranges & Pluviophile

Menu
  • Home
  • About Dan
  • Review / Advertise
Menu

Can’t install Logwatch on cPanel server

Posted on May 3, 2012December 13, 2018 by admin

I recently ran into an issue installing Logwatch on a cPanel server using yum.

The yum reported that it was unable to install logwatch because required dependency “perl(Date:Manip)” couldn’t install.

Error: Package: logwatch-7.3.6-49.el6.noarch (base)
Requires: perl(Date::Manip)

This is a very simple issue, but one which it seems many people online are having problems with.

cPanel & CPAN like to manage a selection of software, because of this some are excluded in the yum configuration, meaning yum is unable to install them.

In /etc/yum.conf you can simply edit the line using your favourite text editor:

exclude=apache* bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mysql* nsd* perl* php* proftpd* pure-ftpd* ruby* spamassassin* squirrelmail*

And remove “perl*” which is preventing yum from installing the required perl module.

The line should now read:

exclude=apache* bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mysql* nsd* php* proftpd* pure-ftpd* ruby* spamassassin* squirrelmail*

Save the file.

Now you can happily install logwatch using “yum install logwatch” and it will install without a problem.

I would STRONGLY recommend you go back and re-add perl* to the exceptions list after you have installed logwatch to avoid potential issues in the future.

Hope this helps, I’m happy to answer any Q’s in the comments below.

Facebook Comments

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Related

Recent Posts

  • Can technology help predict outcomes?
  • Review: UnoDNS from UnoTelly.com
  • HungryHouse goes Mobile!
  • CAD Helps US Army with Star Trek-Style Replicators
  • Online Reputation Management: An Increasingly Needed Industry

Recent Comments

  • umeh on How to: Install FireSheep
  • ali on How to: Install FireSheep
  • Dan on HungryHouse goes Mobile!
  • Oliver on HungryHouse goes Mobile!
  • ForsterDJ on HungryHouse goes Mobile!

Categories

  • Cool Sites
  • Cool Tech
  • General stuff
  • Google
  • How Tos & Tutorials
  • Humor and funny crap!
  • Infographics
  • Microsoft
  • Ponderings
  • Projects
  • Ranting
  • Reviews
  • Scripts
  • Sponsored Posts
  • Student Partner
  • Tech Events
  • Technological Ponderings
  • Top Ten…
  • Tv/Video/Music Talk
  • Twitter
  • Uncategorized
  • University
  • vLogs
  • Web Hosting
  • Windows Phone
  • Windows Stuff
  • XBOX 360
  • YouTube

Archives

  • April 2015
  • October 2014
  • October 2013
  • February 2013
  • December 2012
  • November 2012
  • October 2012
  • August 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • March 2010
  • February 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly Hosted by allthe.domains
©2021 Dan’s Tech Blog | Built using WordPress and Responsive Blogily theme by Superb