update to 0.8.6e strange problem

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
vvadim
Posts: 4
Joined: Sat Mar 19, 2005 2:25 am
Contact:

update to 0.8.6e strange problem

Post by vvadim »

Running freebsd 5.2.1, php 4.3.9, cacti 0.8.6b - all works fine.

After upgrading to 0.8.6e rrd files stop updating.....

Code: Select all

06/24/2005 06:50:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/bin/php, AR
GS: -q /usr/local/share/cacti/cmd.php 0 51]
06/24/2005 06:50:03 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
06/24/2005 06:50:03 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /usr/home/cacti
06/24/2005 06:50:03 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /usr/local/share/cacti
06/24/2005 06:50:03 PM - PHPSVR: Poller[0] DEBUG: FILENM: /usr/local/share/cacti/script_server.php
06/24/2005 06:50:03 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
06/24/2005 06:50:03 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
06/24/2005 06:50:03 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
06/24/2005 06:50:04 PM - SYSTEM STATS: Time: 2.2061 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 29,
 Hosts/Process: 29, Data Sources 273, RRDs Processed 0
Poller don't start?

Try to clear poller cache, result - nothing
Try to increase Maximum Concurrent Poller Processes to 2 result - SOME rrd files updates, some not.....

Code: Select all

06/24/2005 08:05:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/bin/php, AR
GS: -q /usr/local/share/cacti/cmd.php 0 23]
06/24/2005 08:05:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/bin/php, AR
GS: -q /usr/local/share/cacti/cmd.php 27 51]
06/24/2005 08:05:03 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
06/24/2005 08:05:03 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /usr/home/cacti
06/24/2005 08:05:03 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /usr/local/share/cacti
06/24/2005 08:05:03 PM - PHPSVR: Poller[0] DEBUG: FILENM: /usr/local/share/cacti/script_server.php
06/24/2005 08:05:03 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
06/24/2005 08:05:03 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
06/24/2005 08:05:03 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
06/24/2005 08:05:03 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
06/24/2005 08:05:03 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /usr/home/cacti
06/24/2005 08:05:03 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /usr/local/share/cacti
06/24/2005 08:05:03 PM - PHPSVR: Poller[0] DEBUG: FILENM: /usr/local/share/cacti/script_server.php
06/24/2005 08:05:03 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
06/24/2005 08:05:03 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
Why first poller don't start, but second started ?

After php update to php4-4.3.11 all works fine........
Is problem in pre 4.3.11 php ?

Still don't understand why one instance of script server didn't worked but two ok....
What kind of additional debug can I make?
oxy
Posts: 18
Joined: Wed Sep 01, 2004 3:58 am

Post by oxy »

hi,

got the same pb.
There's a "bug" the 0.8.6e because of net-snmp version i think.
which version is installed ?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

There is a problem with abarant Data Sources and ucd-snmp. Goto Data Sources, pick Host = None and delete/disable the abarant data sources. We will fix quite shortly.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You may also choose to download the current cmd.php from CVS. Before doing so, please make sure that you have selected "BRANCH_0_8_6". The version of cmd.php with the fix is 1.81.2.8.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
PeterA
Posts: 2
Joined: Wed Jun 29, 2005 5:53 am

Post by PeterA »

Can't find 1.81.2.8. In BRANCH_0_8_6 the last version of cmd.php I can find is 1.81.2.7. Both with a cvs-checkout and on the web (cvs.cacti.net).
vvadim
Posts: 4
Joined: Sat Mar 19, 2005 2:25 am
Contact:

Post by vvadim »

TheWitness wrote:There is a problem with abarant Data Sources and ucd-snmp. Goto Data Sources, pick Host = None and delete/disable the abarant data sources. We will fix quite shortly.

TheWitness
Tnx!
May be put it in FAQ ?
I don't find prove answer while search throught the forum....
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please follow the link below to the 3 patched files. Two go into <cacti>/lib and one into <cacti> Please clear your poller cache after install.

TheWitness

http://bugs.cacti.net/view.php?id=496
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
PeterA
Posts: 2
Joined: Wed Jun 29, 2005 5:53 am

Post by PeterA »

Great, everything works again. Thank you very much!

P.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You may have to reapply these patches after a subsequent release. Please keep this "f"'ing issue in mind :) (Wow, I made a pun:))

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests