[php-maint] Bug#320172: marked as done (SNMP data gathering with
cacti stops functioning since upgrade of snmp from 5.1.2 to 5.2.1.)
Debian Bug Tracking System
owner at bugs.debian.org
Wed Aug 10 10:33:24 UTC 2005
Your message dated Wed, 10 Aug 2005 12:21:59 +0200
with message-id <1123669320.7396.61.camel at maple.active24.cz>
and subject line Fixed in php4 4.4.0-1
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 27 Jul 2005 12:47:54 +0000
>From julien.leproust at ercom.fr Wed Jul 27 05:47:54 2005
Return-path: <julien.leproust at ercom.fr>
Received: from smtp6.wanadoo.fr [193.252.22.25]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1DxlKE-000600-00; Wed, 27 Jul 2005 05:47:54 -0700
Received: from me-wanadoo.net (unknown [127.0.0.1])
by mwinf0612.wanadoo.fr (SMTP Server) with ESMTP id B3EA91C0012E
for <submit at bugs.debian.org>; Wed, 27 Jul 2005 14:47:21 +0200 (CEST)
Received: from fw-net.ercom.fr (AVelizy-101-2-1-59.w193-251.abo.wanadoo.fr [193.251.3.59])
by mwinf0612.wanadoo.fr (SMTP Server) with SMTP id 701A81C00127
for <submit at bugs.debian.org>; Wed, 27 Jul 2005 14:47:21 +0200 (CEST)
X-ME-UUID: 20050727124721459.701A81C00127 at mwinf0612.wanadoo.fr
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: julien.leproust at ercom.fr
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: SNMP data gathering with cacti stops functioning since upgrade of snmp from
5.1.2 to 5.2.1.
X-Mailer: reportbug 3.15
Date: Wed, 27 Jul 2005 14:47:11 +0200
Message-Id: <20050727124712.24618196690 at ercom.fr>
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.4 required=4.0 tests=BAYES_00,HAS_PACKAGE,
NO_REAL_NAME autolearn=no version=2.60-bugs.debian.org_2005_01_02
Package: cacti
Version: 0.8.6f-2
Severity: important
cacti versions tested: 0.8.6e-1, 0.8.6f-2
net-snmp versions tested: 5.1.2, 5.2.1
No snmp data source can be updated with snmp 5.2.1, whereas all works
well with 5.1.2 (went back to 5.1.2 to test).
Here is an excerpt of cacti 0.8.6f-2 log with snmp 5.2.1:
07/27/2005 01:42:36 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
07/27/2005 01:42:36 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /usr/share/cacti/site
07/27/2005 01:42:36 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /usr/share/cacti/site
07/27/2005 01:42:36 PM - PHPSVR: Poller[0] DEBUG: FILENM: /usr/share/cacti/site/script_server.php
07/27/2005 01:42:36 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
07/27/2005 01:42:36 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
07/27/2005 01:42:40 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
I suspected SNMP when I saw a segfault when running cmd.php by hand. I
tracked it until I found it in a call to snmpget. The segfault
disappears when downgrading snmp packages to 5.1.2.
Thanks,
--
Julien Leproust
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.8-2-k7-smp
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)
Versions of packages cacti depends on:
ii apache2-mpm-prefork [apache2 2.0.54-4 traditional model for Apache2
ii debconf 1.4.52 Debian configuration management sy
ii libapache2-mod-php4 4:4.3.10-15 server-side, HTML-embedded scripti
ii libphp-adodb 4.52-1 The 'adodb' database abstraction l
ii logrotate 3.7-5 Log rotation utility
ii mysql-client 4.0.24-10 mysql database client binaries
ii php4 4:4.3.10-15 server-side, HTML-embedded scripti
ii php4-cli 4:4.3.10-15 command-line interpreter for the p
ii php4-mysql 4:4.3.10-15 MySQL module for php4
ii php4-snmp 4:4.3.10-15 SNMP module for php4
ii rrdtool 1.0.49-1 Time-series data storage and displ
ii snmp 5.1.2-6.1 NET SNMP (Simple Network Managemen
ii ucf 2.000 Update Configuration File: preserv
Versions of packages cacti recommends:
ii iputils-ping 3:20020927-2 Tools to test the reachability of
ii mysql-server 4.0.24-10 mysql database server binaries
-- debconf information:
* cacti/username: cacti
* cacti/mysql_server: localhost
* cacti/webserver: Apache2
cacti/upgrade_warning:
* cacti/database: cacti
cacti/mismatch:
cacti/save_rootpw: true
cacti/root_mysql: root
* cacti/no_automagic:
cacti/purge_db: true
---------------------------------------
Received: (at 320172-done) by bugs.debian.org; 10 Aug 2005 10:21:54 +0000
>From ondrej at sury.org Wed Aug 10 03:21:54 2005
Return-path: <ondrej at sury.org>
Received: from mail.active24.cz [81.95.104.4]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1E2nib-0000A1-00; Wed, 10 Aug 2005 03:21:54 -0700
Received: from maple.active24.cz (maple.office.active24.cz [81.95.104.250])
by mail.active24.cz (Postfix) with ESMTP id A2D5428000AF
for <320172-done at bugs.debian.org>; Wed, 10 Aug 2005 12:24:42 +0200 (CEST)
Subject: Fixed in php4 4.4.0-1
From: Ondrej Sury <ondrej at sury.org>
To: 320172-done at bugs.debian.org
Content-Type: text/plain
Date: Wed, 10 Aug 2005 12:21:59 +0200
Message-Id: <1123669320.7396.61.camel at maple.active24.cz>
Mime-Version: 1.0
X-Mailer: Evolution 2.3.6.1
Content-Transfer-Encoding: 7bit
Delivered-To: 320172-done at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no
version=2.60-bugs.debian.org_2005_01_02
Hi,
this bug is fixed in both recent php4 and php5:
# php4 snmp.php
Warning: snmpget(): No response from localhost in /tmp/snmp.php on line 2
# php5 snmp.php
Warning: snmpget(): No response from localhost in /tmp/snmp.php on line 2
#
Hence closing this bug report.
Ondrej.
--
Ondrej Sury <ondrej at sury.org>
More information about the pkg-php-maint
mailing list