1. Home
  2. Knowledge Base
  3. Problems (EN)
  4. Pandora FMS server doesn’t recognize the Enterprise libraries

Pandora FMS server doesn’t recognize the Enterprise libraries

I’ve installed the Enterprise version in my current server, but it says I don’t have installed the enterprise version:

“Pandora FMS Server 3.0 Build 091216 Copyright (c) 2004-2009 Artica ST This program is Open Source, licensed under the terms of GPL License version 2. You can download latest versions and documentation at http://www.pandorafms.org [*] Pandora FMS Enterprise module not available. [*] Starting Pandora FMS Data Server. [*] Starting Pandora FMS Network Server  . . .”

Solution:

Probably you have your Enterprise libraries installed in a different path from your open Source version. To check this, run following command to search where are your Opensource version installed (that depends on every GNU/Linux server version / distribution ):

 find /usr -name "NetworkServer.pm" /usr/local/share/perl/5.8.8/PandoraFMS/NetworkServer.pm

So you have all your server libraries installed in /usr/local/share/perl/5.8.8/PandoraFMS/ Now, we will search where is installed your Enterprise version:

 find /usr -name "Enterprise.pm" /usr/local/share/perl/5.10.0/PandoraFMS/

Seems you have different versions installed, but which is the correct one?

Perl virtual machine looks for libraries in a very specific place, it doesn’t search for all “known-possible-directories” (will take a lot of time and probably will have a lot of conflict of versions), so by default it search on a very specific places, listed with the command:

perl -V

This return a lot of stuff, BUT at the end, it will report something like:

 @INC: 
  /etc/perl
  /usr/local/lib/perl/5.8.8
  /usr/local/share/perl/5.8.8
  /usr/lib/perl5 /usr/share/perl5
  /usr/lib/perl/5.8
  /usr/share/perl/5.8
  /usr/local/lib/site_perl

 

This means that correct place to search for libraries is /usr/local/share/perl/5.8.8 and /usr/local/share/perl/5.10.0 is not used.

So all libraries must be placed at /usr/local/share/perl/5.8.8.

In this example, will be:

cp /usr/local/share/perl/5.10.0/PandoraFMS/*.pm /usr/local/share/perl/5.8.8/PandoraFMS
rm -Rf /usr/local/share/perl/5.10.0/PandoraFMS

  • Another “fast” solution is to delete both directories and reinstall both (Enterprise and Open) from scratch (backing up the configuration files).
Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support