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.

disk status error

Discussion in 'General Discussion' started by Shannon17, Oct 12, 2004.

  1. Shannon17

    Shannon17 Active Member

    Joined:
    Sep 20, 2004
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brisbane, Australia
    when i go System Health > Show Current Disk Usage in WHM i get the fellowing error

    Software error:
    Can't locate GD.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.5/i686-linux /usr/local/lib/perl5/5.8.5 /usr/local/lib/perl5/site_perl/5.8.5/i686-linux /usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl . /usr/local/cpanel /usr/local/cpanel/whostmgr/docroot/cgi) at ./cgi/diskusage.cgi line 9.
    BEGIN failed--compilation aborted at ./cgi/diskusage.cgi line 9.

    For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.
     
  2. Shannon17

    Shannon17 Active Member

    Joined:
    Sep 20, 2004
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brisbane, Australia
    hello can i get help for this please :(
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You need to get the GD perl module installed and possible the gd libraries. You can do this with:

    /scripts/installgd
     
  4. Shannon17

    Shannon17 Active Member

    Joined:
    Sep 20, 2004
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brisbane, Australia
    i did that

    root@slave [~]# /scripts/installgd
    Using RPM Backend: RPM version 4.2.1
    freetype: installed version 2.1.4-5 is up to date, no action needed.
    freetype-devel: installed version 2.1.4-5 is up to date, no action needed.
    Using RPM Backend: RPM version 4.2.1
    unknown package perl-CPAN (ok)
    installed: libpng-devel-1.2.2-17
    installed: libjpeg-devel-6b-29
    installed: XFree86-devel-4.3.0-55
    unknown package iconv (ok)
    unknown package jpeg (ok)
    unknown package xpm (ok)
    unknown package png (ok)
    Testing connection speed...(this could take a while)....Done
    Three usable mirrors located
    CPAN: Storable loaded ok
    Going to read /home/.cpan/Metadata
    Database was generated on Sat, 16 Oct 2004 01:09:02 GMT
    Tree::MultiNode is up to date.
    GD is up to date.
    perlmod--Install done
    GD status [1]
    GD installed ok
    root@slave [~]#




    still nothing
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Then you could try and force GD installation (say no to the first question in cpan if it asks questions):

    perl -MCPAN -e shell
    force install GD
     
  6. Shannon17

    Shannon17 Active Member

    Joined:
    Sep 20, 2004
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brisbane, Australia
    Trying with "/usr/bin/ncftpget" to get
    ftp://ftp.linux.org.ar/pub/cpan/modules/03modlist.data.gz
    Could not connect to ftp.linux.org.ar: Connection refused.
    Could not connect to ftp.linux.org.ar: Connection refused.
    Could not connect to ftp.linux.org.ar: Connection refused.
    ncftpget: cannot open ftp.linux.org.ar: remote host refused connection.

    System call "cd /root/.cpan/sources/modules && /usr/bin/ncftpget "ftp://ftp.linux.org.ar/pub/cpan/modules/03modlist.data.gz" "
    returned status 1 (wstat 256)
    Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz] doesn't exist

    Trying with "/usr/bin/wget -O -" to get
    ftp://ftp.linux.org.ar/pub/cpan/modules/03modlist.data.gz
    --00:42:36-- ftp://ftp.linux.org.ar/pub/cpan/modules/03modlist.data.gz
    => `-'
    Resolving ftp.linux.org.ar... done.
    Connecting to ftp.linux.org.ar[200.32.106.149]:21... failed: Connection refused.

    System call "/usr/bin/wget -O - "ftp://ftp.linux.org.ar/pub/cpan/modules/03modlist.data.gz" > /root/.cpan/sources/modules/03modlist.data"
    returned status 1 (wstat 256)
    Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz] doesn't exist
    Issuing "/usr/bin/ftp -n"
    ftp: connect: Connection refused
    Not connected.
    Local directory now /root/.cpan/sources/modules
    Not connected.
    Not connected.
    Not connected.
    Not connected.
    Not connected.
    Not connected.
    Bad luck... Still failed!
    Can't access URL ftp://ftp.linux.org.ar/pub/cpan/modules/03modlist.data.gz.

    Please check, if the URLs I found in your configuration file
    (ftp://ftp.linux.org.ar/pub/cpan) are valid. The urllist can be edited.
    E.g. with 'o conf urllist push ftp://myurl/'

    Could not fetch modules/03modlist.data.gz
    Trying to get away with old file:
    84852812 89 -rw-r--r-- 1 0 0 90019 Oct 11 15:59 /root/.cpan/sources/modules/03modlist.data.gz
    Going to read /root/.cpan/sources/modules/03modlist.data.gz
    Going to write /root/.cpan/Metadata
    Running install for module GD
    Running make for L/LD/LDS/GD-2.16.tar.gz
    LWP not available
    Fetching with Net::FTP:
    ftp://ftp.linux.org.ar/pub/cpan/authors/id/L/LD/LDS/GD-2.16.tar.gz

    Trying with "/usr/bin/lynx -source" to get
    ftp://ftp.linux.org.ar/pub/cpan/authors/id/L/LD/LDS/GD-2.16.tar.gz

    Looking up ftp.linux.org.ar
    ftp.linux.org.ar
    Making FTP connection to ftp.linux.org.ar
    Alert!: Unable to connect to FTP host.
    Can't Access `ftp://ftp.linux.org.ar/pub/cpan/authors/id/L/LD/LDS/GD-2.16.tar.gz'
    Alert!: Unable to access document.

    lynx: Can't access startfile

    System call "/usr/bin/lynx -source "ftp://ftp.linux.org.ar/pub/cpan/authors/id/L/LD/LDS/GD-2.16.tar.gz" > /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.16.tar"
    returned status 1 (wstat 256)
    Warning: expected file [/root/.cpan/sources/authors/id/L/LD/LDS/GD-2.16.tar.gz] doesn't exist

    Trying with "/usr/bin/ncftpget" to get
    ftp://ftp.linux.org.ar/pub/cpan/authors/id/L/LD/LDS/GD-2.16.tar.gz
    Could not connect to ftp.linux.org.ar: Connection refused.
    Could not connect to ftp.linux.org.ar: Connection refused.
    Could not connect to ftp.linux.org.ar: Connection refused.
    ncftpget: cannot open ftp.linux.org.ar: remote host refused connection.

    System call "cd /root/.cpan/sources/authors/id/L/LD/LDS && /usr/bin/ncftpget "ftp://ftp.linux.org.ar/pub/cpan/authors/id/L/LD/LDS/GD-2.16.tar.gz" "
    returned status 1 (wstat 256)
    Warning: expected file [/root/.cpan/sources/authors/id/L/LD/LDS/GD-2.16.tar.gz] doesn't exist

    Trying with "/usr/bin/wget -O -" to get
    ftp://ftp.linux.org.ar/pub/cpan/authors/id/L/LD/LDS/GD-2.16.tar.gz
    --00:43:41-- ftp://ftp.linux.org.ar/pub/cpan/authors/id/L/LD/LDS/GD-2.16.tar.gz
    => `-'
    Resolving ftp.linux.org.ar... done.
    Connecting to ftp.linux.org.ar[200.32.106.149]:21... failed: Connection refused.

    System call "/usr/bin/wget -O - "ftp://ftp.linux.org.ar/pub/cpan/authors/id/L/LD/LDS/GD-2.16.tar.gz" > /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.16.tar"
    returned status 1 (wstat 256)
    Warning: expected file [/root/.cpan/sources/authors/id/L/LD/LDS/GD-2.16.tar.gz] doesn't exist
    Issuing "/usr/bin/ftp -n"
    ftp: connect: Connection refused
    Not connected.
    Local directory now /root/.cpan/sources/authors/id/L/LD/LDS
    Not connected.
    Not connected.
    Not connected.
    Not connected.
    Not connected.
    Not connected.
    Not connected.
    Not connected.
    Not connected.
    Not connected.
    Bad luck... Still failed!
    Can't access URL ftp://ftp.linux.org.ar/pub/cpan/authors/id/L/LD/LDS/GD-2.16.tar.gz.

    Please check, if the URLs I found in your configuration file
    (ftp://ftp.linux.org.ar/pub/cpan) are valid. The urllist can be edited.
    E.g. with 'o conf urllist push ftp://myurl/'

    Could not fetch authors/id/L/LD/LDS/GD-2.16.tar.gz
    Giving up on '/root/.cpan/sources/authors/id/L/LD/LDS/GD-2.16.tar.gz'
    Note: Current database in memory was generated on Sun, 03 Oct 2004 06:04:49 GMT

















    looks like it cant connect :/
     
Loading...

Share This Page