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.

Perl Modules

Discussion in 'General Discussion' started by fkatzenb, Dec 18, 2011.

  1. fkatzenb

    fkatzenb Well-Known Member

    Joined:
    Sep 23, 2009
    Messages:
    216
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lusby, Maryland, United States
    cPanel Access Level:
    Root Administrator
    I need the following modules to either mytop, mtop, or innotop.

    perl(DBD::mysql)
    perl(Term::ReadKey)
    perl(DBI)

    When I run yum search, I find the following, but I don't see anything that stands out as being the one that I really need. Of course ReadKey doesn't even show up.

    Thanks!
    Frank

    Code:
    root@one [~]# yum search DBD
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirror.7x24web.net
     * epel: mirror.us.leaseweb.net
     * extras: mirror.7x24web.net
     * rpmforge: ftp-stud.fht-esslingen.de
     * updates: mirrors.greenmountainaccess.net
    Excluding Packages in global exclude list
    Finished
    ===================================================== Matched: DBD =====================================================
    apr-util-mysql.x86_64 : APR utility library MySQL DBD driver
    dhcdbd.x86_64 : DHCP D-BUS daemon (dhcdbd) controls dhclient sessions with D-BUS, stores and presents DHCP options.
    libdbi.i386 : Database Independent Abstraction Layer for C
    libdbi.x86_64 : Database Independent Abstraction Layer for C
    libdbi-dbd-mysql.x86_64 : MySQL plugin for libdbi
    libdbi-dbd-pgsql.x86_64 : PostgreSQL plugin for libdbi
    libdbi-drivers.x86_64 : Database-specific drivers for libdbi
    libdvdplay.x86_64 : Portable abstraction library for DVD menus support
    
    root@one [~]# yum search DBI
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirror.7x24web.net
     * epel: mirror.us.leaseweb.net
     * extras: mirror.7x24web.net
     * rpmforge: ftp-stud.fht-esslingen.de
     * updates: mirrors.greenmountainaccess.net
    Excluding Packages in global exclude list
    Finished
    ===================================================== Matched: DBI =====================================================
    R-DBI.noarch : Database interface module for R
    icinga-idoutils.x86_64 : Web content for icinga
    libdbi.i386 : Database Independent Abstraction Layer for C
    libdbi.x86_64 : Database Independent Abstraction Layer for C
    libdbi-dbd-mysql.x86_64 : MySQL plugin for libdbi
    libdbi-dbd-pgsql.x86_64 : PostgreSQL plugin for libdbi
    libdbi-devel.i386 : Development files for libdbi (Database Independent Abstraction Layer for C)
    libdbi-devel.x86_64 : Development files for libdbi (Database Independent Abstraction Layer for C)
    libdbi-drivers.x86_64 : Database-specific drivers for libdbi
    mytop.noarch : Top clone for MySQL
    postgresql-dbi-link.noarch : Partial implementation of the SQL/MED portion of the SQL:2003 specification
    rubygem-right_aws.noarch : RightScale Ruby interface to AWS
    
    root@one [~]# yum search ReadKey
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirror.7x24web.net
     * epel: mirror.us.leaseweb.net
     * extras: mirror.7x24web.net
     * rpmforge: ftp-stud.fht-esslingen.de
     * updates: mirrors.greenmountainaccess.net
    Excluding Packages in global exclude list
    Finished
    =================================================== Matched: ReadKey ===================================================
    mytop.noarch : Top clone for MySQL
    
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You should use the cPanel Perl installer to install these Perl modules. For example:

    Code:
    # /scripts/perlinstaller Term::ReadKey
    To note, the Perl modules you listed should already be installed by default on cPanel.

    Thank you.
     
  3. fkatzenb

    fkatzenb Well-Known Member

    Joined:
    Sep 23, 2009
    Messages:
    216
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lusby, Maryland, United States
    cPanel Access Level:
    Root Administrator
    Silly me, I always forget about the perInstaller, however I am still having issues. Yes they were installed, however I am guessing that they were not at the correct software levels?

    Where do I go from here?

    Code:
    root@one [/etc]# yum install mytop
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirror.trouble-free.net
     * epel: mirror.us.leaseweb.net
     * extras: mirror.trouble-free.net
     * rpmforge: ftp-stud.fht-esslingen.de
     * updates: mirror.us.leaseweb.net
    base                                                                                             | 1.1 kB     00:00
    epel                                                                                             | 3.7 kB     00:00
    extras                                                                                           | 2.1 kB     00:00
    rpmforge                                                                                         | 1.1 kB     00:00
    updates                                                                                          | 1.9 kB     00:00
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package mytop.noarch 0:1.7-4.b737f60.el5 set to be updated
    --> Processing Dependency: perl(DBD::mysql) >= 1 for package: mytop
    --> Processing Dependency: perl(Term::ReadKey) >= 2.1 for package: mytop
    --> Processing Dependency: perl(DBI) for package: mytop
    --> Finished Dependency Resolution
    mytop-1.7-4.b737f60.el5.noarch from epel has depsolving problems
      --> Missing Dependency: perl(DBD::mysql) >= 1 is needed by package mytop-1.7-4.b737f60.el5.noarch (epel)
    mytop-1.7-4.b737f60.el5.noarch from epel has depsolving problems
      --> Missing Dependency: perl(Term::ReadKey) >= 2.1 is needed by package mytop-1.7-4.b737f60.el5.noarch (epel)
    mytop-1.7-4.b737f60.el5.noarch from epel has depsolving problems
      --> Missing Dependency: perl(DBI) is needed by package mytop-1.7-4.b737f60.el5.noarch (epel)
    Error: Missing Dependency: perl(DBD::mysql) >= 1 is needed by package mytop-1.7-4.b737f60.el5.noarch (epel)
    Error: Missing Dependency: perl(DBI) is needed by package mytop-1.7-4.b737f60.el5.noarch (epel)
    Error: Missing Dependency: perl(Term::ReadKey) >= 2.1 is needed by package mytop-1.7-4.b737f60.el5.noarch (epel)
     You could try using --skip-broken to work around the problem
     You could try running: package-cleanup --problems
                            package-cleanup --dupes
                            rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.
    root@one [/etc]#
    root@one [/etc]# yum install innotop
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirror.trouble-free.net
     * epel: mirror.us.leaseweb.net
     * extras: mirror.trouble-free.net
     * rpmforge: ftp-stud.fht-esslingen.de
     * updates: mirror.us.leaseweb.net
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package innotop.noarch 0:1.6.0-1.el5 set to be updated
    --> Processing Dependency: perl(DBD::mysql) for package: innotop
    --> Processing Dependency: perl(Term::ReadKey) for package: innotop
    --> Processing Dependency: perl(DBI) for package: innotop
    --> Finished Dependency Resolution
    innotop-1.6.0-1.el5.noarch from epel has depsolving problems
      --> Missing Dependency: perl(DBI) is needed by package innotop-1.6.0-1.el5.noarch (epel)
    innotop-1.6.0-1.el5.noarch from epel has depsolving problems
      --> Missing Dependency: perl(DBD::mysql) is needed by package innotop-1.6.0-1.el5.noarch (epel)
    innotop-1.6.0-1.el5.noarch from epel has depsolving problems
      --> Missing Dependency: perl(Term::ReadKey) is needed by package innotop-1.6.0-1.el5.noarch (epel)
    Error: Missing Dependency: perl(DBI) is needed by package innotop-1.6.0-1.el5.noarch (epel)
    Error: Missing Dependency: perl(DBD::mysql) is needed by package innotop-1.6.0-1.el5.noarch (epel)
    Error: Missing Dependency: perl(Term::ReadKey) is needed by package innotop-1.6.0-1.el5.noarch (epel)
     You could try using --skip-broken to work around the problem
     You could try running: package-cleanup --problems
                            package-cleanup --dupes
                            rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.
    root@one [/etc]#
    root@one [/etc]# yum install mtop
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirror.trouble-free.net
     * epel: mirror.us.leaseweb.net
     * extras: mirror.trouble-free.net
     * rpmforge: ftp-stud.fht-esslingen.de
     * updates: mirror.us.leaseweb.net
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package mtop.noarch 0:0.6.6-1.2.el5.rf set to be updated
    --> Processing Dependency: perl(DBD::mysql) for package: mtop
    --> Processing Dependency: perl(Curses) for package: mtop
    --> Processing Dependency: perl(DBI) for package: mtop
    --> Finished Dependency Resolution
    mtop-0.6.6-1.2.el5.rf.noarch from rpmforge has depsolving problems
      --> Missing Dependency: perl(DBD::mysql) is needed by package mtop-0.6.6-1.2.el5.rf.noarch (rpmforge)
    mtop-0.6.6-1.2.el5.rf.noarch from rpmforge has depsolving problems
      --> Missing Dependency: perl(Curses) is needed by package mtop-0.6.6-1.2.el5.rf.noarch (rpmforge)
    mtop-0.6.6-1.2.el5.rf.noarch from rpmforge has depsolving problems
      --> Missing Dependency: perl(DBI) is needed by package mtop-0.6.6-1.2.el5.rf.noarch (rpmforge)
    Error: Missing Dependency: perl(Curses) is needed by package mtop-0.6.6-1.2.el5.rf.noarch (rpmforge)
    Error: Missing Dependency: perl(DBI) is needed by package mtop-0.6.6-1.2.el5.rf.noarch (rpmforge)
    Error: Missing Dependency: perl(DBD::mysql) is needed by package mtop-0.6.6-1.2.el5.rf.noarch (rpmforge)
     You could try using --skip-broken to work around the problem
     You could try running: package-cleanup --problems
                            package-cleanup --dupes
                            rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.
    root@one [/etc]#
    
     
  4. 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
    This is likely happening because we exclude perl* and mysql* in /etc/yum.conf file. Open up /etc/yum.conf and remove the perl* and mysql* exclusions, then save that file. Re-run the installation again. If it does work, you would then want to re-add the /etc/yum.conf exclusions for perl* and mysql*
     
  5. fkatzenb

    fkatzenb Well-Known Member

    Joined:
    Sep 23, 2009
    Messages:
    216
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lusby, Maryland, United States
    cPanel Access Level:
    Root Administrator
    Thanks tristan. I did a support request last night and was reminded that you compile via source, not by rpm.
     
    #5 fkatzenb, Dec 20, 2011
    Last edited by a moderator: Dec 20, 2011
  6. ljesh

    ljesh Well-Known Member

    Joined:
    Aug 2, 2008
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    I know I am bumping an old thread (and I am sorry about that) but since there is already a thread concerning this issue I thought it's better if I don't open a new thread.
    Well, I am having the same problem when trying to install mtop.
    Before removing perl* and mysql* from /etc/yum.conf
    Code:
    yum install mtop
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: ftp.plusline.de
     * extras: ftp.plusline.de
     * rpmforge: ftp-stud.fht-esslingen.de
     * updates: ftp.plusline.de
    base                                                                                                                                                                                                               | 1.1 kB     00:00
    extras                                                                                                                                                                                                             | 2.1 kB     00:00
    rpmforge                                                                                                                                                                                                           | 1.1 kB     00:00
    updates                                                                                                                                                                                                            | 1.9 kB     00:00
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package mtop.noarch 0:0.6.6-1.2.el5.rf set to be updated
    --> Processing Dependency: perl(DBD::mysql) for package: mtop
    --> Processing Dependency: perl(Curses) for package: mtop
    --> Processing Dependency: perl(DBI) for package: mtop
    --> Finished Dependency Resolution
    mtop-0.6.6-1.2.el5.rf.noarch from rpmforge has depsolving problems
      --> Missing Dependency: perl(DBD::mysql) is needed by package mtop-0.6.6-1.2.el5.rf.noarch (rpmforge)
    mtop-0.6.6-1.2.el5.rf.noarch from rpmforge has depsolving problems
      --> Missing Dependency: perl(Curses) is needed by package mtop-0.6.6-1.2.el5.rf.noarch (rpmforge)
    mtop-0.6.6-1.2.el5.rf.noarch from rpmforge has depsolving problems
      --> Missing Dependency: perl(DBI) is needed by package mtop-0.6.6-1.2.el5.rf.noarch (rpmforge)
    Error: Missing Dependency: perl(Curses) is needed by package mtop-0.6.6-1.2.el5.rf.noarch (rpmforge)
    Error: Missing Dependency: perl(DBI) is needed by package mtop-0.6.6-1.2.el5.rf.noarch (rpmforge)
    Error: Missing Dependency: perl(DBD::mysql) is needed by package mtop-0.6.6-1.2.el5.rf.noarch (rpmforge)
     You could try using --skip-broken to work around the problem
     You could try running: package-cleanup --problems
                            package-cleanup --dupes
                            rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.
    
    After removing perl* and mysql*
    Code:
    yum install mtop
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: ftp.plusline.de
     * extras: ftp.plusline.de
     * rpmforge: ftp-stud.fht-esslingen.de
     * updates: ftp.plusline.de
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package mtop.noarch 0:0.6.6-1.2.el5.rf set to be updated
    --> Processing Dependency: perl(DBD::mysql) for package: mtop
    --> Processing Dependency: perl(Curses) for package: mtop
    --> Processing Dependency: perl(DBI) for package: mtop
    --> Running transaction check
    ---> Package perl-Curses.x86_64 0:1.28-1.el5.rf set to be updated
    ---> Package perl-DBD-MySQL.x86_64 0:3.0007-2.el5 set to be updated
    --> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: perl-DBD-MySQL
    --> Processing Dependency: libmysqlclient.so.15()(64bit) for package: perl-DBD-MySQL
    ---> Package perl-DBI.x86_64 0:1.52-2.el5 set to be updated
    --> Running transaction check
    ---> Package mysql.x86_64 0:5.0.95-1.el5_7.1 set to be updated
    --> Processing Conflict: mysql conflicts MySQL
    --> Finished Dependency Resolution
    mysql-5.0.95-1.el5_7.1.x86_64 from updates has depsolving problems
      --> mysql conflicts with MySQL-server
    Error: mysql conflicts with MySQL-server
     You could try using --skip-broken to work around the problem
     You could try running: package-cleanup --problems
                            package-cleanup --dupes
                            rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.
    
    Any help please?
    Thanks in advance.
     
  7. LeadDogGraphics

    LeadDogGraphics Well-Known Member

    Joined:
    Feb 25, 2012
    Messages:
    97
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    West Palm Beach, FL
    cPanel Access Level:
    Root Administrator
    I too am having this issue. I have removed the entries as suggested by CP admins and still no luck.
     
  8. chiefme

    chiefme Member

    Joined:
    Jan 21, 2009
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I'm also having the same issue, removed perl* and mysql* from /etc/yum.conf too.

    Code:
    root@srv1 [/]# yum install mtop
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * epel: ftp.rhd.ru
     * openvz-kernel-rhel5: mirror.duomenucentras.lt
     * openvz-utils: mirror.duomenucentras.lt
     * rpmforge: ftp-stud.fht-esslingen.de
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package mtop.noarch 0:0.6.6-1.2.el5.rf set to be updated
    --> Processing Dependency: perl(DBD::mysql) for package: mtop
    --> Processing Dependency: perl(Curses) for package: mtop
    --> Running transaction check
    ---> Package perl-Curses.x86_64 0:1.28-1.el5.rf set to be updated
    ---> Package perl-DBD-MySQL.x86_64 0:3.0007-2.el5 set to be updated
    --> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for packa  ge: perl-DBD-MySQL
    --> Processing Dependency: libmysqlclient.so.15()(64bit) for package: perl-DBD-MySQ  L
    --> Running transaction check
    ---> Package mysql.x86_64 0:5.0.95-1.el5_7.1 set to be updated
    --> Processing Conflict: mysql conflicts MySQL
    --> Finished Dependency Resolution
    mysql-5.0.95-1.el5_7.1.x86_64 from updates has depsolving problems
      --> mysql conflicts with MySQL-server
    Error: mysql conflicts with MySQL-server
     You could try using --skip-broken to work around the problem
     You could try running: package-cleanup --problems
                            package-cleanup --dupes
                            rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.
    
     
Loading...

Share This Page