Bacula-users

Re: [Bacula-users] Can't run bacula any more.

2017-03-12 19:00:08
Subject: Re: [Bacula-users] Can't run bacula any more.
From: Mike Ruskai <thannyd AT earthlink DOT net>
Date: Sun, 12 Mar 2017 18:58:55 -0400
On 3/12/2017 10:29, Erik P. Olsen wrote:
>
> [snip]
>
> mysql -u bacula
>
> was OK.
>
> show databases;
>
> gave:
>
> +--------------------+
> | Database           |
> +--------------------+
> | information_schema |
> | test               |
> +--------------------+
>
> So apparently the scripts did not create the bacula database. I'll have
> to see why that happened.
>
> Thanks for the information.
>
> --
> Regards,
> Erik P. Olsen, M.Sc. EE
> Solsortvej 30
> DK-2000 Frederiksberg
> Denmark

Is your root DB password blank as well?  Were you logged in as root when 
running the scripts?

What do you get if you simply type "mysql" on the command line?  If you 
get a prompt, what does "show processlist" report?

If you weren't logged in as root when running the script, with a blank 
root DB password, then the DB scripts wouldn't work.

That is, with a secured DB server, this wouldn't work:

/usr/libexec/bacula/create_bacula_database

But this would, provided the password were correct:

/usr/libexec/bacula/create_bacula_database -u root --password=<password>

The scripts don't just fail silently, either.


------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users