On 2017-03-16 02:00, Erik P. Olsen wrote:
> I am afraid it will never work :-(
I'd've given up and installed postgress long time ago myself.
Dima
--
Check out the vibrant tech community on one of the world's most
Hello Josh
I'm uploading a new server:
Distributor ID: Ubuntu
Description:Ubuntu 16.04.2 LTS
Release:16.04
Codename: xenial
I will do the test
Best Regards
*Wanderlei Hüttel*
http://www.huttel.com.br
2017-03-16 10:13 GMT-03:00 Josh Fisher :
>
> On
On 3/16/2017 8:18 AM, Wanderlei Huttel wrote:
Hello Erick
You must access with root user.
I've made some tests with Ubuntu 16.04 LTS and MariaDB and have some
problems like yours.
I was only able to access the bconsole after changing the localhost
catalog address setting to 127.0.01.
> Date: Thursday, March 16, 2017 13:04:24 +0100
> From: "Erik P. Olsen"
>
> On 2017-03-16 at 11:10:10 Richard wrote:
>
>> > Date: Thursday, March 16, 2017 08:00:26 +0100
>> > From: "Erik P. Olsen"
>> >
>> > On 2017-03-15 at 21:17:07 Dan Langille wrote:
Hello Erick
You must access with root user.
I've made some tests with Ubuntu 16.04 LTS and MariaDB and have some
problems like yours.
I was only able to access the bconsole after changing the localhost catalog
address setting to 127.0.01.
But I will try another thest with Ubuntu Server 16.04
On 2017-03-16 at 11:10:10 Richard wrote:
> > Date: Thursday, March 16, 2017 08:00:26 +0100
> > From: "Erik P. Olsen"
> >
> > On 2017-03-15 at 21:17:07 Dan Langille wrote:
> >
> >> > On Mar 14, 2017, at 2:42 AM, Erik P. Olsen
> >> > wrote:
> >> >
> >> >
On 2017-03-16 at 11:10:52 Andreas Nastke wrote:
> Erik P. Olsen schrieb:
> > On 2017-03-15 at 21:17:07 Dan Langille wrote:
> >
> >>> On Mar 14, 2017, at 2:42 AM, Erik P. Olsen wrote:
> >>>
> >>> On 2017-03-13 at 22:52:04 Richard wrote:
> >>>
> What you have for
On 2017-03-16 at 20:44:34 Gary R. Schmidt wrote:
> On 16/03/2017 18:00, Erik P. Olsen wrote:
> > On 2017-03-15 at 21:17:07 Dan Langille wrote:
> >
> >>> On Mar 14, 2017, at 2:42 AM, Erik P. Olsen wrote:
> >>>
> >>> On 2017-03-13 at 22:52:04 Richard wrote:
> >>>
> What
> Date: Thursday, March 16, 2017 08:00:26 +0100
> From: "Erik P. Olsen"
>
> On 2017-03-15 at 21:17:07 Dan Langille wrote:
>
>> > On Mar 14, 2017, at 2:42 AM, Erik P. Olsen
>> > wrote:
>> >
>> > On 2017-03-13 at 22:52:04 Richard wrote:
>> >
>> >> What
Erik P. Olsen schrieb:
> On 2017-03-15 at 21:17:07 Dan Langille wrote:
>
>>> On Mar 14, 2017, at 2:42 AM, Erik P. Olsen wrote:
>>>
>>> On 2017-03-13 at 22:52:04 Richard wrote:
>>>
What you have for privileges is what I would expect. My
"grant_mysql_privileges"
On 16/03/2017 18:00, Erik P. Olsen wrote:
> On 2017-03-15 at 21:17:07 Dan Langille wrote:
>
>>> On Mar 14, 2017, at 2:42 AM, Erik P. Olsen wrote:
>>>
>>> On 2017-03-13 at 22:52:04 Richard wrote:
>>>
What you have for privileges is what I would expect. My
On 2017-03-15 at 21:17:07 Dan Langille wrote:
> > On Mar 14, 2017, at 2:42 AM, Erik P. Olsen wrote:
> >
> > On 2017-03-13 at 22:52:04 Richard wrote:
> >
> >> What you have for privileges is what I would expect. My
> >> "grant_mysql_privileges" script has two lines - the
> On Mar 14, 2017, at 2:42 AM, Erik P. Olsen wrote:
>
> On 2017-03-13 at 22:52:04 Richard wrote:
>
>> What you have for privileges is what I would expect. My
>> "grant_mysql_privileges" script has two lines - the first will do the
>> "localhost" setup for the bacula user.
On 2017-03-13 at 22:52:04 Richard wrote:
> What you have for privileges is what I would expect. My
> "grant_mysql_privileges" script has two lines - the first will do the
> "localhost" setup for the bacula user. Assuming that your script is
> lacking that, you might want to add it and try
> Date: Monday, March 13, 2017 23:30:36 +0100
> From: "Erik P. Olsen"
>
> On 2017-03-13 at 16:07:35 Richard wrote:
>
>> > Date: Monday, March 13, 2017 15:34:04 +0100
>> > From: "Erik P. Olsen"
>> >
>> > On 2017-03-13 at 13:38:44 Richard wrote:
>> >
On 2017-03-13 at 16:07:35 Richard wrote:
> Original Message
> > Date: Monday, March 13, 2017 15:34:04 +0100
> > From: "Erik P. Olsen"
> >
> > On 2017-03-13 at 13:38:44 Richard wrote:
> >
> >> > Date: Monday, March 13, 2017 14:07:04 +0100
> >> >
Original Message
> Date: Monday, March 13, 2017 15:34:04 +0100
> From: "Erik P. Olsen"
>
> On 2017-03-13 at 13:38:44 Richard wrote:
>
>> > Date: Monday, March 13, 2017 14:07:04 +0100
>> > From: "Erik P. Olsen"
>> >
>> > On
On 2017-03-13 at 11:46:52 Wanderlei Huttel wrote:
Hello Wanderlei,
[root@Erik-PC bacula]# ./grant_mysql_privileges -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password:
YES)
Error creating privileges.
[root@Erik-PC bacula]#
--
Erik
> Hello
On 2017-03-13 at 13:38:44 Richard wrote:
> > Date: Monday, March 13, 2017 14:07:04 +0100
> > From: "Erik P. Olsen"
> >
> > On 2017-03-13 at 12:40:52 Richard wrote:
> >
>
> ...
>
> >>
> >> If it shows a list of the ~25+ tables (likely ending with
> >> "Version"), then
> Date: Monday, March 13, 2017 14:07:04 +0100
> From: "Erik P. Olsen"
>
> On 2017-03-13 at 12:40:52 Richard wrote:
>
...
>>
>> If it shows a list of the ~25+ tables (likely ending with
>> "Version"), then exit mysql/mariadb and (still as system root) run
>> the
On 2017-03-13 at 12:40:52 Richard wrote:
> > Date: Monday, March 13, 2017 12:26:07 +0100
> > From: "Erik P. Olsen"
> >
> > On 2017-03-13 at 09:15:17 Richard wrote:
> >
> >> > Date: Monday, March 13, 2017 07:40:08 +0100
> >> > From: "Erik P. Olsen"
> >> >
> Date: Monday, March 13, 2017 12:26:07 +0100
> From: "Erik P. Olsen"
>
> On 2017-03-13 at 09:15:17 Richard wrote:
>
>> > Date: Monday, March 13, 2017 07:40:08 +0100
>> > From: "Erik P. Olsen"
>> >
>> > On 2017-03-12 at 18:58:55 Mike Ruskai wrote:
>> >
On 2017-03-13 at 09:15:17 Richard wrote:
> > Date: Monday, March 13, 2017 07:40:08 +0100
> > From: "Erik P. Olsen"
> >
> > On 2017-03-12 at 18:58:55 Mike Ruskai wrote:
> >
> >> On 3/12/2017 10:29, Erik P. Olsen wrote:
> >> >
> >> > [snip]
> >> >
> >> > mysql -u bacula
>
> Date: Monday, March 13, 2017 07:40:08 +0100
> From: "Erik P. Olsen"
>
> On 2017-03-12 at 18:58:55 Mike Ruskai wrote:
>
>> On 3/12/2017 10:29, Erik P. Olsen wrote:
>> >
>> > [snip]
>> >
>> > mysql -u bacula
>> >
>> > was OK.
>> >
>> > show databases;
>> >
>> > gave:
>>
On 2017-03-12 at 23:06:36 Erik P. Olsen wrote:
> On 2017-03-12 at 15:31:35 Sven Hartge wrote:
>
> > On 12.03.2017 14:54, Richard wrote:
> >
> > > Looking back through all the messages in this thread, it appears
> > > that you have two problems. One is that you can't connect to the
> > >
On 2017-03-12 at 18:58:55 Mike Ruskai wrote:
> On 3/12/2017 10:29, Erik P. Olsen wrote:
> >
> > [snip]
> >
> > mysql -u bacula
> >
> > was OK.
> >
> > show databases;
> >
> > gave:
> >
> > ++
> > | Database |
> > ++
> > | information_schema |
> >
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
On 2017-03-12 at 15:31:35 Sven Hartge wrote:
> On 12.03.2017 14:54, Richard wrote:
>
> > Looking back through all the messages in this thread, it appears
> > that you have two problems. One is that you can't connect to the
> > director daemon:
>
> > The other is your db setup/access:
>
>
On 2017-03-12 at 19:43:47 Sven Hartge wrote:
> On 12.03.2017 17:57, Richard wrote:
> > Date: Sunday, March 12, 2017 17:33:40 +0100 From: "Erik P. Olsen"
> >
> >> On 2017-03-12 at 15:31:35 Sven Hartge wrote:
>
> >>> First step should be to fix the database so that the
On 2017-03-12 at 16:57:41 Richard wrote:
> > Date: Sunday, March 12, 2017 17:33:40 +0100
> > From: "Erik P. Olsen"
> > To: Sven Hartge
> >
> > On 2017-03-12 at 15:31:35 Sven Hartge wrote:
> >
> >> First step should be to fix the database so that the
On 12.03.2017 17:57, Richard wrote:
> Date: Sunday, March 12, 2017 17:33:40 +0100 From: "Erik P. Olsen"
>
>> On 2017-03-12 at 15:31:35 Sven Hartge wrote:
>>> First step should be to fix the database so that the director
>>> daemon starts correctly and _then_ see if this
> Date: Sunday, March 12, 2017 17:33:40 +0100
> From: "Erik P. Olsen"
> To: Sven Hartge
>
> On 2017-03-12 at 15:31:35 Sven Hartge wrote:
>
>> First step should be to fix the database so that the director
>> daemon starts correctly and _then_ see if this
On 2017-03-12 at 15:31:35 Sven Hartge wrote:
> First step should be to fix the database so that the director daemon
> starts correctly and _then_ see if this automagically fixes the
> problem with bconsole (I think it will).
Yes. The big thing is how to fix it. I have reinstall mariadb, dropped
On 12.03.2017 14:54, Richard wrote:
> Looking back through all the messages in this thread, it appears that
> you have two problems. One is that you can't connect to the director
> daemon:
> The other is your db setup/access:
Both problems will be related. He cannot connect to the director with
On 2017-03-12 at 13:54:37 Richard wrote:
> What you need to test for bacula is the existence of the db "bacula"
> and (access to the) tables within that.
>
> Start with the command:
>
>mysql -h -u bacula
>
> [if you have changed the defaults in the "Catalog" section of your
>
On 2017-03-12 at 13:54:37 Richard wrote:
> Looking back through all the messages in this thread, it appears that
> you have two problems. One is that you can't connect to the director
> daemon:
>
>bconsole: bsock.c:278-0 Could not connect to server Director
>daemon 192.168.1.36:9101.
> Date: Sunday, March 12, 2017 11:53:57 +0100
> From: "Erik P. Olsen"
> To: Kern Sibbald
>
> Hello Kern,
>
> I've read the manual numerous times and followed the instructions
> again and again.
>
> mysql mysql
>> select * from user;
>
> works OK, so I
Hello Kern,
I've read the manual numerous times and followed the instructions again
and again.
mysql mysql
> select * from user;
works OK, so I assume everything is OK with the database and the access
privileges. There seems nothing I can do other than continue taking
backups from my old
On Sun, Mar 12, 2017 at 9:08 AM, Erik P. Olsen wrote:
> On 2017-03-12 at 07:05:49 Kern Sibbald wrote:
>
> > You probably forgot to run the ./grant_mysql_permissions script.
>
> No, I did not forget because I didn't know and this script is not on my
> system and further more it
Hello Erik,
Here is a section of the manual regarding getting MySQL running:
Installing and
Configuring MySQL - Phase II
At this point, you should have built and installed MySQL, or
Hello Kern,
On 2017-03-12 at 07:05:49 Kern Sibbald wrote:
> You probably forgot to run the ./grant_mysql_permissions script.
No, I did not forget because I didn't know and this script is not on my
system and further more it is not mentioned in the manual.
--
Regards,
Erik P. Olsen, M.Sc. EE
Hello Erik,
You probably forgot to run the ./grant_mysql_permissions script.
Best regards,
Kern
On 03/11/2017 11:28 PM, Heitor Faria wrote:
> Hello, Erik,
>
> "mysql_real_connect done bacula-dir: mysql.c:259-0 db_user=bacula
> db_name=bacula db_password= bacula-dir: mysql.c:269-0 Error 1044
>
Hello, Erik,
"mysql_real_connect done 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".
On 2017-03-12 at 00:38:58 Gary R. Schmidt wrote:
> On 11/03/2017 22:00, Erik P. Olsen wrote:
> [SNIP]
> > Only difference is
> > the IP-address of the director.
>
> Sounds like you have the old address set in some configuration
> file(s) somewhere.
>
> Run the director in the foreground with
On 11/03/2017 22:00, Erik P. Olsen wrote:
[SNIP]
> Only difference is
> the IP-address of the director.
Sounds like you have the old address set in some configuration file(s)
somewhere.
Run the director in the foreground with -d100.
Run the fd in the foreground with -d100.
Run the sd in the
Hello Simone
On 2017-03-06 at 13:59:50 Simone Caronni wrote:
> /usr/share/doc/bacula-common/quickstart_mysql.txt
I followed your recipe but it failed at echo status dir=bacula-dir |
bconsole. Adding -d100 gave:
Connecting to Director 192.168.1.36:9101
bconsole: bsock.c:203-0 Current
On 2017-03-06 at 14:27:18 Richard wrote:
> > Date: Monday, March 06, 2017 13:13:38 +0100
> > From: "Erik P. Olsen"
> >
> > This is my catalogue definition:
> >
> >#
> ># Generic catalog service
> >#
> > Catalog {
> > Name = MyCatalog
> > dbname = "bacula"; dbuser =
Hi Erik,
On Mon, Mar 6, 2017 at 3:21 PM, Erik P. Olsen wrote:
>
> I'll look into all your advice as soon as possible.
actually, if there's anything obvious missing please let me know and I'll
add it. The procedure in the quickstart files is automated on my system for
> Date: Monday, March 06, 2017 13:13:38 +0100
> From: "Erik P. Olsen"
>
> This is my catalogue definition:
>
>#
># Generic catalog service
>#
> Catalog {
> Name = MyCatalog
> dbname = "bacula"; dbuser = "bacula"; dbpassword = ""
> }
>
> I don't think there is any
On 2017-03-06 at 13:59:50 Simone Caronni wrote:
> 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:
>
> $ rpm -qd bacula-common
> /usr/share/doc/bacula-common/README.Redhat
>
On 2017-03-06 at 14:41:57 Josip Deanovic wrote:
> I would use these two steps to check that:
> 1. ldd
>check if you can find something like libmysqlclient in the
>output.
>
> 2. Check if your /usr/lib64/libbaccats.so symlink points to the
>correct library (mysql and not postgres).
On Sunday 2017-03-05 21:10:58 Erik P. Olsen wrote:
> On 2017-03-05 at 20:24:15 Josip Deanovic wrote:
> > When in doubt always try to connect manually using the credentials
> > you plan to use from bacula-dir in order to rule out incorrect
> > database or network setup.
> >
> > For example, from
On Monday 2017-03-06 12:42:13 Erik P. Olsen wrote:
> This was something Kern brought up out of the blue. I need no advice on
> selinux. Read my previous messages about my bacula problems. If you can
> offer advice on these problems I would be more than happy. And contrary
> to what Kern thinks I
Hi Erik,
On Mon, Mar 6, 2017 at 1:26 PM, Gary R. Schmidt
wrote:
> 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
To delimite the problem:
Check MySQL/MariaDB it's running in the host.
ps axu|grep mysql
ps axu|grep mysql
root 12832 0.0 0.0 23068 3456 ?Smar01 0:00 /bin/bash
/usr/bin/mysqld_safe
mysql12967 0.1 0.9 613220 76684 ?Sl mar01 10:49
/usr/sbin/mysqld
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",
On 2017-03-06 at 12:59:11 Francisco Javier Funes Nieto wrote:
Hi Francisco,
This is my catalogue definition:
#
# Generic catalog service
#
Catalog {
Name = MyCatalog
dbname = "bacula"; dbuser = "bacula"; dbpassword = ""
}
I don't think there is any dbpassword. I tried to copy as much as
Hi Erik,
Can you post the Catalog definition in your bacula-dir.conf ?
Or check:
dbname = bacula
dbuser = bacula
dbpassword = the password for user bacula in MySQL server
The error you show above makes me think about the username it's not
configured in your bacula-dir.conf, and Bacula it's
On 2017-03-06 at 11:27:20 Josip Deanovic wrote:
> On Monday 2017-03-06 10:57:03 Erik P. Olsen wrote:
> > On 2017-03-06 at 09:48:40 Kern Sibbald wrote:
> > > Yes, the manual assumes you did a standard rpm or deb install
> > > without Selinux. If you did anything else, either you are on
> > >
On Monday 2017-03-06 10:57:03 Erik P. Olsen wrote:
> On 2017-03-06 at 09:48:40 Kern Sibbald wrote:
> > Yes, the manual assumes you did a standard rpm or deb install without
> > Selinux. If you did anything else, either you are on your own, or you
> > must come back to a standard install.
>
>
>
On 2017-03-06 at 09:48:40 Kern Sibbald wrote:
> Yes, the manual assumes you did a standard rpm or deb install without
> Selinux. If you did anything else, either you are on your own, or you
> must come back to a standard install.
And if I happen to install without selinux what advice do I get
Well, MariaDB is not MySQL -- there are a number of subtile difficulties
I had when I tried it. One of the most common problems if you have two
DBs (typically the case in Postgresql) is that the socket port, which is
used by default, is different from the one that Bacula expect.
Best regards,
Hello Erik,
Yes, the manual assumes you did a standard rpm or deb install without
Selinux. If you did anything else, either you are on your own, or you
must come back to a standard install.
In any case, good luck.
Best regards,
Kern
On 03/05/2017 07:53 PM, Erik P. Olsen wrote:
> Hello Kern,
>
On 2017-03-05 at 21:10:58 Erik P. Olsen wrote:
> On 2017-03-05 at 20:24:15 Josip Deanovic wrote:
>
> > On Sunday 2017-03-05 19:53:26 Erik P. Olsen wrote:
> > > Hello Kern,
> > >
> > > I have main.pdf downloaded and I believe I have followed the
> > > various steps in phase II to the letter. I
On 2017-03-05 at 20:24:15 Josip Deanovic wrote:
> On Sunday 2017-03-05 19:53:26 Erik P. Olsen wrote:
> > Hello Kern,
> >
> > I have main.pdf downloaded and I believe I have followed the various
> > steps in phase II to the letter. I have come to the point where I
> > need some tools to diagnose
On Sunday 2017-03-05 19:53:26 Erik P. Olsen wrote:
> Hello Kern,
>
> I have main.pdf downloaded and I believe I have followed the various
> steps in phase II to the letter. I have come to the point where I need
> some tools to diagnose what is wrong. I am pretty sure that the problem
> is due to
Hello Kern,
I have main.pdf downloaded and I believe I have followed the various
steps in phase II to the letter. I have come to the point where I need
some tools to diagnose what is wrong. I am pretty sure that the problem
is due to some sort of security settings in the mysql database but I
am
On 2017-03-05 at 17:35:10 J. Echter wrote:
> Am 05.03.2017 um 12:06 schrieb Erik P. Olsen:
> > I have retired my old desktop and moved my programmes including
> > bacula to my laptop. Since I have been running bacula successfully
> > for many years I thought it would be piece of cake to install
>
Am 05.03.2017 um 12:06 schrieb Erik P. Olsen:
> I have retired my old desktop and moved my programmes including bacula
> to my laptop. Since I have been running bacula successfully for many
> years I thought it would be piece of cake to install bacula on this
> other box. But it turned out not to
Hello Erik,
It is pretty clear from the output that Bacula is unable to connect to
the MySQL server. I recommend you either download the manual or use the
online html version from bacula.org and go to the chapter on setting up
the MySQL server. This gives you a number of steps to work through
I have retired my old desktop and moved my programmes including bacula
to my laptop. Since I have been running bacula successfully for many
years I thought it would be piece of cake to install bacula on this
other box. But it turned out not to be so.
I am running linux with fedora 25 on both
71 matches
Mail list logo