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 Pandora Server won’t connect to the database

  • Pandora Server won’t connect to the database

    Posted by sillyPandora on May 4, 2007 at 01:52

    I can connect to the mysql database just fine. But the Pandora server give me this error. I have the config options set as: Any help would be appreciated, thank you!
    dbuser pandora
    dbpass MYPASSWORD
    dbhost localhost
    verbosity 10

    2007/05/03 16:44:39 [V2] Config options: Logfile at /opt/pandora_server/log/pandora_server.log, Basepath is /opt/pandora_server, Checksum is 0, Master is 1, SNMP Console is 1, Server Threshold at 5 sec, verbosity at 10, Alert Threshold at 60
    2007/05/03 16:44:39 Error connecting database in init Phase. Aborting startup.
    [root@pes3 pandora]# mysql -h localhost -D pandora -u pandora -p
    Enter password:
    Reading table information for completion of table and column names
    You can turn off this feature to get a quicker startup with -A

    Welcome to the MySQL monitor. Commands end with ; or g.
    Your MySQL connection id is 1159
    Server version: 5.0.37 MySQL Community Server (GPL)

    Type ‘help;’ or ‘h’ for help. Type ‘c’ to clear the buffer.

    mysql>

    sillyPandora replied 17 years, 9 months ago 2 Members · 3 Replies
  • 3 Replies
  • sillyPandora

    Member
    May 4, 2007 at 02:06
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I have following packages installed
    [root@pes3 pandora]# rpm -qa | grep -i perl

    perl-DBD-MySQL-2.9004-3.1
    perl-Time-HiRes-1.55-3
    perl-DBI-1.40-5
    perl-Digest-SHA1-2.07-5
    perl-XML-NamespaceSupport-1.08-6
    perl-XML-LibXML-1.58-1
    perl-libxml-perl-0.07-30
    perl-Digest-HMAC-1.01-13
    perl-Convert-ASN1-0.18-3
    perl-XML-LibXML-Common-0.13-7
    perl-XML-Dumper-0.71-2
    perl-XML-SAX-0.12-7
    mod_perl-1.99_16-4
    perl-DateManip-5.42a-3
    perl-XML-Encoding-1.01-26
    perl-XML-Grove-0.46alpha-27
    perl-DBD-Pg-1.31-6
    perl-XML-Parser-2.34-5
    perl-XML-Twig-3.13-6

  • raul

    Member
    May 5, 2007 at 22:52
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Strange, I think you have all the needed modules.

    Have you reviewed the password? it’s case sensitive…

  • sillyPandora

    Member
    May 7, 2007 at 18:31
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Yes, I reviewed password and the database and the username. I made sure I can connect manually without a problem. >.< 😯 Don't know what to do next, so I downloaded that VMware version, and had that working in minutes (other than setting up the new timezone). 😀 Let me work on it some more and see what the problem is, will keep you update, thanks for all the help.