Error prior to installing plugin architecture v2.4 on 0.8.7d

Support for the Plugin Architecture

Moderators: Developers, Moderators

cjblade54
Cacti User
Posts: 58
Joined: Tue Mar 04, 2008 10:08 am

Re: PA2.4

Post by cjblade54 »

I am running Cacti 0.8.7d on Ubuntu 9.04 SERVER Edition. How do i Download your file you attached through command line? I tried to use wget and the only think i got was a file called download.php?id=16863. I am still having trouble to get the PA to compile properly. I have done all the 0.8.7d patches and still get the following error message.

Code: Select all

root@magneto:/var/www/cacti# patch -p1 -N -F3 --dry-run < cacti-plugin-0.8.7d-PA-v2.4.diff
patching file auth_changepassword.php
patching file auth_login.php
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 include/auth.php
patching file include/bottom_footer.php
patching file include/global_arrays.php
patching file include/global_constants.php
Hunk #1 succeeded at 175 with fuzz 3.
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
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
Hunk #2 FAILED at 143.
1 out of 8 hunks FAILED -- saving rejects to file lib/html.php.rej
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
The next patch would create the file plugins.php,
which already exists!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file plugins.php.rej
patching file poller.php
patching file user_admin.php
patching file utilities.php
Operating System: Ubuntu 9.10 Sever Edition and Desktop Edition
Webserver: Apache2
Cacti: 0.8.7e
Spine: Not Sure
MySQL: 5.1.37
PHP: 5.2.10-2ubuntu6.4
RRDTool (Cygwin or Win32 version):Not Sure
Net-SNMP:Not Sure
Cygwin (cygwin1.dll version): Not sure
Plugin Architecture: 0.8.7e
cjblade54
Cacti User
Posts: 58
Joined: Tue Mar 04, 2008 10:08 am

Post by cjblade54 »

nationals wrote:I am doing a new PA for it.

if you have patch for the 0.8.7d with:
page_length_graph_view.patch

pls use the following pa :

http://forums.cacti.net/download.php?id=16863

pls test and feedback.
Howie wrote:I've just been looking at this, and the official patch fails if the PA is installed, or the PA fails if the offical patch is installed, so presumably they are patching lines close to each other/the same.
I used your patch file and compiled it. However, it gives me a different error output with the same error code.

Code: Select all

var/www/cacti# patch -p1 -N -F3 --dry-run < cacti-plugin-0.8.7d-PA-v2.4.diff
patching file auth_changepassword.php
patching file auth_login.php
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 include/auth.php
patching file include/bottom_footer.php
patching file include/global_arrays.php
patching file include/global_constants.php
patching file include/global_form.php
patching file include/global.php
patching file include/global_settings.php
The next patch would create the file include/plugins.php,
which already exists!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file include/plugins.php.rej
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
Hunk #2 FAILED at 143.
1 out of 8 hunks FAILED -- saving rejects to file lib/html.php.rej
The next patch would create the file lib/plugins.php,
which already exists!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file lib/plugins.php.rej
patching file lib/poller.php
patching file lib/rrd.php
patching file lib/variables.php
patching file plugins/index.php
The next patch would create the file plugins.php,
which already exists!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file plugins.php.rej
patching file poller.php
patching file user_admin.php
patching file utilities.php
root@magneto:/var/www/cacti# cd files-0.8.7d/
Operating System: Ubuntu 9.10 Sever Edition and Desktop Edition
Webserver: Apache2
Cacti: 0.8.7e
Spine: Not Sure
MySQL: 5.1.37
PHP: 5.2.10-2ubuntu6.4
RRDTool (Cygwin or Win32 version):Not Sure
Net-SNMP:Not Sure
Cygwin (cygwin1.dll version): Not sure
Plugin Architecture: 0.8.7e
gixmi
Posts: 1
Joined: Wed Jun 17, 2009 5:21 am

Post by gixmi »

so you can just install the PA and then patch the 0.8.7d.
Try! I have never test. :o
[url=http://www.registryheal.com]registry cleaner[/url]
[url=http://www.outranksmart.com]improve web site search engine rankings[/url]
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests