Results 1 to 3 of 3

Thread: Error to install Pear Packages

  1. #1
    Join Date
    May 2007
    Posts
    34

    Default [Solved] Error to install Pear Packages

    I'm trying to install centreon at my nagios server on a RHEL 5.1 and all steps are ok, but at step 5 i receive the following error:



    i go to linux and try to install pear packages, but receive the following error:

    Code:
    [root@asclepius ~]# pear list
    PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
    PHP Warning:  Module 'snmp' already loaded in Unknown on line 0
    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
    XML_RPC        1.5.0   stable
    [root@asclepius ~]# pear list
    PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
    PHP Warning:  Module 'snmp' already loaded in Unknown on line 0
    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
    XML_RPC        1.5.0   stable
    [root@asclepius ~]# 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 SOAP
    PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
    PHP Warning:  Module 'snmp' already loaded in Unknown on line 0
    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/SOAP"
    Cannot initialize 'SOAP', 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 "SOAP" is not valid
    install failed
    [root@asclepius ~]#
    someone can help-me to fix it?



    [Solved]
    its my nagios server that are deny to access internet address, i allow then and all works.
    Last edited by Grejao; 26th December 2007 at 14:05. Reason: [Solved]

  2. #2
    Join Date
    Apr 2008
    Posts
    1

    Default help me please...

    i have same problem with you..

    but, how to allow access internet address ??

    i'm using RHEL 5, Nagios 2.11 and centreon 1.4.2

    thx before

  3. #3
    Join Date
    Mar 2008
    Posts
    95

    Default problème pear

    hello!

    I thing you can have this problem when you are after an proxy

    before execute command pear install, you need to type :

    export http_proxy=http://x.x.x.x:num_port
    therefore you can do your pear install !

    Try it and give me your commentary.

Similar Threads

  1. Replies: 3
    Last Post: 2nd June 2010, 20:54
  2. PHP Pear install
    By lflacayo in forum Centreon devel version
    Replies: 4
    Last Post: 6th June 2008, 09:27
  3. [Install] Composants PEAR
    By kurgan in forum Setup
    Replies: 3
    Last Post: 7th December 2006, 16:37
  4. PEAR install
    By samo in forum Setup
    Replies: 1
    Last Post: 10th August 2006, 22:00
  5. Problème install PEAR
    By folkein in forum Setup
    Replies: 23
    Last Post: 13th June 2006, 10:17

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •