[php-maint] Bug#703903: SNMP queries not working

Jaap Winius jwinius at umrk.nl
Mon Mar 25 15:03:30 UTC 2013


Package: php5-snmp
Version: 5.4.4-14

After performing an in-place upgrade of my Debian squeeze server to  
wheezy, Cacti, which depends on php5-snmp, was no longer able to query  
the localhost or any other hosts on the network. The php shell  
commands it uses to query snmp do not work at all. Here's an example:

~# "/usr/bin/php" /usr/share/cacti/site/scripts/ss_host_disk.php  
localhost 1 1:161:500:1:10:public:::MD5::DES: query description
~# _

However, it all starts to work again as soon as I downgrade php5-snmp  
to 5.3.3-7+squeeze15 (despite php warnings due to dependency problems):

~# "/usr/bin/php" /usr/share/cacti/site/scripts/ss_host_disk.php  
localhost 1 1:161:500:1:10:public:::MD5::DES: query description
PHP Warning:  PHP Startup: Unable to load dynamic library  
'/usr/lib/php5/20100525+lfs/snmp.so' -  
/usr/lib/php5/20100525+lfs/snmp.so: cannot open shared object file: No  
such file or directory in Unknown on line 0
1!Physical memory
3!Virtual memory
6!Memory buffers
7!Cached memory
8!Shared memory
10!Swap space
31!/dev
32!/
33!/boot
34!/tmp
35!/var
36!/var/spool/squid3
37!/vicepa
38!/vicepb
39!/home
40!/u21
41!/vicepc
42!/sys/fs/fuse/connections
43!/afs
~# _



More information about the pkg-php-maint mailing list