I try to install the Plugin Architecture (PIA) 2.9 on cacti 0.8.7g (on debian).
I follow this howto : http://docs.cacti.net/manual:087:1_installation.9_pia
I use this version : http://www.cacti.net/downloads/pia/cact ... 2.9.tar.gz
Code: Select all
root@srv2:/usr/share/cacti/site# patch -p1 -N --dry-run < cacti-plugin-0.8.7g-PA-v2.9.diff
patching file auth_changepassword.php
patching file auth_login.php
Hunk #1 FAILED at 124.
1 out of 4 hunks FAILED -- saving rejects to file auth_login.php.rej
patching file cli/add_graph_template.php
Hunk #1 FAILED at 144.
1 out of 1 hunk FAILED -- saving rejects to file cli/add_graph_template.php.rej
patching file cli/add_tree.php
Hunk #1 FAILED at 33.
1 out of 1 hunk FAILED -- saving rejects to file cli/add_tree.php.rej
patching file cli/host_update_template.php
Hunk #1 FAILED at 136.
1 out of 1 hunk FAILED -- saving rejects to file cli/host_update_template.php.rej
patching file data_sources.php
patching file graph_image.php
patching file graph.php
patching file graphs_new.php
patching file graphs.php
patching file host.php
patching file images/disable_icon.png
patching file images/enable_icon_disabled.png
patching file images/enable_icon.png
patching file images/install_icon_disabled.png
patching file images/install_icon.png
patching file images/uninstall_icon.gif
patching file images/view_none.gif
patching file include/auth.php
patching file include/bottom_footer.php
patching file include/config.php
Hunk #1 succeeded at 26 with fuzz 2 (offset -4 lines).
patching file include/global_arrays.php
patching file include/global_constants.php
patching file include/global_form.php
patching file include/global.php
Hunk #2 succeeded at 195 with fuzz 2.
patching file include/global_settings.php
Hunk #1 succeeded at 1191 (offset 1 line).
patching file include/plugins.php
patching file include/top_graph_header.php
patching file include/top_header.php
patching file index.php
patching file lib/api_automation_tools.php
patching file lib/api_device.php
patching file lib/api_graph.php
patching file lib/api_tree.php
patching file lib/auth.php
patching file lib/data_query.php
patching file lib/functions.php
patching file lib/html_form.php
patching file lib/html.php
patching file lib/html_tree.php
patching file lib/plugins.php
patching file lib/poller.php
patching file lib/rrd.php
patching file lib/template.php
patching file lib/variables.php
patching file plugins/index.php
patching file plugins.php
patching file poller.php
patching file user_admin.php
patching file utilities.php
Code: Select all
root@srv2:/usr/share/cacti/site# patch -p1 -N < graph_list_view.patch
patching file graph_view.php
Reversed (or previously applied) patch detected! Skipping patch.
9 out of 9 hunks ignored -- saving rejects to file graph_view.php.rej
root@srv2:/usr/share/cacti/site# patch -p1 -N < html_output.patch
patching file lib/html_form.php
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file lib/html_form.php.rej
patching file lib/data_query.php
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file lib/data_query.php.rej
patching file data_sources.php
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file data_sources.php.rej
patching file graphs.php
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file graphs.php.rej
root@srv2:/usr/share/cacti/site# patch -p1 -N < ldap_group_authenication.patch
patching file lib/ldap.php
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file lib/ldap.php.rej
root@srv2:/usr/share/cacti/site# patch -p1 -N < script_server_command_line_parse.patch
patching file script_server.php
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file script_server.php.rej
root@srv2:/usr/share/cacti/site# patch -p1 -N < ping.patch
patching file lib/ping.php
root@srv2:/usr/share/cacti/site# patch -p1 -N < poller
poller_commands.php poller_export.php poller_interval.patch poller.php
root@srv2:/usr/share/cacti/site# patch -p1 -N < poller_interval.patch
patching file lib/database.php
patching file poller.php
root@srv2:/usr/share/cacti/site#
I can't install 0.8.8 because the version on debian repository is 0.8.7g
Thanks for your help