The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem installing Logwatch

Discussion in 'General Discussion' started by jimfurtado, Feb 21, 2012.

  1. jimfurtado

    jimfurtado Member

    Joined:
    Jan 2, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Somerset, Massachusetts, United States
    When trying to install Logwatch I get the following:
    Code:
    Source: fastest CPAN mirror ... Date::Manip is up to date. (6.30)
    ###@### [/######]# yum install logwatch
    Loaded plugins: fastestmirror, security
    Loading mirror speeds from cached hostfile
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package logwatch.noarch 0:7.3.6-49.el6 will be installed
    --> Processing Dependency: perl(Date::Manip) for package: logwatch-7.3.6-49.el6.noarch
    --> Finished Dependency Resolution
    Error: Package: logwatch-7.3.6-49.el6.noarch (centos-burstnet)
               Requires: perl(Date::Manip)
     You could try using --skip-broken to work around the problem
    ** Found 5 pre-existing rpmdb problem(s), 'yum check' output follows:
    bandmin-1.6.1-5.noarch has missing requires of perl(bandmin.conf)
    bandmin-1.6.1-5.noarch has missing requires of perl(bmversion.pl)
    bandmin-1.6.1-5.noarch has missing requires of perl(services.conf)
    exim-4.69-30_cpanel_maildir.x86_64 has missing requires of perl(SafeFile)
    frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0
    
    I get this error even I confirm that Date::Manip is installed.

    My perl version is:
    This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi

    A few people have suggested reinstalling Perl but all the examples are for Perl 588.

    Thoughts?
     
  2. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    New York
    Did you resolve this ? I am having pretty much the same problem:

    root@slserver2 [~]# yum install logwatch
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    base | 3.7 kB 00:00
    extras | 3.5 kB 00:00
    updates | 3.5 kB 00:00
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package logwatch.noarch 0:7.3.6-49.el6 will be installed
    --> Processing Dependency: perl(Date::Manip) for package: logwatch-7.3.6-49.el6.noarch
    --> Finished Dependency Resolution
    Error: Package: logwatch-7.3.6-49.el6.noarch (base)
    Requires: perl(Date::Manip)
    You could try using --skip-broken to work around the problem
    ** Found 9 pre-existing rpmdb problem(s), 'yum check' output follows:
    bandmin-1.6.1-5.noarch has missing requires of perl(bandmin.conf)
    bandmin-1.6.1-5.noarch has missing requires of perl(bmversion.pl)
    bandmin-1.6.1-5.noarch has missing requires of perl(services.conf)
    exim-4.77-1.x86_64 has missing requires of perl(SafeFile)
    frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0
    1:mod_ssl-2.2.15-15.el6.centos.x86_64 has missing requires of httpd
    1:mod_ssl-2.2.15-15.el6.centos.x86_64 has missing requires of httpd = ('0', '2.2.15', '15.el6.centos')
    1:mod_ssl-2.2.15-15.el6.centos.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
    mod_wsgi-3.2-1.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
    root@slserver2 [~]#

    Same perl version. Running WHM 11.32.2 (build 8) CENTOS 6.2 x86_64 standard
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,460
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    The problem is likely this:
    Code:
    Error: Package: logwatch-7.3.6-49.el6.noarch (base)
    Requires: perl(Date::Manip)
    
    Check if perl is in the exclude line in /etc/yum.conf. If it is that will prevent installation of any packages that depend upon perl.
     
  4. whplus

    whplus Well-Known Member

    Joined:
    Dec 8, 2007
    Messages:
    66
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Behind your business
    you can install perl(Date::Manip) from rpm:
    Code:
    rpm -ivh [url]http://pkgs.repoforge.org/perl-Date-Manip/perl-Date-Manip-5.56-1.el6.rfx.noarch.rpm[/url]
     
  5. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    New York
    Yes "perl*" is in there along with a ton of other things that look cpanel related. Will removing the perl item affect the rest of the system in any way I should be concerned about ? Our older centos 5.2 machine has the "perl*" in the exclude line and has had it for years and we never had any issues before.
     
    #5 nyjimbo, Mar 24, 2012
    Last edited: Mar 24, 2012
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello,

    If you simply remove perl* from the exclude line in /etc/yum.conf file, then install logwatch and then re-add perl* to the file, it should not pose any issues. Logwatch is not default installed on CentOS 6, which is likely why you didn't see the issue on CentOS 5 machines and do on CentOS 6. They are differing OS types with differing components that have different requirements. You will notice changes in requirements for that reason.

    If you do end up installing logwatch by removing the perl* exclude, you'll see the following installed on the machine (tested on my CentOS 6.2 machine):

    Thanks!
     
  7. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    New York
    Ok, thank you very much. I just didn't want to break anything and regret it.
     
  8. ChrisRHS

    ChrisRHS Well-Known Member

    Joined:
    Jul 12, 2006
    Messages:
    292
    Likes Received:
    5
    Trophy Points:
    18
Loading...

Share This Page