>> Post 0.8.6b Patches Available - Not Quite 0.8.6c

Important information about Cacti developments that all users should be interested in.

Moderators: Developers, Moderators

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

>> Post 0.8.6b Patches Available - Not Quite 0.8.6c

Post by TheWitness »

All,

There are a few post 0.8.6b patches that should be considered critical. The patches address the following bugs:

1) Saving User Graph Settings from User Management Broke
2) Recache Causes Poller to Hang and RRD Files to Stop Updating
3) Database Connectivity Errors

http://www.cacti.net/downloads/patches/0.8.6b

There are also seveal updates to CACTID since's it's 0.8.6b release. These are available via CVS for now.

Larry Adams (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?
Alberto

Issues installing 0.8.6b

Post by Alberto »

Hi Larry,

I applied all the patches ... the warning message from the poller is gone.



I still have the graph problem ...

Message is (using the cpu utilization of my only device):

RRDTool Says:

Warning: popen(c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="HARMNI-CRE-CR B651 - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="percent" DEF:a="E\:\INETPUB\WWWROOT\cacti/rra/harmnicrecr_b651_5min_cpu_8.rrd":5min_cpu:AVERAGE AREA:a#FF0000:"CPU Usage" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf" 2>&1,rb): No error in E:\INETPUB\WWWROOT\cacti\lib\rrd.php on line 88

Warning: fgets(): supplied argument is not a valid stream resource in E:\INETPUB\WWWROOT\cacti\lib\rrd.php on line 111
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I believe Willie indicated that this is an Authentication problem with Windows Server 2003. He provided a workaround. I think if you search the site via Google or via the search above, you can find some help on fixing.

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?
rwdozier
Posts: 13
Joined: Tue Jun 11, 2002 12:20 am

Post by rwdozier »

Using Redhat - how do you apply the patches? Thanks!
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Simply download the patches from the patches directory and apply in the correct directories. Most go into lib, others go into the root. There may be 1 file that goes into include. Edit the files to verify.

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
dev2dev
Cacti User
Posts: 60
Joined: Thu Nov 18, 2004 5:25 am
Location: Hyderabad, India
Contact:

patch for windows?how to apply

Post by dev2dev »

does it applies to windows?

somebody pls tell me how to apply these changes
Why me lord?
User avatar
dev2dev
Cacti User
Posts: 60
Joined: Thu Nov 18, 2004 5:25 am
Location: Hyderabad, India
Contact:

i gotcha

Post by dev2dev »

after little absorvation, i found how easy is fixing the patch,
this what i understood
bud didnt dare to update my files yet

http://www.cacti.net/downloads/patches/ ... ache.patch
this is the samp

Code: Select all

--- cacti-release-0.8.6/lib/data_query.php	2004-09-30 22:37:35.000000000 -0400
+++ cacti-unstable/lib/data_query.php	2004-11-02 00:28:16.000000000 -0500
@@ -28,6 +28,7 @@
 	global $config;
 
 	include_once($config["library_path"] . "/poller.php");
+	include_once($config["library_path"] . "/utility.php");
first and second lines talks about the file name which is updated
the 3rd line says changes start from/at line 28
+ symbol in 9th line says this is new line to be included to code

i didnt encountered a - sysmbol yet

am i correct gurus?
Why me lord?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Sounds about right. It's easier just to know where the files go and to replace them though in my mind.

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
dev2dev
Cacti User
Posts: 60
Joined: Thu Nov 18, 2004 5:25 am
Location: Hyderabad, India
Contact:

Post by dev2dev »

can i get the updated files ?coz i tried updating (only the auto_reindex_poller patch) and i am sure i havn't done any mistake, its started giving me the same only error undefined function ... at line 323
then i have to replace with the original and reboot the system

i am not sure, but do I have to reboot the system every time i make changes? its their any better option available?
Why me lord?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

No.
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?
xcitiman
Posts: 30
Joined: Mon Sep 20, 2004 2:22 pm

Post by xcitiman »

I've got the files downloaded into the directories they're supposed to be downloaded to, but how do you execute them to apply the patch??

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

Post by TheWitness »

If you download the files into the correct directories, then all is done.

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?
drope
Posts: 7
Joined: Wed Nov 24, 2004 9:46 am

Post by drope »

We just have to replace the old *.php with the new ones ?

Is the .patch files are defined to work with 'patch' command under linux ?
excuse my so bad english writing...(speaking is worse !)
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Yes. Provided you have not customized, the patch command will work fine.

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?
drope
Posts: 7
Joined: Wed Nov 24, 2004 9:46 am

Post by drope »

Ok thx, i just replaced the *.php and it works fine :)
excuse my so bad english writing...(speaking is worse !)
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests