Patches
Moderators: Developers, Moderators
-
- Posts: 32
- Joined: Wed Mar 02, 2005 11:58 am
Patches
How do you install patches under a windows enviroment?
-
- Posts: 32
- Joined: Wed Mar 02, 2005 11:58 am
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
you can find pre-patches files here : http://www.cacti.net/downloads/patches/ ... e-patched/
Backup the original files, and replace them with the new ones.
you can find pre-patches files here : http://www.cacti.net/downloads/patches/ ... e-patched/
Backup the original files, and replace them with the new ones.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Lol, beat me to it, thanks for posting the link..
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Also, I will ask Ian to update the patch download page to include a link to the fully patched files.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
-
- Posts: 32
- Joined: Wed Mar 02, 2005 11:58 am
i have replaced old file with new one but when login i got this warning :
Warning: Cannot add header information - headers already sent by (output started at c:\inetpub\wwwroot\cacti\lib\database.php:220) in c:\inetpub\wwwroot\cacti\auth_login.php on line 77
but when i enter it can login. also i got warning :
Warning: Cannot add header information - headers already sent by (output started at c:\inetpub\wwwroot\cacti\lib\database.php:220) in c:\inetpub\wwwroot\cacti\include\top_graph_header.php on line 51
when see graphs.
Warning: Cannot add header information - headers already sent by (output started at c:\inetpub\wwwroot\cacti\lib\database.php:220) in c:\inetpub\wwwroot\cacti\auth_login.php on line 77
but when i enter it can login. also i got warning :
Warning: Cannot add header information - headers already sent by (output started at c:\inetpub\wwwroot\cacti\lib\database.php:220) in c:\inetpub\wwwroot\cacti\include\top_graph_header.php on line 51
when see graphs.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Did you download the correct patches for the version cacti that you are running?
Please confirm the version of cacti by looking at the about section.
Please confirm the version of cacti by looking at the about section.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
hmm, I'm getting simular errors after installing the files in the pre-patched directory:
Edit1: The troubling thing is that I restored the original files and I'm still getting these errors!
Edit2: Phew! fixed it. Somehow IUSR only had 'list folder contents' set for the include and lib directories. Adding 'read' fixed it. Now to try the patched files again...
Edit3: Got them all installed and I don't seem to have any errors. yay.
Edit4: I take that back, I am getting errors when running poller.php
Code: Select all
Warning: main(c:\auntie\cacti\lib/database.php): failed to open stream: Permission denied in c:\auntie\cacti\include\config.php on line 104
Warning: main(c:\auntie\cacti\lib/database.php): failed to open stream: Permission denied in c:\auntie\cacti\include\config.php on line 104
Warning: main(): Failed opening 'c:\auntie\cacti\lib/database.php' for inclusion (include_path='.;c:\php4\pear') in c:\auntie\cacti\include\config.php on line 104
Fatal error: Call to undefined function: db_connect_real() in c:\auntie\cacti\include\config.php on line 105
Edit2: Phew! fixed it. Somehow IUSR only had 'list folder contents' set for the include and lib directories. Adding 'read' fixed it. Now to try the patched files again...
Edit3: Got them all installed and I don't seem to have any errors. yay.
Edit4: I take that back, I am getting errors when running poller.php
Code: Select all
<b>Warning</b>: Compilation failed: range out of order in character class at of
fset 29 in <b>C:\auntie\cacti\lib\poller.php</b> on line <b>215</b><br />
| 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 |
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
post you poller.php file. Back off your config.php change.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Here is the patched file I downloaded
The only line this different is line 214:
if (preg_match("/^([a-zA-Z0-9_\.-]+):([0-9Ee-\+\.]+)$/", $values[$i], $matches)) {
The only line this different is line 214:
if (preg_match("/^([a-zA-Z0-9_\.-]+):([0-9Ee-\+\.]+)$/", $values[$i], $matches)) {
- Attachments
-
- poller.patched.php.zip
- rename to php
- (11.52 KiB) Downloaded 392 times
| 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 |
i have installed cacti 0.8.6c and i got pre-pacthes from this link http://www.cacti.net/downloads/patches/ ... re-patchedrony wrote:Did you download the correct patches for the version cacti that you are running?
Please confirm the version of cacti by looking at the about section.
please advice. if this link not corect, where i can download for patches. i need for graphing several oid at my router.
-
- Posts: 49
- Joined: Fri Mar 18, 2005 7:33 am
- Location: France
is it working ?
I just want to know if someone try to patch on windows. ( pre-patch files )
is the link bellow working fine ?
thanks.
is the link bellow working fine ?
thanks.
Who is online
Users browsing this forum: No registered users and 0 guests