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 babel 2.0 DB login errors in babel log

  • babel 2.0 DB login errors in babel log

    Posted by zcool on October 23, 2008 at 19:09

    I have babel 2.0 setup and running. (on CentOs 5.2)
    I have agents install on another Fedora 8 machine

    my conf file has babel listed as the password but i get this message in the babel_server.log

    Could not connect to database: Error 1045 when connecting: Access denied for user ‘babel’@’localhost’ (using password: YES).

    What did I miss?

    zcool replied 16 years, 4 months ago 2 Members · 2 Replies
  • 2 Replies
  • manu

    Member
    October 24, 2008 at 01:26
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    It’s very clear, the server cannot connect to the database.

    Alright, go to your /etc/babel/babel_server.conf
    take a look at this fields:

    user_name
    password
    hostname
    db_name

    and now do this:
    mysql -u user_name -p -h hostname -D db_name

    Change user_name, hostname and db_name for the values you have in the babel_agent.conf (the password will be asked once you press return)

    Can you log into the database using that? Probably not 🙂

  • zcool

    Member
    October 24, 2008 at 18:27
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    that fixed it.

    Thanks