I have a problem with cacti-plugin,the problem below:
[root@localhost cacti]# patch -p1 -N < cacti-plugin-0.8.7e-PA-v2.5-cn-utf8.diff
patching file auth_changepassword.php
Hunk #1 FAILED at 59.
1 out of 1 hunk FAILED -- saving rejects to file auth_changepassword.php.rej
patching file auth_login.php
Hunk #1 FAILED at 212.
Hunk #2 FAILED at 266.
Hunk #3 FAILED at 330.
3 out of 3 hunks FAILED -- saving rejects to file auth_login.php.rej
patching file data_sources.php
Hunk #1 FAILED at 44.
Hunk #2 FAILED at 404.
Hunk #3 FAILED at 533.
Hunk #4 FAILED at 680.
Hunk #5 FAILED at 974.
Hunk #6 FAILED at 1309.
6 out of 6 hunks FAILED -- saving rejects to file data_sources.php.rej
patching file graph_image.php
Hunk #1 FAILED at 44.
1 out of 1 hunk FAILED -- saving rejects to file graph_image.php.rej
patching file graph.php
Hunk #1 FAILED at 98.
Hunk #2 FAILED at 213.
Hunk #3 FAILED at 246.
3 out of 3 hunks FAILED -- saving rejects to file graph.php.rej
patching file graphs_new.php
Hunk #1 FAILED at 479.
1 out of 1 hunk FAILED -- saving rejects to file graphs_new.php.rej
patching file graphs.php
Hunk #1 FAILED at 45.
Hunk #2 FAILED at 364.
Hunk #3 FAILED at 500.
3 out of 3 hunks FAILED -- saving rejects to file graphs.php.rej
patching file host.php
Hunk #1 FAILED at 43.
Hunk #2 FAILED at 310.
Hunk #3 FAILED at 445.
Hunk #4 FAILED at 538.
Hunk #5 FAILED at 650.
Hunk #6 FAILED at 1112.
6 out of 6 hunks FAILED -- saving rejects to file host.php.rej
patching file include/auth.php
Hunk #1 FAILED at 31.
Hunk #2 FAILED at 79.
Hunk #3 FAILED at 87.
3 out of 3 hunks FAILED -- saving rejects to file include/auth.php.rej
patching file include/bottom_footer.php
Hunk #1 FAILED at 21.
Hunk #2 FAILED at 35.
2 out of 2 hunks FAILED -- saving rejects to file include/bottom_footer.php.rej
patching file include/global_arrays.php
Hunk #1 FAILED at 22.
Hunk #2 FAILED at 641.
2 out of 2 hunks FAILED -- saving rejects to file include/global_arrays.php.rej
patching file include/global_constants.php
Hunk #1 FAILED at 173.
1 out of 1 hunk FAILED -- saving rejects to file include/global_constants.php.rej
patching file include/global_form.php
Hunk #1 FAILED at 23.
Hunk #2 FAILED at 1175.
2 out of 2 hunks FAILED -- saving rejects to file include/global_form.php.rej
patching file include/global.php
Hunk #1 FAILED at 41.
Hunk #2 FAILED at 92.
Hunk #3 FAILED at 195.
Hunk #4 FAILED at 220.
4 out of 4 hunks FAILED -- saving rejects to file include/global.php.rej
patching file include/global_settings.php
Hunk #1 FAILED at 1185.
1 out of 1 hunk FAILED -- saving rejects to file include/global_settings.php.rej
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
patching file include/top_graph_header.php
Hunk #1 FAILED at 25.
Hunk #2 FAILED at 55.
Hunk #3 FAILED at 109.
Hunk #4 FAILED at 121.
Hunk #5 FAILED at 129.
Hunk #6 FAILED at 158.
6 out of 6 hunks FAILED -- saving rejects to file include/top_graph_header.php.rej
patching file include/top_header.php
Hunk #1 FAILED at 22.
Hunk #2 FAILED at 69.
Hunk #3 FAILED at 81.
Hunk #4 FAILED at 89.
Hunk #5 FAILED at 102.
5 out of 5 hunks FAILED -- saving rejects to file include/top_header.php.rej
patching file index.php
Hunk #1 FAILED at 25.
Hunk #2 FAILED at 47.
2 out of 2 hunks FAILED -- saving rejects to file index.php.rej
patching file lib/api_device.php
Hunk #1 FAILED at 137.
1 out of 1 hunk FAILED -- saving rejects to file lib/api_device.php.rej
patching file lib/auth.php
Hunk #1 FAILED at 122.
Hunk #2 FAILED at 155.
2 out of 2 hunks FAILED -- saving rejects to file lib/auth.php.rej
patching file lib/functions.php
Hunk #1 FAILED at 1639.
Hunk #2 FAILED at 1652.
Hunk #3 FAILED at 1731.
3 out of 3 hunks FAILED -- saving rejects to file lib/functions.php.rej
patching file lib/html_form.php
Hunk #1 FAILED at 655.
Hunk #2 FAILED at 672.
Hunk #3 FAILED at 693.
3 out of 3 hunks FAILED -- saving rejects to file lib/html_form.php.rej
patching file lib/html.php
Hunk #1 FAILED at 86.
Hunk #2 FAILED at 143.
Hunk #3 FAILED at 177.
Hunk #4 FAILED at 269.
Hunk #5 FAILED at 708.
Hunk #6 FAILED at 719.
Hunk #7 FAILED at 748.
Hunk #8 FAILED at 769.
8 out of 8 hunks FAILED -- saving rejects to file lib/html.php.rej
The next patch would create the file lib/plugins.php,
which already exists! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file lib/plugins.php.rej
patching file lib/poller.php
Hunk #1 FAILED at 326.
1 out of 1 hunk FAILED -- saving rejects to file lib/poller.php.rej
patching file lib/rrd.php
Hunk #1 FAILED at 564.
Hunk #2 FAILED at 1421.
Hunk #3 FAILED at 1436.
3 out of 3 hunks FAILED -- saving rejects to file lib/rrd.php.rej
patching file lib/variables.php
Hunk #1 FAILED at 183.
1 out of 1 hunk FAILED -- saving rejects to file lib/variables.php.rej
The next patch would create the file pa.sql,
which already exists! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file pa.sql.rej
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
The next patch would create the file plugins.php,
which already exists! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file plugins.php.rej
patching file poller.php
Hunk #1 FAILED at 73.
Hunk #2 FAILED at 263.
Hunk #3 FAILED at 407.
Hunk #4 FAILED at 458.
4 out of 4 hunks FAILED -- saving rejects to file poller.php.rej
patching file user_admin.php
Hunk #1 FAILED at 72.
Hunk #2 FAILED at 418.
Hunk #3 FAILED at 463.
Hunk #4 FAILED at 915.
Hunk #5 FAILED at 943.
Hunk #6 FAILED at 957.
6 out of 6 hunks FAILED -- saving rejects to file user_admin.php.rej
patching file utilities.php
Hunk #1 FAILED at 122.
Hunk #2 FAILED at 1648.
2 out of 2 hunks FAILED -- saving rejects to file utilities.php.rej
pa.sql have been successfully imported to cactidb.
who can tell me what's wrong with those contents above and HowI can do those?
The problem of cacti-plugin
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: The problem of cacti-plugin
Which is your cacti base version and where did you get that PIA from?
R.
R.
Re: The problem of cacti-plugin
My cacti base version is cacti-0.8.7e-cn-utf8,my cacti-plugin version is cacti-plugin-0.8.7e-PA-v2.5-cn-utf8,I forget where those are downloaded.gandalf wrote:Which is your cacti base version and where did you get that PIA from?
R.
- Attachments
-
- 0.8.7e.rar
- (2.4 MiB) Downloaded 62 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: The problem of cacti-plugin
I'm not aware that we published those. So it's hard to support them.
R.
R.
Re: The problem of cacti-plugin
Where did these come from?
--
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
Who is online
Users browsing this forum: No registered users and 1 guest