On 06/03/2017 08:51, Erik P. Olsen wrote: > 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.
There are super short tutorials inside the bacula-common package that you can use to bring up a quick installation with a client, director and storage daemons:
/var/spool/bacula.* all files system_u:object_r:bacula_spool_t:s0
/var/spool/bacula/log(/.*)? all files system_u:object_r:var_log_t:s0
There is no need to turn off SELinux and is actually not recommended. Much like turning off your firewall and enabling password-less logins. If SELinux is denying you something because you used non-standard RHEL/Fedora locations, just add the appropriate contexts to your system (semanage fcontext -a).
Regards,
--Simone
--
You cannot discover new oceans unless you have the courage to lose sight of the shore (R. W. Emerson).
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot