Hello 胡杨: The patch is for Ganglia Web 3.1+, I'm not sure what version of Ganglia ROCKS 5.5 comes with, can you please check?
P.S. These questions are more suitable for the ganglia-general mailing-list. The -developer list is generally reserved for Ganglia development discussions. Thanks, Bernard On Sun, Dec 15, 2013 at 9:29 PM, 胡杨 <781578...@qq.com> wrote: > I did it in the Rocks5.5. > Everything is fine but the step of patch.. > the errors below: > [root at cluster ganglia]# patch -p0 < > /share/apps/ganglia-gpu/gpu/nvidia/ganglia_web.patch > patching file host_view.php > Hunk #1 FAILED at 17. > Hunk #2 succeeded at 38 (offset 1 line). > Hunk #3 succeeded at 203 with fuzz 2 (offset 32 lines). > Hunk #4 FAILED at 180. > Hunk #5 succeeded at 227 with fuzz 2 (offset 31 lines). > 2 out of 5 hunks FAILED -- saving rejects to file host_view.php.rej > patching file templates/default/host_view.tpl > Hunk #1 succeeded at 82 with fuzz 2 (offset 2 lines). > Hunk #2 FAILED at 138. > 1 out of 2 hunks FAILED -- saving rejects to file > templates/default/host_view.tpl.rej > > After do this ,when I open the page abot host view,the content is empty.. > And I replace the new host_view,php file to the initial one which I backed > before dong patch. > > Did it mean the patch is not suit for the version fo ganglia in Rocks5.5??? > If so, How can I do ... > > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > Ganglia-developers mailing list > Ganglia-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ganglia-developers > ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers