Error prior to installing plugin architecture v2.4 on 0.8.7d
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
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.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
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.
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.
- Attachments
-
- cacti-plugin-0.8.7d-PA-v2.4.zip
- (25.18 KiB) Downloaded 1017 times
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
That's better!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.
Applied the official Cacti patches, then this one and everything went through fine.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Hi,
I have 0.8.7d with v2.4 on Centos5.
Syslog-ng and php plugin was done and worked well but had to back out due to load. Will move to new host soon for that.
As I try to do PA install, I am getting a slightly different output on;
[root@log01 cacti]# patch -p1 -N --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
Hunk #2 succeeded at 641 (offset -1 lines).
patching file include/global_constants.php
Hunk #1 FAILED at 175.
1 out of 1 hunk FAILED -- saving rejects to file include/global_constants.php.rej
patching file include/global_form.php
patching file include/global.php
Hunk #2 succeeded at 90 with fuzz 1 (offset -1 lines).
Hunk #4 succeeded at 218 with fuzz 2 (offset -1 lines).
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
Hunk #2 FAILED at 1653.
Hunk #3 succeeded at 1731 (offset -1 lines).
1 out of 3 hunks FAILED -- saving rejects to file lib/functions.php.rej
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
Hunk #2 succeeded at 1398 (offset 6 lines).
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
Hunk #2 succeeded at 1637 (offset -8 lines).
http://forums.cacti.net/download.php?id=16863
did not do any better...
What needs to be corrected before I can go for it.
I have added quite a few devices on it already...
Many thanks in Adv. for your help!
Cheers,
I have 0.8.7d with v2.4 on Centos5.
Syslog-ng and php plugin was done and worked well but had to back out due to load. Will move to new host soon for that.
As I try to do PA install, I am getting a slightly different output on;
[root@log01 cacti]# patch -p1 -N --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
Hunk #2 succeeded at 641 (offset -1 lines).
patching file include/global_constants.php
Hunk #1 FAILED at 175.
1 out of 1 hunk FAILED -- saving rejects to file include/global_constants.php.rej
patching file include/global_form.php
patching file include/global.php
Hunk #2 succeeded at 90 with fuzz 1 (offset -1 lines).
Hunk #4 succeeded at 218 with fuzz 2 (offset -1 lines).
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
Hunk #2 FAILED at 1653.
Hunk #3 succeeded at 1731 (offset -1 lines).
1 out of 3 hunks FAILED -- saving rejects to file lib/functions.php.rej
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
Hunk #2 succeeded at 1398 (offset 6 lines).
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
Hunk #2 succeeded at 1637 (offset -8 lines).
http://forums.cacti.net/download.php?id=16863
did not do any better...
What needs to be corrected before I can go for it.
I have added quite a few devices on it already...
Many thanks in Adv. for your help!
Cheers,
Sorry but I don't quite follow you, are you saying this is OS (Centos) issue? If so, any solution or walk-around to this?nationals wrote:to gundalba,
I have just test it in debian and ubuntu.
And it should can be working with that install with the orig 0.8.7d.gz from cacti.net by hand. but that installed with the os.
Thanks!
# patch -p1 -N --dry-run < cacti-plugin-0.8.7d-PA-v2.4.diff
:
patching file lib/functions.php
Hunk #2 FAILED at 1653.
:
patching file lib/html.php
Hunk #2 FAILED at 143.
:
Looked at both php file dates and the file dates are same as others in the same folder....
# lal lib/functions.php lib/html.php
-rw-r--r-- 1 root root 82736 Jan 26 05:31 lib/functions.php
-rw-r--r-- 1 root root 33425 Jan 26 05:31 lib/html.php
Q1) Does this means patch on these should not affect all the changes that is already made on my Cacti installation?
Also noted from DryRun ouput;
:
1 out of 8 hunks FAILED -- saving rejects to file lib/html.php.rej
Q2) Hoped to see some clue from above rej file but it is not even there. Guess it never gets created due to "DryRun"?
Q3) Finally, if I apply the patch and ends up screwing up sth., is there any back-out pass that I can prepare/follow?
Thanks,
:
patching file lib/functions.php
Hunk #2 FAILED at 1653.
:
patching file lib/html.php
Hunk #2 FAILED at 143.
:
Looked at both php file dates and the file dates are same as others in the same folder....
# lal lib/functions.php lib/html.php
-rw-r--r-- 1 root root 82736 Jan 26 05:31 lib/functions.php
-rw-r--r-- 1 root root 33425 Jan 26 05:31 lib/html.php
Q1) Does this means patch on these should not affect all the changes that is already made on my Cacti installation?
Also noted from DryRun ouput;
:
1 out of 8 hunks FAILED -- saving rejects to file lib/html.php.rej
Q2) Hoped to see some clue from above rej file but it is not even there. Guess it never gets created due to "DryRun"?
Q3) Finally, if I apply the patch and ends up screwing up sth., is there any back-out pass that I can prepare/follow?
Thanks,
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
On a dry run, rej files are not created (well, it's really dry!). You may analyze the rej file after a normal run and move it into the new code. I did so, it was a bit tricky because it's a very long line of code. The rej is due to previously applied patches not taken into account by standard PIA 2.4
Reinhard
Reinhard
Thanks for the insight on this Gandalf.gandalf wrote:On a dry run, rej files are not created (well, it's really dry!). You may analyze the rej file after a normal run and move it into the new code. I did so, it was a bit tricky because it's a very long line of code. The rej is due to previously applied patches not taken into account by standard PIA 2.4
Reinhard
So with bunch of devices already on the monitoring, it is safe to go on and proceed with installation of PA?
I would really hate to loose all that configurations I already worked on as it took me quite a time to get all those up and on the monitoring...
Cheers,
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
IMHO it's save. I did so. And it does not affect MySQL in any way.gundalba wrote:Thanks for the insight on this Gandalf.gandalf wrote:On a dry run, rej files are not created (well, it's really dry!). You may analyze the rej file after a normal run and move it into the new code. I did so, it was a bit tricky because it's a very long line of code. The rej is due to previously applied patches not taken into account by standard PIA 2.4
Reinhard
So with bunch of devices already on the monitoring, it is safe to go on and proceed with installation of PA?
I would really hate to loose all that configurations I already worked on as it took me quite a time to get all those up and on the monitoring...
Cheers,
Reinhard
Yes. I'm too.tomate wrote:Hi,
I have just installed on a RedHat server 5 cacti-0.8.7d and cacti-plugin-0.8.7d-PA-v2.4.
But, when i am in the web console, i do not see anything about plugins (i have installed settings plugin too, and enabled it)
Any idea ?
Thanks
I installed cacti-0.8.7d and cacti-plugin-0.8.7d-PA-v2.4 and too no see anything about pligins
Can anybody say where it can be found ?
(There was no any error during instalation )
-
- Posts: 31
- Joined: Thu May 07, 2009 9:21 am
Who is online
Users browsing this forum: No registered users and 4 guests