Hi,
I am new in cacti and I am trying to install pluggin architecture on my computer, I use ubuntu 11.10 and cacti 0.8.7g and I have used this patch cacti-plugin-0.8.7g-PA-v2.8.diff but when I try to apply the patch to cacti have the following errors:
Can anyone helps to me?
thanks
root@manuel-Satellite-L500:/usr/share/cacti/site# patch -p1 --dry-run < cacti-plugin-0.8.7g-PA-v2.8.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 data_sources.php
Hunk #6 FAILED at 1323.
1 out of 6 hunks FAILED -- saving rejects to file data_sources.php.rej
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_device.php
patching file lib/auth.php
patching file lib/functions.php
patching file lib/html_form.php
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
Hunk #1 succeeded at 108 with fuzz 2.
Hunk #2 succeeded at 305 (offset -1 lines).
Hunk #3 FAILED at 450.
Hunk #4 succeeded at 497 (offset -2 lines).
1 out of 4 hunks FAILED -- saving rejects to file poller.php.rej
patching file user_admin.php
patching file utilities.php
root@manuel-Satellite-L500:/usr/share/cacti/site#
help with Ubuntu 11.10 cacti 0.8.7g and PA 2.8
Moderators: Developers, Moderators
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: help with Ubuntu 11.10 cacti 0.8.7g and PA 2.8
I guess you started with the Ubuntu package you got from the repositories, right? In Ubuntu cacti is patched, so indeed a patch form cacti.net will not work. You can use the repository mentioned in my signature (never mind the Ubuntu version, it is all php we are talking about here). But mind you, there seems to be a small not-backward compatible issue with the /etc/apache2/conf-available/cacti.conf file, so you should probably keep your old apache2 configuration for cacti.manolillo wrote:Hi,
I am new in cacti and I am trying to install pluggin architecture on my computer, I use ubuntu 11.10 and cacti 0.8.7g and I have used this patch cacti-plugin-0.8.7g-PA-v2.8.diff but when I try to apply the patch to cacti have the following errors:
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Who is online
Users browsing this forum: No registered users and 3 guests