Announcement

Collapse
No announcement yet.

ubuntu install pear

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

  • ubuntu install pear

    Bonjour je suis ce tuto etj'ai un robléme pour l'install de pear quelqeu'un peut m'aider please:
    tuto:
    http://wiki.oreon-project.org/index....tion_de_Nagios

    passage ou j'en suis
    Installation d'Oreon 1.4
    [edit]
    Pré-requis

    Installation des modules PEAR :

    # sudo pear upgrade DB
    # sudo pear install Date DB_DataObject Numbers_Roman HTML_Common HTML_QuickForm HTML_QuickForm_advmultiselect
    # sudo pear install Archive_Tar Console_Getopt HTTP Image_Color Image_GraphViz Mail Mail_Mime Net_SMTP Net_Socket Net_Ping XML_RPC PEAR_PackageFileManager

    # sudo pear install -o -f --alldeps DB_DataObject_FormBuilder MDB2 Numbers_Words HTML_Table Auth_SASL Image_Canvas
    # sudo pear install -o -f --alldeps Image_Graph Net_Traceroute Validate
    le message d'erreur que j'ais:


    [email protected]:/tmp/nagios-plugins-1.4.8# sudo pear upgrade DB
    No releases available for package "pear.php.net/DB"
    Cannot initialize 'DB', invalid or missing package file
    Package "DB" is not valid
    upgrade failed
    quelqu'un peut m'aider please
    j'ai une ubuntu serveur fesyfaw
    merci d'"avance
    RedHat4es
    Nagios 2.9
    Oreon 1.4

  • #2
    J'ai vu ca sur un post aujourd'hui, je crois que ca répond à ta question:
    Originally posted by surcouf View Post
    D'après le site pear.php.net, le module MDB2 remplacerait DB.
    Debian r4 - Nagios 2.9 - Oreon 1.4
    rrdtool 1.2 - plugin 1.4.8

    Comment


    • #3
      donc voila le big erreur que j'ai pour lancer upgrade de pear db
      Code:
      [email protected]:~$ pear install -o -f --alldeps DB DB_DataObject DB_DataObject_FormBuilder MDB2 Date Numbers_Roman Numbers_Words HTML_Common HTML_QuickForm HTML_QuickForm_advmultiselect HTML_Table Auth_SASL HTTP Image_Canvas Image_Color Image_Graph Image_GraphViz Mail Mail_Mime Net_SMTP Net_Socket Net_Traceroute Net_Ping Validate XML_RPC
      No releases available for package "pear.php.net/DB"
      Cannot initialize 'DB', invalid or missing package file
      No releases available for package "pear.php.net/DB_DataObject"
      Cannot initialize 'DB_DataObject', invalid or missing package file
      No releases available for package "pear.php.net/DB_DataObject_FormBuilder"
      Cannot initialize 'DB_DataObject_FormBuilder', invalid or missing package file
      No releases available for package "pear.php.net/MDB2"
      Cannot initialize 'MDB2', invalid or missing package file
      No releases available for package "pear.php.net/Date"
      Cannot initialize 'Date', invalid or missing package file
      No releases available for package "pear.php.net/Numbers_Roman"
      Cannot initialize 'Numbers_Roman', invalid or missing package file
      No releases available for package "pear.php.net/Numbers_Words"
      Cannot initialize 'Numbers_Words', invalid or missing package file
      No releases available for package "pear.php.net/HTML_Common"
      Cannot initialize 'HTML_Common', invalid or missing package file
      No releases available for package "pear.php.net/HTML_QuickForm"
      Cannot initialize 'HTML_QuickForm', invalid or missing package file
      No releases available for package "pear.php.net/HTML_QuickForm_advmultiselect"
      Cannot initialize 'HTML_QuickForm_advmultiselect', invalid or missing package file
      No releases available for package "pear.php.net/HTML_Table"
      Cannot initialize 'HTML_Table', invalid or missing package file
      No releases available for package "pear.php.net/Auth_SASL"
      Cannot initialize 'Auth_SASL', invalid or missing package file
      No releases available for package "pear.php.net/HTTP"
      Cannot initialize 'HTTP', invalid or missing package file
      No releases available for package "pear.php.net/Image_Canvas"
      Cannot initialize 'Image_Canvas', invalid or missing package file
      No releases available for package "pear.php.net/Image_Color"
      Cannot initialize 'Image_Color', invalid or missing package file
      No releases available for package "pear.php.net/Image_Graph"
      Cannot initialize 'Image_Graph', invalid or missing package file
      No releases available for package "pear.php.net/Image_GraphViz"
      Cannot initialize 'Image_GraphViz', invalid or missing package file
      No releases available for package "pear.php.net/Mail"
      Cannot initialize 'Mail', invalid or missing package file
      No releases available for package "pear.php.net/Mail_Mime"
      Cannot initialize 'Mail_Mime', invalid or missing package file
      No releases available for package "pear.php.net/Net_SMTP"
      Cannot initialize 'Net_SMTP', invalid or missing package file
      No releases available for package "pear.php.net/Net_Socket"
      Cannot initialize 'Net_Socket', invalid or missing package file
      No releases available for package "pear.php.net/Net_Traceroute"
      Cannot initialize 'Net_Traceroute', invalid or missing package file
      No releases available for package "pear.php.net/Net_Ping"
      Cannot initialize 'Net_Ping', invalid or missing package file
      No releases available for package "pear.php.net/Validate"
      Cannot initialize 'Validate', invalid or missing package file
      No releases available for package "pear.php.net/XML_RPC"
      Cannot initialize 'XML_RPC', invalid or missing package file
      Package "DB" is not valid
      Package "DB_DataObject" is not valid
      Package "DB_DataObject_FormBuilder" is not valid
      Package "MDB2" is not valid
      Package "Date" is not valid
      Package "Numbers_Roman" is not valid
      Package "Numbers_Words" is not valid
      Package "HTML_Common" is not valid
      Package "HTML_QuickForm" is not valid
      Package "HTML_QuickForm_advmultiselect" is not valid
      Package "HTML_Table" is not valid
      Package "Auth_SASL" is not valid
      Package "HTTP" is not valid
      Package "Image_Canvas" is not valid
      Package "Image_Color" is not valid
      Package "Image_Graph" is not valid
      Package "Image_GraphViz" is not valid
      Package "Mail" is not valid
      Package "Mail_Mime" is not valid
      Package "Net_SMTP" is not valid
      Package "Net_Socket" is not valid
      Package "Net_Traceroute" is not valid
      Package "Net_Ping" is not valid
      Package "Validate" is not valid
      Package "XML_RPC" is not valid
      install failed
      RedHat4es
      Nagios 2.9
      Oreon 1.4

      Comment


      • #4
        t sur qu'il y a pas un proxy d'actif sur ton réseau?
        si oui:
        pear config-set http_proxy 'http://@ipProxy:n°port'
        Fedora 8
        Nagios 2.11
        Plugins-nagios 1.4.11
        Centreon 1.4.2.4
        Pour une bonne petite doc c'est ICI

        Comment


        • #5
          Essaye peut-être en fesant ça :

          # pear channel-update pear.php.net
          # pear install XML_RPC

          Puis en installant le reste.
          Debian Etch 4.0
          Nagios v2.9 - Oreon v1.4-5 - Nagios Status Map 1.1 - Nagios Checker 0.9.5
          Niveau Linux : ~débutant

          Comment


          • #6
            non rien ne marche
            la je comprend pas ?
            RedHat4es
            Nagios 2.9
            Oreon 1.4

            Comment


            • #7
              ta quel version de pear?
              fait un petit "pear version" pour voir?
              Fedora 8
              Nagios 2.11
              Plugins-nagios 1.4.11
              Centreon 1.4.2.4
              Pour une bonne petite doc c'est ICI

              Comment


              • #8
                Je te conseil de télécharger les sources et de faire :

                # pear install "package.tgz"

                Si il te dit qu'il manque des dépendences ( ce qui risque d'etre le cas pour certains packets) installe les packets manquant avant

                Moi c'est comme ca que j'ai fait, car j'avais le même probleme que toi. Même avec mon proxy réglé je n'arrivé pas à trouver les packages sur pear.php.net

                Comment


                • #9
                  pb d'install dépendances pear / ubuntu 7.2 > Oreon 1.4

                  Salut;

                  Jsui + que newbie dans le monde Linux, j'ai fais une install de ubuntu (version 7.2 je crois) et j'ai suivi la procédure d'install de ubuntu+nagios+oreon fournie par un 'laboratoire-microsoftien'. tout se passe bien, jusqu'au moment de 'créer les dépendances avec Pear' ...

                  voici les commandes à saisir :
                  pear install -f pear-x
                  pear install -fa -alldeps Archive_Tar DB Net_Socket Mail XML_RPC HTML_Template_IT PEAR_Frontend_Gtk
                  pear install -f pear
                  pear install -fa -alldeps PEAR_Frontend_Web-0.5.0 Net_userAgent_detect HTTP Net_SMTP XML_Parser
                  pear channel-update pear.php.net
                  ... et encore d'autres trucs ...

                  bref, juste avec la premiere ligne, j'ai l'erreur suivante :
                  No releases available for package "pear.php.net/PEAR
                  invalid package name/package file "pear-x"
                  Cannot initialize 'pear-x', invalid or missing package file
                  Package "pear-x" is not valid
                  install failed

                  .. j'ai merdé qq part ? j'ai vu kil y avait deja qq posts, mais sans réponse. il a été question d'un pb de proxy, j'ai effectivement un serveur proxy sur le LAN, mais j'ai tenté a partir d'une connexion freebox, c kif kif....

                  si je fais pear version, j'ai :
                  PEAR Version: 1.4.11
                  PHP Version: 5.2.1
                  Zend Engine Version: 2.2.0
                  Running on: Linux NAGIOS 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686

                  que me manque t il ? doisje réinstaller un truc ??
                  merci d'avance !!!

                  Comment


                  • #10
                    Fait un pear list pour voir ?

                    Comment


                    • #11
                      Originally posted by Tor View Post
                      t sur qu'il y a pas un proxy d'actif sur ton réseau?
                      si oui:
                      salut,

                      tu luis spécifie ou et qd les login/pass pour se connecter au serveur proxy ? dans mon cas un MS ISA 2000 ?? :confused:

                      thx

                      Comment


                      • #12
                        ok ok ...

                        l'update du channel a fonctionné , j'arrive à DL les packages,

                        par contre, à quoi sert la commande pear install -f pear-x ?

                        et les paramètres '-f' et '-fa' ?? thx

                        Comment


                        • #13
                          tu le spécifie ou le login mot de pass pour pear?
                          RedHat4es
                          Nagios 2.9
                          Oreon 1.4

                          Comment


                          • #14
                            [email protected]Nagios:/$ pear list
                            Installed packages, channel pear.php.net:
                            =========================================
                            Package Version State
                            Archive_Tar 1.3.1 stable
                            Console_Getopt 1.2 stable
                            PEAR 1.4.9 stable
                            qu'en pensé vous?
                            RedHat4es
                            Nagios 2.9
                            Oreon 1.4

                            Comment


                            • #15
                              Originally posted by mika2006 View Post
                              qu'en pensé vous?
                              moi en faisant la commande pear list j'ai ça :
                              Installed packages, channel pear.php.net:
                              =========================================
                              Package Version State
                              Archive_Tar 1.3.1 stable
                              Auth_SASL 1.0.2 stable
                              Console_Getopt 1.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_ElementGrid 0.1.1 alpha
                              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
                              Numbers_Roman 0.2.0 stable
                              Numbers_Words 0.15.0 beta
                              PEAR 1.5.1 stable
                              PEAR_Frontend_Gtk 0.4.0 beta
                              PEAR_PackageFileManager 1.6.0 stable
                              Structures_Graph 1.0.2 stable
                              Validate 0.7.0 beta
                              XML_RPC 1.5.1 stable
                              Oreon 1.4 nagios 2.5
                              Debian 2.6.17
                              Linux-VServer
                              AMD Athlon XP 1600+ ( 1,4 GHz )
                              384 Mo DD 40 Gigas

                              ( Novice sous Linux je démarre )

                              Comment

                              Working...
                              X