cacti-plugin-0.8.7g-PA-v2.8.diff breaking on a fresh install
Moderators: Developers, Moderators
cacti-plugin-0.8.7g-PA-v2.8.diff breaking on a fresh install
On a fresh install of 0.8.7g cacti-plugin-0.8.7g-PA-v2.8.diff is breaking. Any thoughts?
---
[...]
--------------------------
|diff -Naur cacti-0.8.7g-old/images/disable_icon.png cacti-0.8.7g/images/disable_icon.png
|--- cacti-0.8.7g-old/images/disable_icon.png 1969-12-31 19:00:00.000000000 -0500
|+++ cacti-0.8.7g/images/disable_icon.png 2010-07-09 18:34:11.000000000 -0400
--------------------------
Patching file images/disable_icon.png using Plan A...
patch: **** malformed patch at line 384: diff -Naur cacti-0.8.7g-old/images/enable_icon_disabled.png cacti-0.8.7g/images/enable_icon_disabled.png
---
[...]
--------------------------
|diff -Naur cacti-0.8.7g-old/images/disable_icon.png cacti-0.8.7g/images/disable_icon.png
|--- cacti-0.8.7g-old/images/disable_icon.png 1969-12-31 19:00:00.000000000 -0500
|+++ cacti-0.8.7g/images/disable_icon.png 2010-07-09 18:34:11.000000000 -0400
--------------------------
Patching file images/disable_icon.png using Plan A...
patch: **** malformed patch at line 384: diff -Naur cacti-0.8.7g-old/images/enable_icon_disabled.png cacti-0.8.7g/images/enable_icon_disabled.png
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Re: cacti-plugin-0.8.7g-PA-v2.8.diff breaking on a fresh ins
Did you try with the pre-patched files ?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Re: cacti-plugin-0.8.7g-PA-v2.8.diff breaking on a fresh ins
Whoops. Sorry missed that. When I did applied the patches shown at:
http://www.cacti.net/download_patches.php
I am still getting....
[...]
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur cacti-0.8.7g-old/images/disable_icon.png cacti-0.8.7g/images/disable_icon.png
|--- cacti-0.8.7g-old/images/disable_icon.png 1969-12-31 19:00:00.000000000 -0500
|+++ cacti-0.8.7g/images/disable_icon.png 2010-07-09 18:34:11.000000000 -0400
--------------------------
Patching file images/disable_icon.png using Plan A...
patch: **** malformed patch at line 384: diff -Naur cacti-0.8.7g-old/images/enable_icon_disabled.png cacti-0.8.7g/images/enable_icon_disabled.png
#
[...]
http://www.cacti.net/download_patches.php
I am still getting....
[...]
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -Naur cacti-0.8.7g-old/images/disable_icon.png cacti-0.8.7g/images/disable_icon.png
|--- cacti-0.8.7g-old/images/disable_icon.png 1969-12-31 19:00:00.000000000 -0500
|+++ cacti-0.8.7g/images/disable_icon.png 2010-07-09 18:34:11.000000000 -0400
--------------------------
Patching file images/disable_icon.png using Plan A...
patch: **** malformed patch at line 384: diff -Naur cacti-0.8.7g-old/images/enable_icon_disabled.png cacti-0.8.7g/images/enable_icon_disabled.png
#
[...]
Re: cacti-plugin-0.8.7g-PA-v2.8.diff breaking on a fresh ins
BTW... Here is the patch file I am patching with.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: cacti-plugin-0.8.7g-PA-v2.8.diff breaking on a fresh ins
On what OS?
I had this problem on FreeBSD - I think that binary patches (like this one failing, that modifies/creates a new icon) might not be part of the standard patch format...
I had this problem on FreeBSD - I think that binary patches (like this one failing, that modifies/creates a new icon) might not be part of the standard patch format...
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!)
Re: cacti-plugin-0.8.7g-PA-v2.8.diff breaking on a fresh ins
Ah... That be it. I am running FreeBSD. I guess I would have to dig up some gnu patch program.
I did do a work around by:
1] installing a fresh copy
2] adding patches
3] doing a "cp -r -p [patchdirectory]/files-0.8.7g/* /usr/local/share/cacti/
I did find that there are some directory assumptions that are still a little wonky that I dealt with on the short term with symbolic links.
Tim
I did do a work around by:
1] installing a fresh copy
2] adding patches
3] doing a "cp -r -p [patchdirectory]/files-0.8.7g/* /usr/local/share/cacti/
I did find that there are some directory assumptions that are still a little wonky that I dealt with on the short term with symbolic links.
Tim
Re: cacti-plugin-0.8.7g-PA-v2.8.diff breaking on a fresh ins
It's an icon. It didn't change. Ignore the error.
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: cacti-plugin-0.8.7g-PA-v2.8.diff breaking on a fresh ins
It's been a while, but my memory of it was that the patch process just stops, so anything after that doesn't happen.Linegod wrote:It's an icon. It didn't change. Ignore the error.
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!)
Re: cacti-plugin-0.8.7g-PA-v2.8.diff breaking on a fresh ins
Silly me. The directory assumptions issue can be solved by editing "../include/global.php" and putting in the URL for the site at...I did find that there are some directory assumptions that are still a little wonky that I dealt with on the short term with symbolic links.
Code: Select all
/* set URL path */
if (! isset($url_path)) {
/* $url_path = ""; */
$url_path = "https://cacti.domain.com/";
}
Tim
Who is online
Users browsing this forum: No registered users and 2 guests