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

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

Moderators: Moderators, Developers

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

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

#1 Post by TheWitness » Tue Nov 02, 2004 10:43 am

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 MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

Alberto

Issues installing 0.8.6b

#2 Post by Alberto » Tue Nov 02, 2004 11:50 am

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: 14817
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

#3 Post by TheWitness » Tue Nov 02, 2004 1:48 pm

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 MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

rwdozier
Posts: 13
Joined: Tue Jun 11, 2002 12:20 am

#4 Post by rwdozier » Fri Nov 19, 2004 7:27 pm

Using Redhat - how do you apply the patches? Thanks!

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

#5 Post by TheWitness » Fri Nov 19, 2004 8:11 pm

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 MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

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

#6 Post by dev2dev » Sat Nov 20, 2004 5:21 am

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

#7 Post by dev2dev » Sat Nov 20, 2004 7:04 am

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: 14817
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

#8 Post by TheWitness » Sat Nov 20, 2004 6:27 pm

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 MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

User avatar
dev2dev
Cacti User
Posts: 60
Joined: Thu Nov 18, 2004 5:25 am
Location: Hyderabad, India
Contact:

#9 Post by dev2dev » Sat Nov 20, 2004 10:05 pm

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: 14817
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

#10 Post by TheWitness » Sat Nov 20, 2004 11:03 pm

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

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

xcitiman
Posts: 30
Joined: Mon Sep 20, 2004 2:22 pm

#11 Post by xcitiman » Wed Nov 24, 2004 10:04 am

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: 14817
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

#12 Post by TheWitness » Wed Nov 24, 2004 3:21 pm

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 MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

drope
Posts: 7
Joined: Wed Nov 24, 2004 9:46 am

#13 Post by drope » Fri Nov 26, 2004 10:48 am

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: 14817
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

#14 Post by TheWitness » Fri Nov 26, 2004 8:14 pm

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 MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Central Plugin Repository
Central Templates Repository


I'm still out there people. Getting excited for Cacti 1.2. I think it will be a great release.

drope
Posts: 7
Joined: Wed Nov 24, 2004 9:46 am

#15 Post by drope » Mon Nov 29, 2004 2:07 pm

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

Post Reply