No worky!!
I'm a major noob with Linux, and learned there was a dry run flag after I had already run the patch. Oops. I did not find any docs (I am known to be blind at times) indicating which PIA version I should use with my current 0.8.7i installation, so would appreciate any help I can get. Here is a print of the failed patch:
/var/www/htdocs/cacti$ sudo patch -p1 -N < cacti-plugin-arch/cacti-plugin-0.8.7h-PA-v3.0.diff
patching file auth_changepassword.php
patching file auth_login.php
Hunk #2 FAILED at 170.
Hunk #4 FAILED at 237.
2 out of 8 hunks FAILED -- saving rejects to file auth_login.php.rej
patching file cli/add_graph_template.php
patching file cli/host_update_template.php
Hunk #1 succeeded at 132 (offset -4 lines).
patching file data_sources.php
patching file graph.php
patching file graph_image.php
patching file graphs.php
patching file graphs_new.php
patching file host.php
Hunk #7 succeeded at 668 (offset 2 lines).
Hunk #8 succeeded at 1149 (offset 18 lines).
patching file images/disable_icon.png
patching file images/enable_icon.png
patching file images/enable_icon_disabled.png
patching file images/install_icon.png
patching file images/install_icon_disabled.png
patching file images/uninstall_icon.gif
patching file images/view_none.gif
patching file include/auth.php
patching file include/bottom_footer.php
Hunk #1 FAILED at 21.
1 out of 1 hunk FAILED -- saving rejects to file include/bottom_footer.php.rej
patching file include/config.php.dist
patching file include/global.php
Hunk #3 succeeded at 220 with fuzz 2.
patching file include/global_arrays.php
Hunk #2 succeeded at 688 (offset -3 lines).
patching file include/global_constants.php
Hunk #1 succeeded at 184 (offset 2 lines).
patching file include/global_form.php
Hunk #1 FAILED at 22.
1 out of 2 hunks FAILED -- saving rejects to file include/global_form.php.rej
patching file include/global_settings.php
patching file include/plugins.php
patching file include/top_graph_header.php
Hunk #2 FAILED at 58.
Hunk #5 FAILED at 152.
2 out of 5 hunks FAILED -- saving rejects to file include/top_graph_header.php.rej
patching file include/top_header.php
Hunk #1 FAILED at 22.
Hunk #2 succeeded at 70 (offset 4 lines).
Hunk #3 FAILED at 74.
2 out of 3 hunks FAILED -- saving rejects to file include/top_header.php.rej
patching file index.php
patching file lib/api_device.php
patching file lib/api_graph.php
patching file lib/auth.php
patching file lib/data_query.php
patching file lib/functions.php
Hunk #1 succeeded at 1712 (offset 21 lines).
Hunk #2 succeeded at 1726 (offset 21 lines).
Hunk #3 succeeded at 1805 (offset 21 lines).
patching file lib/html.php
patching file lib/html_form.php
patching file lib/html_tree.php
patching file lib/plugins.php
patching file lib/poller.php
Hunk #1 succeeded at 434 (offset 2 lines).
patching file lib/rrd.php
Hunk #1 succeeded at 456 (offset 15 lines).
Hunk #2 succeeded at 567 (offset 16 lines).
Hunk #3 succeeded at 1409 (offset 16 lines).
Hunk #4 succeeded at 1424 (offset 16 lines).
patching file lib/template.php
patching file lib/variables.php
Hunk #2 succeeded at 186 with fuzz 2 (offset 2 lines).
patching file plugins/index.php
patching file plugins.php
patching file poller.php
patching file user_admin.php
Hunk #5 succeeded at 903 (offset 7 lines).
Hunk #6 succeeded at 931 (offset 7 lines).
Hunk #7 succeeded at 945 (offset 7 lines).
patching file utilities.php
Can I recover from this (no backup, but things do not appear to be broken in Cacti)?
Am I using the wrong PIA version?
Do I need to shut off the cacti service before I apply the patch (major Linux noob here)?
Advice is mucho appreciated.
Cacti 0.8.7i with PIA cacti-plugin-0.8.7h-PA-v3.0
Moderators: Developers, Moderators
-
- Posts: 5
- Joined: Wed Oct 31, 2012 3:28 pm
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Cacti 0.8.7i with PIA cacti-plugin-0.8.7h-PA-v3.0
In this case we strongly recommend using 088a which includes PIA => no hazzle
R.
R.
Who is online
Users browsing this forum: No registered users and 1 guest