Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Error Installing Dns Only

Discussion in 'Bind/DNS/Nameserver' started by deanstev, Oct 5, 2007.

  1. deanstev

    deanstev Well-Known Member

    Joined:
    Jun 10, 2004
    Messages:
    110
    Likes Received:
    0
    Trophy Points:
    166
    Ok, I can't seem to successfully install DNS-Only, or be able to restart chkservd..

    During the install I get the following error:

    Code:
    Can't locate version.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/local/cpanel/Cpanel/Lang/Cache/Utils/Cachelangfiles.pm line 11.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Lang/Cache/Utils/Cachelangfiles.pm line 11.
    Compilation failed in require at /usr/local/cpanel/bin/cachelangfiles line 11.
    BEGIN failed--compilation aborted at /usr/local/cpanel/bin/cachelangfiles line 11.
    Code:
    [root@mercury ~]# service chkservd restart
    Stopping chkservd:                                         [FAILED]
    Starting chkservd: Can't locate Cpanel/DiskLib.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/local/cpanel/libexec/chkservd line 14.
    BEGIN failed--compilation aborted at /usr/local/cpanel/libexec/chkservd line 14.
                                                               [FAILED]
    [root@mercury ~]#
     
  2. AlexV.

    AlexV. Well-Known Member

    Joined:
    Jun 15, 2006
    Messages:
    212
    Likes Received:
    1
    Trophy Points:
    168
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. deanstev

    deanstev Well-Known Member

    Joined:
    Jun 10, 2004
    Messages:
    110
    Likes Received:
    0
    Trophy Points:
    166
    Hi Alex, yeah I am :)
     
  4. deanstev

    deanstev Well-Known Member

    Joined:
    Jun 10, 2004
    Messages:
    110
    Likes Received:
    0
    Trophy Points:
    166
    This time, I installed the latest Perl first; same error.

    Code:
    ==> cPanel Install Complete
    ==> Removing Installer.....Done
    ==> Starting cPanel....
    Waiting for whostmgrd to shutdown ... ...Done
    Warning: language cache is out of date.  It is being rebuilt now.
    Can't locate version.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/Lang/Cache/Utils/Cachelangfiles.pm line 11.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Lang/Cache/Utils/Cachelangfiles.pm line 11.
    Compilation failed in require at /usr/local/cpanel/bin/cachelangfiles line 11.
    BEGIN failed--compilation aborted at /usr/local/cpanel/bin/cachelangfiles line 11.
    ==> Post Install Complete
    ..................[root@mercury home]
     
  5. deanstev

    deanstev Well-Known Member

    Joined:
    Jun 10, 2004
    Messages:
    110
    Likes Received:
    0
    Trophy Points:
    166
    Any pointers?
     
  6. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    43
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Which OS are you using?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. deanstev

    deanstev Well-Known Member

    Joined:
    Jun 10, 2004
    Messages:
    110
    Likes Received:
    0
    Trophy Points:
    166
    CentOS 4.x
     
  8. AlexV.

    AlexV. Well-Known Member

    Joined:
    Jun 15, 2006
    Messages:
    212
    Likes Received:
    1
    Trophy Points:
    168
    deanstev:

    I'm going to install DNSONLY on one of our test servers running Cent0S 4.3.

    Will try to duplicate your issue and maintain you updated.

    Thank you for your patience.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. AlexV.

    AlexV. Well-Known Member

    Joined:
    Jun 15, 2006
    Messages:
    212
    Likes Received:
    1
    Trophy Points:
    168
    deanstev:

    I installed DNSONLY on a CentOS 4.5 server without any issues.

    hostname# cat /etc/redhat-release
    CentOS release 4.5 (Final)
    hostname# cat /usr/local/cpanel/version
    11.11.0-DNSONLY_16984

    cpan> install version
    CPAN: Storable loaded ok (v2.16)
    Going to read /home/.cpan/Metadata
    Database was generated on Thu, 11 Oct 2007 02:36:51 GMT
    version is up to date (0.73).


    All the perl modules were installed without any issues:
    perlmod--Install done
    Tested 40, 40 ok, 0 failed.


    If you keep having issues I would suggest opening a support ticket in order to have our technicians troubleshoot your server.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. deanstev

    deanstev Well-Known Member

    Joined:
    Jun 10, 2004
    Messages:
    110
    Likes Received:
    0
    Trophy Points:
    166
    I managed to install DNS-Only... Yay!


    Now I only get the following error:

    [root@mercury ~]# service chkservd restart
    Stopping chkservd: [FAILED]
    Starting chkservd: Can't locate Cpanel/DiskLib.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /usr/local/cpanel/libexec/chkservd line 14.
    BEGIN failed--compilation aborted at /usr/local/cpanel/libexec/chkservd line 14.
    [FAILED]
     
  11. AlexV.

    AlexV. Well-Known Member

    Joined:
    Jun 15, 2006
    Messages:
    212
    Likes Received:
    1
    Trophy Points:
    168
    Try running:
    /usr/local/cpanel/bin/checkperlmodules
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. deanstev

    deanstev Well-Known Member

    Joined:
    Jun 10, 2004
    Messages:
    110
    Likes Received:
    0
    Trophy Points:
    166
    Attached is output - couldn't post here as character limit.
     

    Attached Files:

  13. myBox

    myBox Active Member

    Joined:
    Jan 6, 2004
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    156
    I was having same problem

    I solved it by copying : /usr/local/cpanel/Cpanel/DiskLib.pm from another full cpanel server in teh DNS-only server.

    it worked :)

    I even tried to upgrade to perl 5.8.8. and then downgraded to 5.8.7 same problem until I copied this file.


    cheers
     
  14. RACKSET

    RACKSET Active Member

    Joined:
    Apr 28, 2006
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    localhost
    Thanks, I had this issue and your comment helped to fix this.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice