Pages: [1]   Go Down
Author Topic: babel 2.0 DB login errors in babel log  (Read 774 times)
0 Members and 1 Guest are viewing this topic.
zcool
Newbie
*

Karma: 0
Offline Offline

Posts: 2


View Profile
« on: October 23, 2008, 04:09:19 PM »

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?
Logged

Manuel Arostegui
Global Moderator
Expert member
*****

Karma: 50
Offline Offline

Posts: 853



View Profile
« Reply #1 on: October 23, 2008, 10:26:12 PM »

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 :-)
Logged

zcool
Newbie
*

Karma: 0
Offline Offline

Posts: 2


View Profile
« Reply #2 on: October 24, 2008, 03:27:26 PM »

that fixed it.

Thanks
Logged

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST