Re: [Bacula-users] Negative test of bacula-dir. (Solved)

2006-03-03 Thread Erik P. Olsen
Baptiste Malguy wrote: Erik P. Olsen a écrit : Maybe mysql is listening to another socket? OK, found the socket. Mysql is apparently listening to /var/lib/mysql/mysql.sock and bacula tries to open /tmp/mysql.sock. Ok so, if you didn't already fixed this, take a look at /etc/my.cnf or /e

Re: [Bacula-users] Negative test of bacula-dir.

2006-03-03 Thread Baptiste Malguy
Erik P. Olsen a écrit : > Erik P. Olsen wrote: > >>> >>> Something else: If bacula is not running as root, does it have >>> enough permissions to access the unix socket (like /tmp/mysql.sock) >>> it needs for communicating with mysql? >> >> >> >> Maybe mysql is listening to another socket? >> >

Re: [Bacula-users] Negative test of bacula-dir.

2006-03-03 Thread Erik P. Olsen
Erik P. Olsen wrote: Something else: If bacula is not running as root, does it have enough permissions to access the unix socket (like /tmp/mysql.sock) it needs for communicating with mysql? Maybe mysql is listening to another socket? OK, found the socket. Mysql is apparently listening

Re: [Bacula-users] Negative test of bacula-dir.

2006-03-03 Thread Erik P. Olsen
Sebastian Stark wrote: Am 03.03.2006 um 01:00 schrieb Erik P. Olsen: Sebastian Stark wrote: On 01.03.2006, at 11:09, Erik P. Olsen wrote: What happens when you enter 'use bacula'? mysql> use bacula; Reading table information for completion of table and column names You can turn off this

Re: [Bacula-users] Negative test of bacula-dir.

2006-03-03 Thread Sebastian Stark
Am 03.03.2006 um 01:00 schrieb Erik P. Olsen: Sebastian Stark wrote: On 01.03.2006, at 11:09, Erik P. Olsen wrote: What happens when you enter 'use bacula'? mysql> use bacula; Reading table information for completion of table and column names You can turn off this feature to get a quicker s

Re: [Bacula-users] Negative test of bacula-dir.

2006-03-02 Thread Erik P. Olsen
Sebastian Stark wrote: On 01.03.2006, at 11:09, Erik P. Olsen wrote: What happens when you enter 'use bacula'? mysql> use bacula; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed Apparently I

Re: [Bacula-users] Negative test of bacula-dir.

2006-03-01 Thread Sebastian Stark
On 01.03.2006, at 11:09, Erik P. Olsen wrote: What happens when you enter 'use bacula'? mysql> use bacula; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed Apparently I can open and use bacula data

Re: [Bacula-users] Negative test of bacula-dir.

2006-03-01 Thread Erik P. Olsen
Erik P. Olsen wrote: Arno Lehmann wrote: Hello, On 2/26/2006 8:30 PM, Erik P. Olsen wrote: Dan Langille wrote: ... [EMAIL PROTECTED] conf]# ../bin/bacula-dir -d 99 -t -c bacula-dir.conf bacula-dir: dird.c:128 Debug level = 99 bacula-dir: mysql.c:142 mysql_init done bacula-dir: mysql.c:1

Re: [Bacula-users] Negative test of bacula-dir.

2006-02-26 Thread Erik P. Olsen
Arno Lehmann wrote: Hello, On 2/26/2006 8:30 PM, Erik P. Olsen wrote: Dan Langille wrote: ... [EMAIL PROTECTED] conf]# ../bin/bacula-dir -d 99 -t -c bacula-dir.conf bacula-dir: dird.c:128 Debug level = 99 bacula-dir: mysql.c:142 mysql_init done bacula-dir: mysql.c:162 mysql_real_connect do

Re: [Bacula-users] Negative test of bacula-dir.

2006-02-26 Thread Arno Lehmann
Hello, On 2/26/2006 8:30 PM, Erik P. Olsen wrote: Dan Langille wrote: ... [EMAIL PROTECTED] conf]# ../bin/bacula-dir -d 99 -t -c bacula-dir.conf bacula-dir: dird.c:128 Debug level = 99 bacula-dir: mysql.c:142 mysql_init done bacula-dir: mysql.c:162 mysql_real_connect done bacula-dir: mysql.c:1

Re: [Bacula-users] Negative test of bacula-dir.

2006-02-26 Thread Erik P. Olsen
Dan Langille wrote: On 26 Feb 2006 at 16:17, Erik P. Olsen wrote: I have come to the point where I've started testing the configuration files. However, the first test fails: [EMAIL PROTECTED] conf]# ../bin/bacula-dir -t -c bacula-dir.conf 26-Feb 15:57 bacula-dir: Fatal error: Could not open

[Bacula-users] Negative test of bacula-dir.

2006-02-26 Thread Erik P. Olsen
I have come to the point where I've started testing the configuration files. However, the first test fails: [EMAIL PROTECTED] conf]# ../bin/bacula-dir -t -c bacula-dir.conf 26-Feb 15:57 bacula-dir: Fatal error: Could not open database "bacula". 26-Feb 15:57 bacula-dir: Fatal error: mysql.c:170

Re: [Bacula-users] Negative test of bacula-dir.

2006-02-26 Thread Dan Langille
On 26 Feb 2006 at 16:17, Erik P. Olsen wrote: > I have come to the point where I've started testing the configuration > files. However, the first test fails: > > [EMAIL PROTECTED] conf]# ../bin/bacula-dir -t -c bacula-dir.conf > 26-Feb 15:57 bacula-dir: Fatal error: Could not open database "bac