[Pkg-cacti-maint] Bug#704011: cacti: Fails to execute PHP SNMP query scripts

Jaap Winius jwinius at umrk.nl
Wed Mar 27 00:08:48 UTC 2013


Quoting Paul Gevers <elbrus at debian.org>:

> Could you please increase the Poller Logging Level in the General
> Settings to Debug or High for at least one cacti run and post the
> content of the relevant part of /var/log/cacti/cacti.log ...

See attachment, cacti.log.gz, for one cacti run at debug level.

> ... /var/log/cacti/poller_error.log ...

It just contains the following error, over and over again:

Mar 25 22:50:04 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

Yet this file is present, it's 46712 bytes in size, has owner root and  
permissions 644. It's also part of the php5-snmp package.

> ... and /var/log/cacti/rrd.log ? Maybe there is useful information there.

This file exists, but is empty.

> An other option might be to check what the output is of a manual run of
> the poller: php /usr/share/cacti/site/poller.php

That usually gives no output, but sometimes says e.g.:

OK u:0.00 s:0.01 r:1.28
03/27/2013 01:04:19 AM - SYSTEM STATS: Time:1.4655 Method:cmd.php  
Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:106  
RRDsProcessed:1

Cheers,

Jaap
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cacti.log.gz
Type: application/x-gzip
Size: 4826 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cacti-maint/attachments/20130327/bdf681b8/attachment.bin>


More information about the Pkg-cacti-maint mailing list