Upgrading The Windows Installer created by BSOD2600
Moderators: Developers, Moderators
Upgrading The Windows Installer created by BSOD2600
I have a Windows 2003 server running Cacti. I installed it using BSOD2600 installer.
I am attempting to apply patches found on http://cacti.net/download_patches.php .
The wget commands worked like a charm.
I am stumped on the 3 lines shown below:
patch -p1 -N < cli_add_graph.patch
patch -p1 -N < snmp_invalid_response.patch
patch -p1 -N < template_duplication.patch
They all ask what file to patch?
See the output below:
---------------------------------------------------
C:\cygwin\bin>patch -p1 -N < cli_add_graph.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- ../tags/0.8.7e/cli/add_graphs.php 2009-06-28 12:34:31.000000000 -0400
|+++ 0.8.7/cli/add_graphs.php 2009-08-18 20:04:44.000000000 -0400
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
C:\cygwin\bin>patch -p1 -N < snmp_invalid_response.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- ../tags/0.8.7e/include/global_arrays.php 2009-06-28 12:34:31.000000000 -
400
|+++ 0.8.7/include/global_arrays.php 2009-08-18 20:04:44.000000000 -0400
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- ../tags/0.8.7e/lib/snmp.php 2009-06-28 12:34:30.000000000 -0400
|+++ 0.8.7/lib/snmp.php 2009-08-18 20:04:44.000000000 -0400
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
C:\cygwin\bin>patch -p1 -N < template_duplication.patch
patching file cli/repair_templates.php
can't find file to patch at input line 143
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruBbd 0.8.7e/docs/README 0.8.7/docs/README
|--- 0.8.7e/docs/README 2009-08-18 21:57:30.000000000 -0400
|+++ 0.8.7/docs/README 2009-08-18 21:58:09.000000000 -0400
--------------------------
File to patch:
-----------------------------------------------
What 3 files am I patching?
Thanks
Nick Rigas
I am attempting to apply patches found on http://cacti.net/download_patches.php .
The wget commands worked like a charm.
I am stumped on the 3 lines shown below:
patch -p1 -N < cli_add_graph.patch
patch -p1 -N < snmp_invalid_response.patch
patch -p1 -N < template_duplication.patch
They all ask what file to patch?
See the output below:
---------------------------------------------------
C:\cygwin\bin>patch -p1 -N < cli_add_graph.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- ../tags/0.8.7e/cli/add_graphs.php 2009-06-28 12:34:31.000000000 -0400
|+++ 0.8.7/cli/add_graphs.php 2009-08-18 20:04:44.000000000 -0400
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
C:\cygwin\bin>patch -p1 -N < snmp_invalid_response.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- ../tags/0.8.7e/include/global_arrays.php 2009-06-28 12:34:31.000000000 -
400
|+++ 0.8.7/include/global_arrays.php 2009-08-18 20:04:44.000000000 -0400
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- ../tags/0.8.7e/lib/snmp.php 2009-06-28 12:34:30.000000000 -0400
|+++ 0.8.7/lib/snmp.php 2009-08-18 20:04:44.000000000 -0400
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
C:\cygwin\bin>patch -p1 -N < template_duplication.patch
patching file cli/repair_templates.php
can't find file to patch at input line 143
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ruBbd 0.8.7e/docs/README 0.8.7/docs/README
|--- 0.8.7e/docs/README 2009-08-18 21:57:30.000000000 -0400
|+++ 0.8.7/docs/README 2009-08-18 21:58:09.000000000 -0400
--------------------------
File to patch:
-----------------------------------------------
What 3 files am I patching?
Thanks
Nick Rigas
Per the instructions on that patching page:
You can also just download the pre-patched files and use those instead too: http://www.cacti.net/downloads/patches/ ... e-patched/
You're patching in the wrong directory.Be sure that you are in your Cacti directory when you execute these commands.
You can also just download the pre-patched files and use those instead too: http://www.cacti.net/downloads/patches/ ... e-patched/
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Can not patched the file for cacti 0.8.7e
Hi! I'm new user in cacti
I have the same problem. I run cacti0.8.7e on Fedora 11 and when I patched these file!
So, that mean just download these file and replace them, right?
And, when I try to
[root@Cacti cacti]# patch -p1 -N < cacti-plugin-0.8.7e-PA-v2.5.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 647 (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
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
patching file user_admin.php
patching file utilities.php
There was error with this one:
patching file include/global_arrays.php
Hunk #2 succeeded at 647 (offset 4 lines).
Do you have the file global_arrays.php that already patched? or do you repair the PA?
Help me please
Best regards!
I have the same problem. I run cacti0.8.7e on Fedora 11 and when I patched these file!
So, that mean just download these file and replace them, right?
And, when I try to
[root@Cacti cacti]# patch -p1 -N < cacti-plugin-0.8.7e-PA-v2.5.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 647 (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
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
patching file user_admin.php
patching file utilities.php
There was error with this one:
patching file include/global_arrays.php
Hunk #2 succeeded at 647 (offset 4 lines).
Do you have the file global_arrays.php that already patched? or do you repair the PA?
Help me please
Best regards!
trungtano: Wrong forum. Get the updated files from http://forums.cacti.net/viewtopic.php?t=34188
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Patching Windows 2003
Pardon my ignorance on this subject, but I have a Windows 2003 server in a test environment that I've installed Cacti on. I have it running just fine but I'm confused about patching.
I can't load Cygwin due to restrictions from the test site on outbound connections to the internet. I've read the documentation and downloaded just the files as shown above.
I'm confused on how you actually patch the application. Is it to just replace the files although I don't see these files in the cacti directory with exactly the same name format.
Can you help?
I can't load Cygwin due to restrictions from the test site on outbound connections to the internet. I've read the documentation and downloaded just the files as shown above.
I'm confused on how you actually patch the application. Is it to just replace the files although I don't see these files in the cacti directory with exactly the same name format.
Can you help?
Take the files from http://www.cacti.net/downloads/patches/ ... e-patched/ and overwrite them in the correct directories.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 1 guest