Problems Patches
Moderators: Developers, Moderators
Problems Patches
Hello world,
I have at present the cacti-0.8.7e version. I would like to pass on the version 0.8.7g.For it, I made this opération:
wget http://www.cacti.net/downloads/patches/ ... vate.patch
wget http://www.cacti.net/downloads/patches/ ... view.patch
wget http://www.cacti.net/downloads/patches/ ... tput.patch
wget http://www.cacti.net/downloads/patches/ ... tion.patch
wget http://www.cacti.net/downloads/patches/ ... arse.patch
wget http://www.cacti.net/downloads/patches/ ... ping.patch
wget http://www.cacti.net/downloads/patches/ ... rval.patch
patch -p1 -N < data_source_deactivate.patch
patch -p1 -N < graph_list_view.patch
patch -p1 -N < html_output.patch
patch -p1 -N < ldap_group_authenication.patch
patch -p1 -N < script_server_command_line_parse.patch
patch -p1 -N < ping.patch
patch -p1 -N < poller_interval.patch
I have many errors:
Hunk #1 FAILED at 38
Hunk #2 FAILED at 92
Hunk #1 FAILED at 143
Hunk #2 FAILED at 184
Hunk #1 FAILED at 222
1 out of a hunk ignored --saving rejects to file lib/data_query.php.rej
2 out of the hunk FAILED --saving rejects to file data_sources.php.rej
1 out of the hunk FAILED --saving rejects to file lib/ldap.php.rej
....
Please, I would like to know how to resolve this problem ? Can anyone help me.
Thanks for your answers
ilyass
I have at present the cacti-0.8.7e version. I would like to pass on the version 0.8.7g.For it, I made this opération:
wget http://www.cacti.net/downloads/patches/ ... vate.patch
wget http://www.cacti.net/downloads/patches/ ... view.patch
wget http://www.cacti.net/downloads/patches/ ... tput.patch
wget http://www.cacti.net/downloads/patches/ ... tion.patch
wget http://www.cacti.net/downloads/patches/ ... arse.patch
wget http://www.cacti.net/downloads/patches/ ... ping.patch
wget http://www.cacti.net/downloads/patches/ ... rval.patch
patch -p1 -N < data_source_deactivate.patch
patch -p1 -N < graph_list_view.patch
patch -p1 -N < html_output.patch
patch -p1 -N < ldap_group_authenication.patch
patch -p1 -N < script_server_command_line_parse.patch
patch -p1 -N < ping.patch
patch -p1 -N < poller_interval.patch
I have many errors:
Hunk #1 FAILED at 38
Hunk #2 FAILED at 92
Hunk #1 FAILED at 143
Hunk #2 FAILED at 184
Hunk #1 FAILED at 222
1 out of a hunk ignored --saving rejects to file lib/data_query.php.rej
2 out of the hunk FAILED --saving rejects to file data_sources.php.rej
1 out of the hunk FAILED --saving rejects to file lib/ldap.php.rej
....
Please, I would like to know how to resolve this problem ? Can anyone help me.
Thanks for your answers
ilyass
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Ok, sorry. Iwas reading your first post too fast.
Before applying the pathes (which are patches BASED ON 087g) you will have to install 087g code first! Then, as a next step, apply the patches. See e.g. http://docs.cacti.net/manual:087:1_inst ... ding_cacti
R.
Before applying the pathes (which are patches BASED ON 087g) you will have to install 087g code first! Then, as a next step, apply the patches. See e.g. http://docs.cacti.net/manual:087:1_inst ... ding_cacti
R.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Usually (aka: if you don't make any mistake) noIlyass wrote:OK Thanks for the explanation and the link. But if I make an Upgrading There is a risk of losing graphs ?
If in doubt, copy your stuff and perform an upgrade on the copy just to exercise. To be honest, I do this ALWAYS when upgrading (but that's due to half a dozen custom patches)
R.
You don't have to touch global.php when installing PIA 2.8 any change have to be made on config.php where you will find $url_path = "//";
you can refer back to this link for more explanation
http://forums.cacti.net/about38492-0-asc-45.html
you can refer back to this link for more explanation
http://forums.cacti.net/about38492-0-asc-45.html
Re: Problems Patches
ok
All is ok. Thank for your help. Good day
ilyass
All is ok. Thank for your help. Good day
ilyass
Who is online
Users browsing this forum: No registered users and 1 guest