Re: [Bacula-users] Can't run bacula any more.
2017-03-06 07:42:43
On 06/03/2017 08:51, Erik P. Olsen wrote:
[SNIP]
> bacula-dir: mysql.c:259-0 db_user=bacula db_name=bacula db_password=
> bacula-dir: mysql.c:269-0 Error 1044 (42000): Access denied for user
> ''@'localhost' to database 'bacula' bacula-dir: dird.c:969-0 Could not
> open Catalog "MyCatalog", database "bacula". bacula-dir: dird.c:974-0
> mysql.c:265 Unable to connect to MySQL server. Database=bacula
> User=bacula MySQL connect failed either server not running or your
> authorization is incorrect. bacula-dir: mysql.c:319-0 closedb ref=0
> connected=0 db=0 05-mar 22:35 bacula-dir ERROR TERMINATION Please
> correct configuration file: bacula-dir.conf
>
> I noticed "Access denied for user ''@'localhost' ...". Where does this
> user come from? Isn't that the reason for the failures and if it's
> true what can I do to correct it? Also "Initaddr 0.0.0.0:9101" looked
> strange.
>
This looks to be your problem.
I suspect that the access privileges for the user "bacula" to the
database "bacula" have not been set.
Later on you mention that you are using MariaDB, I presume they haven't
changed things that much that the standard settings for MySQL don't work.
I can't recall what they should be, it is in the documentation, that
much I recall.
The Initaddr is listening on 9101, if bacula-dir doesn't listen for
connections nothing happens.
Cheers,
Gary B-)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|