Hi,
I upgrade my cacti from 0.8.6g to 0.8.6h.
Then I wanna install plugin architecture.
I downloaded Plugin V.0.9
Then I extract and run this command:
Code: Select all
patch -p1 -N --dry-run < cacti-plugin-arch/cacti-plugin-0.8.6h.diff
Aftrer that I get an output includes some errors:
(Stripping trailing CRs from patch.)
patching file data_sources.php
(Stripping trailing CRs from patch.)
patching file graphs_new.php
(Stripping trailing CRs from patch.)
patching file include/config_arrays.php
(Stripping trailing CRs from patch.)
patching file include/config_form.php
(Stripping trailing CRs from patch.)
patching file include/config.php
Hunk #1 FAILED at 27.
1 out of 2 hunks FAILED -- saving rejects to file include/config.php.rej
(Stripping trailing CRs from patch.)
patching file include/config_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
(Stripping trailing CRs from patch.)
patching file include/top_graph_header.php
Hunk #1 FAILED at 76.
1 out of 1 hunk FAILED -- saving rejects to file include/top_graph_header.php.rej
(Stripping trailing CRs from patch.)
patching file include/top_header.php
Hunk #1 FAILED at 19.
1 out of 1 hunk FAILED -- saving rejects to file include/top_header.php.rej
(Stripping trailing CRs from patch.)
patching file lib/api_device.php
(Stripping trailing CRs from patch.)
patching file lib/functions.php
(Stripping trailing CRs from patch.)
patching file lib/html_form.php
(Stripping trailing CRs from patch.)
patching file lib/html.php
The next patch would create the file plugins/index.php,
which already exists! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file plugins/index.php.rej
(Stripping trailing CRs from patch.)
patching file poller.php
(Stripping trailing CRs from patch.)
patching file utilities.php
Then I backup original files and try to patch usingthis command:
Code: Select all
patch -p1 -N < cacti-plugin-arch/cacti-plugin-0.8.6h.diff
After that I still get some errors
I check the cacti from browser. Somethibg weird. For example images are not shown, fonts are wrong, graph page not loaded. etc.
Then I turn tı original files.
What is the problem?
[/quote]