Problems while patching plugin-arch on cacti 0.8.7 source

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
Perry
Posts: 5
Joined: Thu Feb 02, 2006 5:48 am

Problems while patching plugin-arch on cacti 0.8.7 source

Post by Perry »

Hello,

when I patch the sources from cacti 0.8.7 with the offical patches after I patch it with the plugin-arch, i get errors like this:

[code]
patching file data_sources.php
Hunk #1 succeeded at 911 (offset 12 lines).
Hunk #2 FAILED at 1322.
1 out of 2 hunks FAILED -- saving rejects to file data_sources.php.rej
patching file graphs.php
Hunk #1 succeeded at 1327 (offset 10 lines).
PC1213:/mnt/nm25/source/cacti/cacti-0.8.7g# patch -p1 -N < ldap_group_authenication.patch
patching file lib/ldap.php
PC1213:/mnt/nm25/source/cacti/cacti-0.8.7g# patch -p1 -N < script_server_command_line_parse.patch
patching file script_server.php
PC1213:/mnt/nm25/source/cacti/cacti-0.8.7g# patch -p1 -N < ping.patch
patching file lib/ping.php
PC1213:/mnt/nm25/source/cacti/cacti-0.8.7g# patch -p1 -N < poller_interval.patch
patching file lib/database.php
patching file poller.php
Hunk #1 succeeded at 111 with fuzz 1 (offset 2 lines).
Hunk #2 succeeded at 142 (offset 2 lines).
Hunk #3 succeeded at 213 (offset 2 lines).
Hunk #4 succeeded at 225 (offset 2 lines).
Hunk #5 succeeded at 378 (offset 4 lines).
Hunk #6 succeeded at 393 (offset 4 lines).
Hunk #7 FAILED at 430.
Hunk #8 succeeded at 463 (offset 6 lines).
1 out of 8 hunks FAILED -- saving rejects to file poller.php.rej
[/code]
If I go the ohter way and patch the plugin-arch and after that the offical patches I also get erros.

What is the right way?
First offical patches and the plugin-arch patch?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

There is a PIA 2.9 Beta floating around somewhere that will clean up PIA installs.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests