[Résolu] Installation mobule Perl

molter85
Messages : 7
Inscription : 27 février 2014, 11:12

[Résolu] Installation mobule Perl

Message par molter85 » 25 avril 2014, 16:35

Bonjour,

Je viens vers vous pour vous demander votre aide, en effet j'utilise une solution de supervision sous CentOS 6.5 et pour l'une des commandes de check il me faut le module Perl (XML::Simple), pour ce faire j'ai installé cpan mais lorsque je lance la commande install XML::Simple, j'ai ces messages :

Code : Tout sélectionner

cpan[1]> install XML::Simple
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
  Database was generated on Fri, 25 Apr 2014 13:06:14 GMT
  HTTP::Date not available
............................................................................DONE

Trying with
    /usr/bin/wget -O "/root/.cpan/sources/modules/03modlist.data.gz.tmp23290"
to get
    http://www.cpan.org/modules/03modlist.data.gz

    Function system("/usr/bin/wget -O "/root/.cpan/sources/modules/03modlist.data.gz.tmp23290" "http://www.cpan.org/modules/03modlist.data.gz" ")
    returned status 72057594037927935 (wstat -1)
Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz.tmp23290] doesn't exist
    Warning: no success downloading '/root/.cpan/sources/modules/03modlist.data.gz.tmp23290'. Giving up on it.

Trying with
    /usr/bin/wget -O "/root/.cpan/sources/modules/03modlist.data.gz.tmp23290"
to get
    http://www.cpan.org/modules/03modlist.data.gz

    Function system("/usr/bin/wget -O "/root/.cpan/sources/modules/03modlist.data.gz.tmp23290" "http://www.cpan.org/modules/03modlist.data.gz" ")
    returned status 72057594037927935 (wstat -1)
Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz.tmp23290] doesn't exist
    Warning: no success downloading '/root/.cpan/sources/modules/03modlist.data.gz.tmp23290'. Giving up on it.
No external ftp command available


Trying with
    /usr/bin/wget -O "/root/.cpan/sources/modules/03modlist.data.gz.tmp23290"
to get
    http://www.cpan.org/modules/03modlist.data.gz

    Function system("/usr/bin/wget -O "/root/.cpan/sources/modules/03modlist.data.gz.tmp23290" "http://www.cpan.org/modules/03modlist.data.gz" ")
    returned status 72057594037927935 (wstat -1)
Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz.tmp23290] doesn't exist
    Warning: no success downloading '/root/.cpan/sources/modules/03modlist.data.gz.tmp23290'. Giving up on it.

Trying with
    /usr/bin/wget -O "/root/.cpan/sources/modules/03modlist.data.gz.tmp23290"
to get
    http://www.cpan.org/modules/03modlist.data.gz

    Function system("/usr/bin/wget -O "/root/.cpan/sources/modules/03modlist.data.gz.tmp23290" "http://www.cpan.org/modules/03modlist.data.gz" ")
    returned status 72057594037927935 (wstat -1)
Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz.tmp23290] doesn't exist
    Warning: no success downloading '/root/.cpan/sources/modules/03modlist.data.gz.tmp23290'. Giving up on it.
No external ftp command available

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

Could not fetch modules/03modlist.data.gz
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Line-Count header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Last-Updated header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Could not split line["▒▒!I▒q▒d[▒\\▒4N▒▒E▒▒▒\cR▒E/cG▒\cFL?8tt▒nt▒▒▒▒5w[\cRQv▒▒▒▒▒▒2g,▒▒\cN▒0▒▒▒\e▒▒\cE▒▒▒▒▒▒▒F▒▒▒▒▒▒▒IB▒3▒▒S▒,3%L▒J▒Jsu▒E2Pi\"J▒\e"]
Could not split line["\cW▒▒8]\cE▒h▒▒▒▒▒\cG-▒▒▒▒▒^Y\\▒\"▒▒\cXy▒|*f▒J▒0▒▒E▒▒▒▒*▒\cGC▒▒▒mf▒▒▒▒▒▒l^▒}▒▒▒▒▒h▒▒▒`▒&▒\$O▒Ij늤4▒\c_\cH=\cAs▒p▒▒m▒x▒N\cW\cGV<H.y▒\cQm▒g▒▒\$▒▒%▒L▒U▒9s▒\cF\c@\c@▒▒▒]mS▒8\cP▒+▒\cA\cN\cR▒Eo)\cA"]
.Could not split line["▒▒▒\$c▒z\cF▒▒▒▒H▒▒▒H>B▒▒0▒▒▒c{9gyF▒C[9▒[▒▒m▒▒R}5▒b▒▒\cCd▒\$▒w▒▒\\"]
Could not split line["▒▒}▒\cCoK▒▒:m#5▒\cFY▒▒<|q▒▒OY3▒'▒3▒B▒KR+_▒▒c^AM>N▒Y"]
Giving up parsing your /root/.cpan/sources/modules/02packages.details.txt.gz, too many errorsTerminal does not support GetHistory.
Lockfile removed.
Je ne comprends pas du tout, je suis totalement bloqué...
Dernière modification par molter85 le 28 avril 2014, 11:57, modifié 1 fois.

Beta-Pictoris
Messages : 1017
Inscription : 07 janvier 2014, 21:48
Localisation : Angers, France

Re: Installation mobule Perl

Message par Beta-Pictoris » 25 avril 2014, 19:36

Ta commande essaye, entre autre, de télécharger le fichier 'http://www.cpan.org/modules/03modlist.data.gz' via la commande wget, mais n'y arrive pas.

Par conséquent, ta centos dispose t'elle d'un accès internet ?

Vérifie aussi que le paquet wget soit bien installé.

molter85
Messages : 7
Inscription : 27 février 2014, 11:12

Re: Installation mobule Perl

Message par molter85 » 28 avril 2014, 11:56

Bon et bien ce matin c'est passé, j'avais bien l'accès internet et wget, il me manquait juste gcc.

Répondre