Cactiusers.org


It is currently Tue Feb 07, 2012 5:26 pm




Post new topic Reply to topic  [ 8 posts ] 
 Cacti 0.8.7e PA2.6 
Author Message
New User

Joined: Thu Feb 25, 2010 8:40 am
Posts: 6
Post Cacti 0.8.7e PA2.6
Hi,

I am working with Cacti 0.8.7e in which I would like to install the PA2.6, but when I test the patch :

patch -p1 -N --dry-run < cacti-plugin-0.8.7e-pa-v2.6.diff

I got this error message :

Hunk #3 FAILED at 195.
1 out of 4 hunks FAILED -- saving rejects to file include/global.php.rej


Do you know how to fix it?

THX


Thu Feb 25, 2010 8:44 am
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post Re: Cacti 0.8.7e PA2.6
That usually means either you already modified global.php, or you are using a rpm / deb version. In either case, just override that file with the pre-patched file included with the PA, and you should be good to go.


Fri Feb 26, 2010 11:07 am
New User

Joined: Thu Feb 25, 2010 8:40 am
Posts: 6
Post Re: Cacti 0.8.7e PA2.6
Hi,

it's an aptitude version and now it works, but I have some new problems :

- in the user management I ticked the plugin management, but I have'nt any box for my plugin (the plugin ntop and weathermap appear in plugin management);
- in the graphs section, I haven't graph :'( (before the PA's installation it was working). I have just a red cross


Mon Mar 01, 2010 8:30 am
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post Re: Cacti 0.8.7e PA2.6
1. "for my plugin" <--- which plugin is that?

2. Make sure you set the variable in global.php correctly $config['url_path']


Mon Mar 01, 2010 9:20 am
New User

Joined: Thu Feb 25, 2010 8:40 am
Posts: 6
Post Re: Cacti 0.8.7e PA2.6
1. I have ntop and weathermap which are correctly identified in my plugin management section of cacti, but I haven't the box to activate them in my user management's setting.

2. $config['url_path'] is set correctly in my global.php, but maybe there are other variables to change?

:(


Mon Mar 01, 2010 9:32 am
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post Re: Cacti 0.8.7e PA2.6
1) NTop and Weathermap were never converted to the new Plugin Architecture, so you need to enable them the old way. edit include/global.php in your cacti directory, and add them to the $plugins array.

2) Right click the broken image, and look at the image path url, that should show you what is wrong.


Mon Mar 01, 2010 3:51 pm
New User

Joined: Thu Feb 25, 2010 8:40 am
Posts: 6
Post Re: Cacti 0.8.7e PA2.6
Hi,

1/ I'm sorry, I made a mistake when declaring my variable plugins, not it's working :)

2/I'm investigating about this problem


Wed Mar 03, 2010 5:25 am
New User

Joined: Thu Feb 25, 2010 8:40 am
Posts: 6
Post Re: Cacti 0.8.7e PA2.6
It works ^^

I just have to delete my host and recreate them, and it's ok.

THx for your help


Wed Mar 03, 2010 5:58 am
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: