Message d'erreur que je ne comprends pas

Bonjour,

J’ai été catapulté responsable d’un serveur dédié tournant sous Debian. Tout doucement, avec différents tutoriaux, je commence péniblement à m’y retrouver.

Cependant, j’ai des erreurs au niveau de mon log Apache et je ne vois pas trop comment résoudre le problème.

Voici ce que je peux voir :

root@xxxx:/# php5 -v
No log handling enabled - turning on stderr logging
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (UCD-DISKIO-MIB): At line 0 in (none)
Cannot find module (LM-SENSORS-MIB): At line 0 in (none)
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (IPV6-ICMP-MIB): At line 0 in (none)
Cannot find module (IPV6-MIB): At line 0 in (none)
Cannot find module (IPV6-TCP-MIB): At line 0 in (none)
Cannot find module (IPV6-UDP-MIB): At line 0 in (none)
Cannot find module (IP-FORWARD-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
Cannot find module (NET-SNMP-VACM-MIB): At line 0 in (none)
PHP 5.2.6-1+lenny9 with Suhosin-Patch 0.9.6.2 (cli) (built: Aug  4 2010 03:25:57)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

Merci d’avance pour votre aide, je suis perdu :frowning:

Christophe

Salut,

PHP5 cherche à charge un module qui n’est pas installé.
a vue de nez je dirais php5-snmp ?

Soit tu désactive le chargement du module soit tu installe (ou réinstalle) le paquet.

Attention, c’est juste un avis…

Salut,

Lorsque je tape

il me retourne :

ii libnet-snmp-perl 5.2.0-4 Script SNMP connections ii libsnmp-base 5.4.3~dfsg-1 SNMP (Simple Network Management Protocol) MI ii libsnmp-perl 5.4.1~dfsg-12 SNMP (Simple Network Management Protocol) Pe ii libsnmp-session-perl 1.13-1 Perl support for accessing SNMP-aware device ii libsnmp15 5.4.1~dfsg-12 SNMP (Simple Network Management Protocol) li ii php5-snmp 5.2.6.dfsg.1-1+lenny9 SNMP module for php5 ii snmp 5.4.1~dfsg-12 SNMP (Simple Network Management Protocol) ap ii snmpd 5.4.1~dfsg-12 SNMP (Simple Network Management Protocol) ag
Lorsque je tape

tout semble déjà installé

Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Writing extended state information... Done Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done
Merci d’avance pour ton aide !

Christophe

Re,
Les modules manquants sont ici : packages.debian.org/lenny/all/li … n/filelist

Bonjour,

Merci beaucoup, je vais essayer.

Christophe

Alors ?

Les erreurs sont toujours là …

Alors je ne vois pas.
Tu devrais regarder tes fichiers php.ini et vérifier si le chemin donné pour les modules est le bon…
Il y a plein de personnes qui postent avec les même erreurs que toi sur le net. je n’ai pas trouvé une seule solution acceptable.

Moi non plus, j’ai même lu certains posts où l’on parle de désinstaller puis réinstaller php mais j’avoue être un peu frileux !

Je vais continuer mes recherches.

Merci en tout cas.

Hello.

Y’a pas un :

à faire ou relancer apache?

@+…

Bonjour,

Lorsque je tape “a2enmod module”, je reçois une erreur “ERROR: Module module does not exist!”.

Merci pour la suggestion !

Christophe