Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support There are no servers configured into the database

  • There are no servers configured into the database

    Posted by qus on January 14, 2009 at 04:28

    I’ve installed Pandora several times, but now for first time ever, when I go to console’s “Manage servers”, all I get is:

    There are no servers configured into the database

    (and no button to add them). The servers are running. It is on latest Suse Linux, server version…

    qus replied 16 years, 1 month ago 2 Members · 4 Replies
  • 4 Replies
  • manu

    Member
    January 14, 2009 at 04:44
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi,

    You don’t have to add anything in Manage Servers, servers will appear in the webconsole as long as they’re able to connect the MySQL database you defined in “pandora_server.conf” if they’re not, they won’t appear there.
    Are you sure they’re connecting to the same database the webconsole is running against?

    Check that “username, password and database” appearing in:
    /srv/www/htdocs/pandora_console/include/config.php (at the top of the file)
    Are the same you set up in
    /etc/pandora/pandora_server.conf

  • qus

    Member
    January 14, 2009 at 05:56
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hmmm… The password is right. What I get when run manually is:

    Pandora FMS Data Server 1.3.1 Build PS080429 Copyright (c) 2004-2008 ArticaST
    This program is Free Software, licensed under the terms of GPL License v2.
    You can download latest versions and documentation at http://pandora.sourceforge.net.

    [W] Not all Pandora FMS components need to be executed as root
    please consider starting it with a non-privileged user.

  • Server basepath is /etc/pandora/pandora_server.conf
  • Server logfile at /var/log/pandora/pandora_server.log
  • Server errorlogfile at /var/log/pandora/pandora_server.error
  • Server incoming directory at /var/spool/pandora/data_in
  • Server keepalive 50
  • Server threshold 15
  • You are running Pandora FMS Data Server.
  • This server is running in MASTER mode.
  • [E] Error connecting database in init Phase. Aborting startup.

    install_driver(mysql) failed: Can’t locate DBD/mysql.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at (eval 9) line 3.
    Perhaps the DBD::mysql perl module hasn’t been fully installed,
    or perhaps the capitalisation of ‘mysql’ isn’t right.
    Available drivers: DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge.
    at /usr/lib/perl5/site_perl/5.10.0/PandoraFMS/Config.pm line 326

    So maybe it didn’t run at all (but trynig to start it as daemon gave “Pandora FMS Data Server is currently running on this machine with PID…”. Am I missing some perl module?

  • manu

    Member
    January 14, 2009 at 06:14
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Are you running it as root?
    Did you install it with the pandora_server_installer ?

  • qus

    Member
    January 14, 2009 at 07:24
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Well – somehow it started working AFTER I ran each script manually once (!). After running it and starting them as deamons they run without problems and start with system… strange.