Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Apr 26, 2017 8:59 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: No Plugins Found
PostPosted: Mon Oct 24, 2011 10:41 am 
Offline

Joined: Mon Oct 24, 2011 9:50 am
Posts: 14
I have Cacti Version: 0.8.7g, Plugin Architecture Version: 2.9 and have downloaded realtime and settings, but am getting the No Plugins Found messang in Plugin Management. This is a Red Hat install, so the path for cacti is /usr/share/cacti.

I believe I have followed all of the instructions for installing the plugins, and have looked through some of the past posts, but have not found the solution to my problem.

Since I am no guru at Linux, please let me know what additional information I can provide to help in finding a solution. Also, please let me know where else I can look to see what errors might be popping up.

Thanks - John


Top
 Profile  
 
 Post subject: Re: No Plugins Found
PostPosted: Mon Oct 24, 2011 2:50 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14863
Location: MI, USA
http://docs.cacti.net/manual:087:1_installation.9_pia

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re: No Plugins Found
PostPosted: Mon Oct 24, 2011 3:05 pm 
Offline

Joined: Mon Oct 24, 2011 9:50 am
Posts: 14
Thanks. Yes, I followed all steps to the letter (except for the typo in the monitor extraction line. zvxf, not zvcf), but did not list the plugins in the config.php file as I read that this is no longer necessary. Is that my problem? Do I actually need to put plugins in config.php, as per the instructions you pointed to? What else can I post to help resolve this?

Again, many thanks - John


Top
 Profile  
 
 Post subject: Re: No Plugins Found
PostPosted: Tue Oct 25, 2011 6:55 am 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
The new PIA does not require any plugin to be entered in config.php.
But please be careful not to have any <plugin> twice in the plugins folder; once as <plugin> and once as <plugin>-sth or the like
R.

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re: No Plugins Found
PostPosted: Tue Oct 25, 2011 9:02 am 
Offline

Joined: Mon Oct 24, 2011 9:50 am
Posts: 14
gandalf wrote:
The new PIA does not require any plugin to be entered in config.php.
But please be careful not to have any <plugin> twice in the plugins folder; once as <plugin> and once as <plugin>-sth or the like
R.


OK, understood on config.php.

There are no duplicated folders.

# cd /usr/share/cacti/plugins
# ls -al
total 20
drwxr-xr-x. 4 root root 4096 Oct 21 18:21 .
drwxr-xr-x. 10 root root 4096 Oct 24 14:09 ..
-rw-r--r--. 1 root root 44 Oct 20 12:23 index.php
drwxr-xr-x. 2 root root 4096 Sep 1 2010 realtime
drwxr-xr-x. 3 root root 4096 Sep 25 09:45 settings

Thanks - John


Top
 Profile  
 
 Post subject: Re: No Plugins Found
PostPosted: Tue Oct 25, 2011 10:34 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14863
Location: MI, USA
Check your Cacti.log for some clues. Make sure your Admin account has access to the Plugin Management realm.

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re: No Plugins Found
PostPosted: Tue Oct 25, 2011 12:13 pm 
Offline

Joined: Mon Oct 24, 2011 9:50 am
Posts: 14
If you mean the check box in user management, then yes it is checked. I can get to the Plugin Management screen, it is just telling me that there are no plugins found.

I could not find anything in cacti.log indicating any issue with plugins.

I have seen some mention of permissions. Do the plugin files need to be '777' (sorry if that isn't correct Linux format. As I said, not a guru here.) :-)

Thanks - John


Top
 Profile  
 
 Post subject: Re: No Plugins Found
PostPosted: Wed Oct 26, 2011 6:55 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14863
Location: MI, USA
Screen shot please.

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re: No Plugins Found
PostPosted: Wed Oct 26, 2011 9:14 am 
Offline

Joined: Mon Oct 24, 2011 9:50 am
Posts: 14
Here is the screen shot of Plugin Management.

Also, I had someone look at the code and he wanted me to ask this. It looks like the list of plugin directories is obtained from the plugin_config table, but that table is empty. How does this table get populated?

Thanks - John


Attachments:
CactiPluginError1.png
CactiPluginError1.png [ 138.95 KiB | Viewed 6606 times ]
Top
 Profile  
 
 Post subject: Re: No Plugins Found
PostPosted: Thu Oct 27, 2011 7:45 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14863
Location: MI, USA
There are a few things that can cause this:

1) You don't have 'create temporary table' permissions in mysql. You Cacti log would be littered with error messages
2) You don't have proper file permissions to the plugin directories 'setup.php' files (and likely others).
3) You don't have any plugins properly installed into the 'plugins' folder.
4) You don't have a plugins folder... :)

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re: No Plugins Found
PostPosted: Thu Oct 27, 2011 11:20 am 
Offline

Joined: Mon Oct 24, 2011 9:50 am
Posts: 14
TheWitness wrote:
There are a few things that can cause this:

1) You don't have 'create temporary table' permissions in mysql. You Cacti log would be littered with error messages
2) You don't have proper file permissions to the plugin directories 'setup.php' files (and likely others).
3) You don't have any plugins properly installed into the 'plugins' folder.
4) You don't have a plugins folder... :)

TheWitness


1) cacti.log file is not showing any errors
2) OK, we will look at all the permissions again and, if necessary to help figure this out, will '777' everything
3) Well, the files are there. Unless there are some hidden characters in the file names I am not sure how this could not be correct. See below for further question on that.
4) :o ... No, just kidding. Obviously the 'plugins' folder is there.

I should have pointed this out earlier, but I do actually have Cacti working on another system where plugins are installed and running. It was set up by a former student, but only on a temporary configuration. We are now trying to get it installed on a more permanent server. The application is running well, it is just plugins I am strugglling with. Permissions between the two systems seem to be in sync. (Old system has PIA 2.8, new has 2.9 - only difference) The one thing we noticed, as mentioned in my last post, is that the plugins_config table in the new system has no entries. I am assuming that this is a process that is automatic (since there is no mention of this in the plugin installation instructions) and that it is the root of our issue, but I do not see any errors where the population of this table was tried but failed. Could this be a permission problem (if so, where) or is it because the software is not seeing any plugins and, therefore, not trying to populate the table? What is the software looking for to determine that there are plugins in the plugins folder?

Again, many thanks for your time on this. I realize it is hard dealing with a novice, so I appreciate your patience. - John


Top
 Profile  
 
 Post subject: Re: No Plugins Found
PostPosted: Thu Oct 27, 2011 8:36 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
The table should indded not be empty. Please show us a dump of the filled table from the working installation. You will likely copy two specific entries from that to your current installation
R.

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re: No Plugins Found
PostPosted: Fri Oct 28, 2011 6:27 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14863
Location: MI, USA
You might want to do this as well:

Code:
cd <cacti_base_path>/plugins
find . -type f -ls


Post what you find. In each '<plugin>' directory, you will find a setup.php file. When we build the plugin interface, we read that file. If it's not found, of course we will not find any plugins.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re: No Plugins Found
PostPosted: Fri Oct 28, 2011 5:43 pm 
Offline

Joined: Mon Oct 24, 2011 9:50 am
Posts: 14
Well, now I am not sure what to think. We got it working, but not exactly sure how or why. Let me go over the steps we did from the beginning and maybe you will see something. I will just use realtime as an example.

• Downloaded realtime to my pc from the link on cacti.net.
• Moved realtime to the cacti server using winscp, placing it in my home directory (/home/miller/download)
• Logged in to cacti server as root
• Extracted the archive
o tar –zvxf realtime—v0.43-1.tgz
• Moved the realtime directory to /usr/share/cacti/plugins
o mv realtime /usr/share/cacti/plugins/ .

It was at this point that I looked at the Plugin Management and saw “No Plugins Found” message. Afterall the back and forth between us and trying everything we thought it might be, what we did was to tar the files right there in the plugins directory, remove the realtime directory, and un tar the files, thus creating realtime again, just without the move. At that point realtime showed up in Plugin Management.

So, any thoughts as to why the original sequence (with the mv) didn’t work?

Thanks - John


Top
 Profile  
 
 Post subject: Re: No Plugins Found
PostPosted: Fri Oct 28, 2011 6:21 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14863
Location: MI, USA
QMealtime 0.51 has been released.

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


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:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group