Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Patching 0.8.6j fail

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Architecture
Author Message
copo



Joined: 09 Oct 2006
Posts: 9

PostPosted: Thu Aug 16, 2007 3:04 am    Post subject: Patching 0.8.6j fail Reply with quote

Hello,

I'm having problem on patching a newly installed 0.8.6j. This installation is brand new and haven't modified anything, just extract right out of the tarball. I have downloaded those patch files and try to patch but I got everything failed.

I have also tried to patch the file in a test directory which contain the extracted cacti 0.8.6j files but still fail, I'm not sure where is the problem.

Interestingly I have tried to download 0.8.6i and those 0.8.6i patch files, the patch work flawlessly.

Please kindly help to take a look, thank you!

Output when patching 0.8.6j as follow:

[mrtg@cacti cacti-0.8.6j]$ patch -p1 -N < ping_php_version4_snmpgetnext.patch
patching file lib/ping.php
Hunk #1 FAILED at 281.
Hunk #2 FAILED at 295.
Hunk #3 FAILED at 306.
3 out of 3 hunks FAILED -- saving rejects to file lib/ping.php.rej
[mrtg@cacti cacti-0.8.6j]$ patch -p1 -N < tree_console_missing_hosts.patch
patching file lib/html_tree.php
Hunk #1 FAILED at 328.
Hunk #2 FAILED at 365.
2 out of 2 hunks FAILED -- saving rejects to file lib/html_tree.php.rej
[mrtg@cacti cacti-0.8.6j]$ patch -p1 -N < thumbnail_graphs_not_working.patch
patching file lib/rrd.php
Hunk #1 FAILED at 1080.
1 out of 1 hunk FAILED -- saving rejects to file lib/rrd.php.rej
[mrtg@cacti cacti-0.8.6j]$ patch -p1 -N < graph_debug_lockup_fix.patch
patching file lib/rrd.php
Hunk #1 FAILED at 83.
Hunk #2 FAILED at 92.
2 out of 2 hunks FAILED -- saving rejects to file lib/rrd.php.rej
[mrtg@cacti cacti-0.8.6j]$ patch -p1 -N < snmpwalk_fix.patch
patching file lib/snmp.php
Hunk #1 FAILED at 219.
1 out of 1 hunk FAILED -- saving rejects to file lib/snmp.php.rej
Back to top
copo



Joined: 09 Oct 2006
Posts: 9

PostPosted: Thu Aug 16, 2007 3:35 am    Post subject: Reply with quote

BTW, this should not related to permission issue since I can write to the files being patched with the same user using vi.
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12604
Location: Muenster, Germany

PostPosted: Thu Aug 16, 2007 2:12 pm    Post subject: Reply with quote

You surely checked at least one of the .rej files?
Reinhard
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Architecture All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group