Upgrade from 0.8.5a to 0.8.6f

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
ronnier
Posts: 5
Joined: Tue Aug 02, 2005 3:51 pm
Contact:

Upgrade from 0.8.5a to 0.8.6f

Post by ronnier »

Today i upgraded cacti from 0.8.5a to 0.8.6f. Since then the graphs to not update. I followed the direction on http://www.cacti.net/downloads/docs/html/upgrade.html.

When i run poller.php, i get this

php /var/www/html/cacti/poller.php
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.01 r:0.03
OK u:0.00 s:0.01 r:0.03
OK u:0.00 s:0.01 r:0.03
OK u:0.00 s:0.01 r:0.03
OK u:0.00 s:0.01 r:0.03
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
OK u:0.00 s:0.01 r:2.04
OK u:0.00 s:0.01 r:2.04
Content-type: text/html
X-Powered-By: PHP/4.3.4

---------------------

when i run CMD.php i get the following


php /var/www/html/cacti/cmd.php
Content-type: text/html
X-Powered-By: PHP/4.3.4

#!/usr/bin/php -q
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
08/02/2005 03:57:55 PM - CMDPHP: Poller[0] Host[0] DS[10] WARNING: Result from CMD not valid. Partial Result:
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
08/02/2005 03:57:55 PM - CMDPHP: Poller[0] Host[0] DS[10] WARNING: Result from CMD not valid. Partial Result:
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
08/02/2005 03:57:55 PM - CMDPHP: Poller[0] Host[0] DS[11] WARNING: Result from CMD not valid. Partial Result:
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
08/02/2005 03:57:56 PM - CMDPHP: Poller[0] Host[0] DS[11] WARNING: Result from CMD not valid. Partial Result:

-------------------

Should i be running cmd.php or poller.php?

Any idea of why i am getting these error messages? Thanks
ronnier
Posts: 5
Joined: Tue Aug 02, 2005 3:51 pm
Contact:

OS Version

Post by ronnier »

Sorry, i didn't say what OS i am on...

Fedora Core 2
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

1) You should be running poller.php normally. Only run cmd.php for DEBUG purposes.

2) Do not copy over the old scripts last, but rather first. There are a few scripts that are in the base distribution that have been updated between versions. One of them is yours.

3) Lastly, reindex the Data Query

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?
ronnier
Posts: 5
Joined: Tue Aug 02, 2005 3:51 pm
Contact:

Post by ronnier »

how do i "3) Lastly, reindex the Data Query"
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Little green circle, press (awk) it.
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?
ronnier
Posts: 5
Joined: Tue Aug 02, 2005 3:51 pm
Contact:

Post by ronnier »

I clicked ever green circle possible, still same errors. Any other ideas?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Migrate to the Script Server version of the query host disk and you should be Ok. Check the documentation for more details.

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?
ronnier
Posts: 5
Joined: Tue Aug 02, 2005 3:51 pm
Contact:

Post by ronnier »

Thanks for your help, but i just deleted everything and reinstalled cacti fresh and it works fine now.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests