Bacula-users

Re: [Bacula-users] can't connect to director

2014-07-27 10:50:40
Subject: Re: [Bacula-users] can't connect to director
From: Bill Arlofski <waa-bacula AT revpol DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Sun, 27 Jul 2014 10:45:19 -0400
Hi Tim,


You showed that you can log into your mysql database, and that you can load
the bacula database, but you didn't show the output of a "show tables" command.

You need to make sure that the tables have been created in the Bacula
database, and that permissions have been granted to the mysql bacula user.

# mysql -u root -pPassword mysql

> select * from user where User="bacula";

and

> select * from db where User="bacula";

By default, the user "bacula" should have all access on Db "bacula" from
localhost.



If the DB looks OK, then you need to make sure the Bacula director is running
and bound to port 9101/TCP...

# service bacula-dir status


If the bacula-dir is running the following command should show it bound to
port 9101/TCP:

# netstat -tlpn

tcp   0  0 0.0.0.0:9101  0.0.0.0:*    LISTEN      15436/bacula-dir



After that, you will need to make sure that the password in your bconsole.conf
matches the password in either bacula-dir's "Director" resource, or the
password in a bacula-dir  "Console" resource.


Hope this helps.

Bill




-- 
Bill Arlofski
Reverse Polarity, LLC
http://www.revpol.com/
-- Not responsible for anything below this line --

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users