PDA

View Full Version : Debian 4.04 NAGIOS 3.03 CENTREON 2 + PEAR modules Installation problemes


Lemmy78
09-05-2008, 06:14 PM
Salut,

J'ai un pbme lors de l'installation des modules PEAR :

Upgrading PEAR modules
Installing PEAR modules
Image_GraphViz 1.1.0
Fatal error: Cannot use string offset as an array in /usr/share/php/PEAR/REST/10.php on line 256
Check PEAR modules
PEAR 1.5.0 1.7.2 OK
DB 1.7.6 1.7.13 OK
DB_DataObject 1.8.4 1.8.8 OK
DB_DataObject_FormBuilder 1.0.0RC4 1.0.0RC7 OK
MDB2 2.0.0 2.4.1 OK
Date 1.4.6 1.4.7 OK
HTML_Common 1.2.2 1.2.4 OK
HTML_QuickForm 3.2.5 3.2.10 OK
HTML_QuickForm_advmultiselect 1.1.0 1.4.1 OK
HTML_Table 1.6.1 1.8.2 OK
Archive_Tar 1.1 1.3.2 OK
Auth_SASL 1.0.1 1.0.2 OK
Console_Getopt 1.2 1.2.3 OK
HTTP 1.2.2 1.4.1 OK

Et la ça part en vrille

Image_GraphViz 1.1.0 NOK
Net_SMTP 1.2.8 NOK
Net_Socket 1.0.1 NOK
Net_Traceroute 0.21 NOK
Net_Ping 2.4.1 NOK
Validate 0.6.2 NOK
XML_RPC 1.4.5 NOK
SOAP 0.10.1 NOK
Log 1.9.11 NOK

J'ai essayé tout un tas de trucs mais je coince.

Si qqu'un a une idée sur l'erreur je suis preneur ?

Merci

A+

WAtt
09-05-2008, 06:49 PM
salut,

Commence déjà par utilisé les pear packager :)


aptitude install php-pear php-auth php-date php-db php-html-common php-http php-log php-net-ping php-net-smtp php-net-socket php-soap

Lemmy78
09-05-2008, 07:33 PM
j'ai suivi le tuto du wiki : http://en.doc.centreon.com/Nagios3_Centreon2_Ubuntu_prerequisites

et ce n'est pas mentionné ou alors je ne l'ai pas vu.

Bon j'essaye et je te dis

Merci

WAtt
09-05-2008, 10:01 PM
Ca n'est en effet pas mentionné. C'est juste que je suis sur le paquet debian, du coup, je profite :)

Lemmy78
09-06-2008, 12:24 AM
Ok je comprends mieux. ;)

Merci ça marche.:)

Faudrait modifier le wiki alors non ?

A+

Lemmy78
09-08-2008, 01:05 PM
en fait j'ai 2 erreurs sur les pasquets php-net-ping et php-html-common qui ne sont pas trouvés.

Y'a-t-il une source particulière à rajouter dans le source list pour debian R3 ou ces paquets ont un autre nom ?

Merci

xoroz
09-09-2008, 03:51 PM
if you read my howto you could have done PEAR installation correctly.
http://felipeferreira.net/?p=33 (http://www.felipeferreira.net/?p=33)

"
...
Upgrade PEAR(Oreon 2 may perform this automatic?)
# pear upgrade pear
# pear install -o -f –alldeps DB_DataObject DB_DataObject_FormBuilder MDB2 Numbers_Roman \
Numbers_Words HTML_Common HTML_QuickForm2 HTML_QuickForm_advmultiselect HTML_Table Auth_SASL \
HTTP Image_Canvas Image_Color Image_Graph Image_GraphViz Net_Traceroute Net_Ping Validate XML_RPC
# pear install -o -f –alldeps SOAP
Note: Versions are old, but pear/oreon will know about the new ones, so no problem.
..."