How do I patch the cacti in windows platform

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
zy_milan
Posts: 28
Joined: Fri Jun 30, 2006 4:11 am

How do I patch the cacti in windows platform

Post by zy_milan »

wget http://www.cacti.net/downloads/patches/ ... ssue.patch
wget http://www.cacti.net/downloads/patches/ ... a_id.patch
wget http://www.cacti.net/downloads/patches/ ... ssue.patch
wget http://www.cacti.net/downloads/patches/ ... rict.patch
wget http://www.cacti.net/downloads/patches/ ... tion.patch
patch -p1 -N < fix_search_session_clear_issue.patch
patch -p1 -N < fix_sql_syntax_related_to_default_rra_id.patch
patch -p1 -N < nth_percentile_empty_return_set_issue.patch
patch -p1 -N < mysql_5x_strict.patch
patch -p1 -N < database_autoincrement_corruption.patch
zy_milan
Posts: 28
Joined: Fri Jun 30, 2006 4:11 am

Re: How do I patch the cacti in windows platform

Post by zy_milan »

I haved taken the official cacti patches in windows platform using the crywin tool.

But received some error shown as below? WHY?????

Administrator@freemanlong-vpc ~/cactid
$ ls
cactid.conf cactid.exe mysql_max_packet_size.patch

Administrator@freemanlong-vpc ~/cactid
$ patch -p1 -N < mysql_max_packet_size.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruBbd cacti-cactid-0.8.6g/cactid.h cacti-cactid-0.8.6g-patched/cactid.h
|--- cacti-cactid-0.8.6g/cactid.h 2006-01-11 19:25:55.000000000 -0500
|+++ cacti-cactid-0.8.6g-patched/cactid.h 2006-01-22 18:57:38.000000000 -0
500
--------------------------
File to patch:
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

For cactid, its best if you just get the latest svn and compile that.
yariv_l
Posts: 22
Joined: Thu Oct 27, 2005 7:11 pm

how can i get crywin tool ?

Post by yariv_l »

how can i get crywin tool ?
yariv
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

www.cygwin.com. Google is your friend.
yariv_l
Posts: 22
Joined: Thu Oct 27, 2005 7:11 pm

Post by yariv_l »

BSOD2600 wrote:www.cygwin.com. Google is your friend.
i try that at first.

i just think of you, i know that you are the king of instal on windows platform.
i want to install the plugins on cacti, thold, monitor and more.
and i need to install the arch first but with no luck becuse i dont know how to install patch on windows, you have a document about it?

thanks in advance
Yariv
yariv
yariv_l
Posts: 22
Joined: Thu Oct 27, 2005 7:11 pm

Post by yariv_l »

first of all 10x

second, i try to install the Architecture like in the folowing link http://cactiusers.org/wiki/PluginArchitectureInstall , i replace the files and my cacti didnt work properly, you have any ide?
yariv
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

My only guess is you're not following the instructions properly... if you have any problems with it, I suggest you post in the cactiusers.org forum or the Add-ons forum here.
yariv_l
Posts: 22
Joined: Thu Oct 27, 2005 7:11 pm

Post by yariv_l »

BSOD2600 wrote:My only guess is you're not following the instructions properly... if you have any problems with it, I suggest you post in the cactiusers.org forum or the Add-ons forum here.
thats ok friend, i just need to do iisreset.

10x on all your help.

Yariv
yariv
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests