Announcement

Collapse
No announcement yet.

Problème etape 5 oreon (pear)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problème etape 5 oreon (pear)

    Je post ca ici car cela concerne l'installe oréon , alors que le post a déjà été commencé dans la rubirque nagios (http://forum.oreon-project.org/showthread.php?t=3728)

    Je suis bloqué à l'étape 5 de l'installe oréon (Verifying PHP Pear Component). Lors de ma première installe ca m'avait fait la même chose et j'ai lancé la commande shell qui est donné en bas :

    Code:
    pear install -o -f --alldeps DB_DataObject DB_DataObject_FormBuilder MDB2 Numbers_Roman Numbers_Words HTML_Common HTML_QuickForm HTML_QuickForm_advmultiselect HTML_Table Auth_SASL HTTP Image_Canvas Image_Color Image_Graph Image_GraphViz Net_Traceroute Net_Ping Validate XML_RPC

    Code:
    WARNING: "pear/HTML_Common" is deprecated in favor of "pear/HTML_Common2"
    WARNING: "pear/HTML_QuickForm" is deprecated in favor of "pear/HTML_QuickForm2"
    warning: pear/DB_DataObject_FormBuilder requires package "pear/Date" (version >= 1.4.7), installed version is 1.4.6
    downloading DB_DataObject-1.8.5.tgz ...
    Starting to download DB_DataObject-1.8.5.tgz (Unknown size)
    ...............done: 61,135 bytes
    downloading DB_DataObject_FormBuilder-1.0.0RC7.tgz ...
    Starting to download DB_DataObject_FormBuilder-1.0.0RC7.tgz (Unknown size)
    ...done: 68,052 bytes
    downloading MDB2-2.4.1.tgz ...
    Starting to download MDB2-2.4.1.tgz (Unknown size)
    ...done: 119,790 bytes
    downloading Numbers_Roman-1.0.1.tgz ...
    Starting to download Numbers_Roman-1.0.1.tgz (Unknown size)
    ...done: 3,778 bytes
    downloading Numbers_Words-0.15.0.tgz ...
    Starting to download Numbers_Words-0.15.0.tgz (Unknown size)
    ...done: 44,854 bytes
    downloading HTML_Common-1.2.4.tgz ...
    Starting to download HTML_Common-1.2.4.tgz (Unknown size)
    ...done: 4,519 bytes
    downloading HTML_QuickForm-3.2.9.tgz ...
    Starting to download HTML_QuickForm-3.2.9.tgz (Unknown size)
    ...done: 101,392 bytes
    downloading HTML_QuickForm_advmultiselect-1.3.1.tgz ...
    Starting to download HTML_QuickForm_advmultiselect-1.3.1.tgz (Unknown size)
    ...done: 374,986 bytes
    downloading HTML_Table-1.8.0.tgz ...
    Starting to download HTML_Table-1.8.0.tgz (Unknown size)
    ...done: 16,972 bytes
    downloading Auth_SASL-1.0.2.tgz ...
    Starting to download Auth_SASL-1.0.2.tgz (Unknown size)
    ...done: 5,645 bytes
    downloading HTTP-1.4.0.tgz ...
    Starting to download HTTP-1.4.0.tgz (Unknown size)
    ...done: 4,593 bytes
    downloading Image_Canvas-0.3.0.tgz ...
    Starting to download Image_Canvas-0.3.0.tgz (Unknown size)
    ...done: 43,423 bytes
    downloading Image_Color-1.0.2.tgz ...
    Starting to download Image_Color-1.0.2.tgz (Unknown size)
    ...done: 7,724 bytes
    downloading Image_Graph-0.7.2.tgz ...
    Starting to download Image_Graph-0.7.2.tgz (Unknown size)
    ...done: 368,056 bytes
    downloading Image_GraphViz-1.2.1.tgz ...
    Starting to download Image_GraphViz-1.2.1.tgz (Unknown size)
    ...done: 4,872 bytes
    downloading Net_Traceroute-0.21.1.tgz ...
    Starting to download Net_Traceroute-0.21.1.tgz (Unknown size)
    ...done: 5,439 bytes
    downloading Net_Ping-2.4.1.tgz ...
    Starting to download Net_Ping-2.4.1.tgz (Unknown size)
    ...done: 8,570 bytes
    downloading Validate-0.7.0.tgz ...
    Starting to download Validate-0.7.0.tgz (Unknown size)
    ...done: 16,841 bytes
    downloading XML_RPC-1.5.1.tgz ...
    Starting to download XML_RPC-1.5.1.tgz (Unknown size)
    ...done: 32,215 bytes
    downloading HTML_QuickForm_ElementGrid-0.1.1.tgz ...
    Starting to download HTML_QuickForm_ElementGrid-0.1.1.tgz (Unknown size)
    ...done: 3,691 bytes
    
    Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in PEAR/Downloader.php on line 1194
    
    Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in /usr/share/php/PEAR/Downloader.php on line 1194
    
    Fatal error: PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php' (include_path='/usr/share/php') in /usr/share/php/PEAR/Downloader.php on line 1194
    Je vois pas ce qu'il y a je suis perdu la

    P.S : je voila mettre un screen que j'ai fait mais je sais pas comment le mettre ops:
    Last edited by klure; 8 June 2007, 11:36.

  • #2
    Pour héberger un screenshot va sur le site Imageshack.
    FC6 / Nagios 2.9 / Oréon 1.4-5

    Comment


    • #3
      Voici le resultat de la commande "pear list" chez moi :
      Code:
      srv55:/usr/local/nagios/libexec# pear list
      Installed packages, channel pear.php.net:
      =========================================
      Package                       Version  State
      Archive_Tar                   1.3.2    stable
      Auth_SASL                     1.0.2    stable
      Console_Getopt                1.2.2    stable
      DB                            1.7.11   stable
      DB_DataObject                 1.8.5    stable
      DB_DataObject_FormBuilder     1.0.0RC7 beta
      Date                          1.4.7    stable
      HTML_Common                   1.2.3    stable
      HTML_QuickForm                3.2.7    stable
      HTML_QuickForm_advmultiselect 1.3.1    stable
      HTML_Table                    1.7.5    stable
      HTML_Template_IT              1.2.1    stable
      HTTP                          1.4.0    stable
      Image_Canvas                  0.3.0    alpha
      Image_Color                   1.0.2    stable
      Image_Graph                   0.7.2    alpha
      Image_GraphViz                1.2.1    stable
      MDB2                          2.4.0    stable
      Mail                          1.1.14   stable
      Mail_Mime                     1.3.1    stable
      Net_Ping                      2.4.1    stable
      Net_SMTP                      1.2.10   stable
      Net_Socket                    1.0.7    stable
      Net_Traceroute                0.21.1   alpha
      Net_UserAgent_Detect          2.2.0    stable
      Numbers_Roman                 0.2.0    stable
      Numbers_Words                 0.15.0   beta
      PEAR                          1.5.2    stable
      PEAR_PackageFileManager       1.6.0    stable
      Structures_Graph              1.0.2    stable
      Validate                      0.7.0    beta
      XML_Parser                    1.2.8    stable
      XML_RPC                       1.5.1    stable
      Pour les installer, j'avais fait un par un. apt-get install XML_RPC un truc du genre. Essaye de faire pareil

      Comment


      • #4
        chez moi pear list :

        Code:
        Package        Version State
        Archive_Tar    1.3.2   stable
        Console_Getopt 1.2.2   stable
        DB             1.7.11  stable
        Date           1.4.6   stable
        PEAR           1.5.4   stable
        J'ai essayé apt-get install XML_RPC et il me dit impossible de trouver le paquet

        Je viens de remarque qu'il me dit très souvent
        Code:
         Failed opening required 'Structures/Graph.php' (include_path='/usr/share/php') in /usr/share/php/PEAR/Downloader.php on line 1194


        Edit : test post screen de mon problème
        Last edited by klure; 8 June 2007, 11:54.

        Comment


        • #5
          Code:
          /usr/share/php/PEAR/
                           + Date/
                           + DB/
                           + Structure/
                               + Graph/
                               + Graph.php
                           + .../
                           + XML/
                               + RPC/
                               + RPC.php

          Comment


          • #6
            Wolgang j'ai pas les fichiers que tu as mis dans /usr/share/php/PEAR/

            Comment


            • #7
              Oh, pardon, include_path='/usr/share/php', c'est pourquoi tu n'as pas trouver les fichier

              Code:
              /usr/share/php/
                           + Date/
                           + DB/
                           + PEAR/Downloader/
                               + Downloader.php
                           + Structure/
                               + Graph/
                               + Graph.php
                           + .../
                           + XML/
                               + RPC/
                               + RPC.php

              Comment


              • #8
                Dans /usr/share/php/PEAR/Downloader/ j'ai que Package.php
                Je n'ai pas le dossier Structure ni XML Comment fait on pour les obtenir ??

                Comment


                • #9
                  pear install -o -f --alldeps PEAR_Frontend_Web
                  pear install -o -f --alldeps Structures_Graph
                  pear install -o -f --alldeps XML_RPC
                  pear install -o -f --alldeps ...

                  Comment


                  • #10
                    Pour pear install -o -f --alldeps PEAR_Frontend_Web :
                    Code:
                    downloading PEAR_Frontend_Web-0.7.0.tgz ...
                    Starting to download PEAR_Frontend_Web-0.7.0.tgz (Unknown size)
                    .............done: 54,796 bytes
                    downloading HTML_Template_IT-1.2.1.tgz ...
                    Starting to download HTML_Template_IT-1.2.1.tgz (Unknown size)
                    ...done: 21,565 bytes
                    
                    Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in PEAR/Downloader.php on line 1194
                    
                    Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in /usr/share/php/PEAR/Downloader.php on line 1194
                    
                    Fatal error: PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php' (include_path='/usr/share/php') in /usr/share/php/PEAR/Downloader.php on line 1194
                    Pour pear install -o -f --alldeps Structures_Graph :
                    Code:
                    Could not download from "http://pear.php.net/get/Structures_Graph-1.0.2.tgz", cannot download "pear/Structures_Graph" (File http://pear.php.net:80/get/Structures_Graph-1.0.2.tgz not valid (received: HTTP/1.1 403 Forbidden
                    ))
                    Error: cannot download "pear/Structures_Graph"
                    Download failed
                    install failed
                    Pour pear install -o -f --alldeps XML_RPC :
                    Code:
                    downloading XML_RPC-1.5.1.tgz ...
                    Starting to download XML_RPC-1.5.1.tgz (Unknown size)
                    .........done: 32,215 bytes
                    
                    Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in PEAR/Downloader.php on line 1194
                    
                    Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in /usr/share/php/PEAR/Downloader.php on line 1194
                    
                    Fatal error: PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php' (include_path='/usr/share/php') in /usr/share/php/PEAR/Downloader.php on line 1194
                    Passant par un proxy avant de tapper ces commandes j'ai tapper la commande export http_proxy=... Mais malgrés cela le proxy pourrai t'il géner ?

                    Comment


                    • #11
                      Au pire tu télécharge les paquets sur le site de PEAR et tu les install via la commande

                      Code:
                      pear install nom_du_paquet
                      
                      ex : pear install Image_GraphViz-1.2.0.tgz
                      Ok c'est lon et chiant mais bon j'y ai survecu ;-)
                      Quoi que... :eek:
                      Debian 4.0 (etch)
                      Nagios 2.9 / Plugin 1.4.8
                      Oreon 1.4-5
                      NagiosStatusMap 1.1

                      Comment


                      • #12
                        Le probleme ne pas le proxy.

                        http://pear.php.net/package/Structures_Graph/download
                        tar -xzf Structures_Graph-1.0.2.tgz
                        cd Structures_Graph-1.0.2
                        cp -pr Structures /usr/share/php/
                        pear install -o -f --alldeps ...

                        Comment


                        • #13
                          Bah je crois que c'est le proxy car lorsque je clique sur le lien que tu m'as donné (http://pear.php.net/package/Structures_Graph/download) j'ai une page qui s'affiche et qui dit ceci :
                          Code:
                          Le contenu est défaillant
                          Le fichier transféré "http://download.pear.php.net/package/Structures_Graph-1.0.2.tgz/Structures_Graph-1.0.2/docs/tutorials/Structures_Graph/Structures_Graph.pkg" a été bloqué par Webwasher.
                          Le serveur a retourné un fichier de type application/solaris-package mais le contenu réel de ce fichier est d'un type différent.
                          
                          Merci de prévenir votre fournisseur de ne pas usurper ce type de contenu.

                          Comment


                          • #14
                            Merci c'est bon j'ai put le telecharger et ca m'a tout installé ensuite ;-)
                            En fait c'est le proxy où je taffe qui voulat pas télécharger le fichier
                            Last edited by klure; 8 June 2007, 15:04. Reason: COrrection des fautes de frappes

                            Comment


                            • #15
                              Ptitequestion que je me pose pour la suite, c'est pour MySQL Client version (Password Haching Changes). Quelle est la différence entre "=>4.1 -old_password()" et "=>4.1 - password()" ? Est ce important ?

                              Comment

                              Working...
                              X