PA Issues With Patching
Moderators: Developers, Moderators
PA Issues With Patching
Good Morning,
I have the following issue when i comes to patching cacti with PA.
patching file auth_changepassword.php
patching file auth_login.php
patching file data_sources.php
patching file graph_image.php
patching file graph.php
Hunk #1 succeeded at 98 (offset -2 lines).
Hunk #2 succeeded at 213 (offset -2 lines).
Hunk #3 succeeded at 246 (offset -2 lines).
patching file graphs_new.php
patching file graphs.php
patching file host.php
patching file include/auth.php
patching file include/bottom_footer.php
patching file include/global_arrays.php
Hunk #2 succeeded at 643 (offset -4 lines).
patching file include/global_constants.php
patching file include/global_form.php
patching file include/global.php
patching file include/global_settings.php
patching file include/plugins.php
patching file include/top_graph_header.php
Hunk #2 FAILED at 55.
Hunk #5 FAILED at 128.
Hunk #6 FAILED at 156.
3 out of 6 hunks FAILED -- saving rejects to file include/top_graph_header.php.rej
patching file include/top_header.php
patching file index.php
patching file lib/api_device.php
patching file lib/auth.php
patching file lib/functions.php
patching file lib/html_form.php
Hunk #1 succeeded at 655 (offset -67 lines).
Hunk #2 succeeded at 672 (offset -67 lines).
Hunk #3 succeeded at 693 (offset -67 lines).
patching file lib/html.php
patching file lib/plugins.php
patching file lib/poller.php
patching file lib/rrd.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
Regards
Etienne Vella
I have the following issue when i comes to patching cacti with PA.
patching file auth_changepassword.php
patching file auth_login.php
patching file data_sources.php
patching file graph_image.php
patching file graph.php
Hunk #1 succeeded at 98 (offset -2 lines).
Hunk #2 succeeded at 213 (offset -2 lines).
Hunk #3 succeeded at 246 (offset -2 lines).
patching file graphs_new.php
patching file graphs.php
patching file host.php
patching file include/auth.php
patching file include/bottom_footer.php
patching file include/global_arrays.php
Hunk #2 succeeded at 643 (offset -4 lines).
patching file include/global_constants.php
patching file include/global_form.php
patching file include/global.php
patching file include/global_settings.php
patching file include/plugins.php
patching file include/top_graph_header.php
Hunk #2 FAILED at 55.
Hunk #5 FAILED at 128.
Hunk #6 FAILED at 156.
3 out of 6 hunks FAILED -- saving rejects to file include/top_graph_header.php.rej
patching file include/top_header.php
patching file index.php
patching file lib/api_device.php
patching file lib/auth.php
patching file lib/functions.php
patching file lib/html_form.php
Hunk #1 succeeded at 655 (offset -67 lines).
Hunk #2 succeeded at 672 (offset -67 lines).
Hunk #3 succeeded at 693 (offset -67 lines).
patching file lib/html.php
patching file lib/plugins.php
patching file lib/poller.php
patching file lib/rrd.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
Regards
Etienne Vella
I have the same, I upgraded CactiEZ from 8.7c to 8.7e and when
I patched the Cacti tree with plugins 8.7e I also got into problems
As far I as know it is related to:
Now I receive the following message when opening a plugin:
Can somebody help us?
I patched the Cacti tree with plugins 8.7e I also got into problems
As far I as know it is related to:
Code: Select all
patching file include/top_graph_header.php
Hunk #2 FAILED at 55.
Hunk #5 FAILED at 128.
Hunk #6 FAILED at 156.
3 out of 6 hunks FAILED -- saving rejects to file include/top_graph_header.php.rej
Code: Select all
Notice: Undefined index: action in /var/www/html/include/top_graph_header.php on line 151
Hi,
Found a solutions: copy top_graph_header.php from the plugin architect files directory to the include directory.
Grtz
Found a solutions: copy top_graph_header.php from the plugin architect files directory to the include directory.
Code: Select all
cp cacti-plugin-arch/files-0.8.7e/include/top_graph_header.php to
include/top_graph_header.php
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Use the full files.
TheWitness
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
If you untar the PIA, it includes the full files as well as patch files. Of course, they are designed for 0.8.7e only. I think 2.6 includes all or most of the important patches from the main web site too.
So, it's a simple copy exercise.
TheWitness
So, it's a simple copy exercise.
Code: Select all
cp -rp <pia_location>/files-0.8.7e/* <cacti_webroot>
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?
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?
Who is online
Users browsing this forum: No registered users and 1 guest