Bacula-users

Re: [Bacula-users] bacula-dir dead but subsys locked

2014-06-19 10:08:12
Subject: Re: [Bacula-users] bacula-dir dead but subsys locked
From: "More, Ankush" <ankush.more AT capgemini DOT com>
To: John Drescher <drescherjm AT gmail DOT com>
Date: Thu, 19 Jun 2014 14:02:33 +0000
Hi John,

I want to use MySql database with bacula.
It look like bacula-dir is looking for Postgresql. 
How do I change to look for MySql.

[root@bacula7 bacula]# bacula-dir -c /etc/bacula/bacula-dir.conf 
-d100bacula-dir: postgresql.c:229-0 pg_real_connect done
bacula-dir: postgresql.c:231-0 db_user=bacula db_name=bacula db_password=bacula
bacula-dir: dird.c:972-0 Could not open Catalog "MyCatalog", database "bacula".
bacula-dir: dird.c:977-0 postgresql.c:236 Unable to connect to PostgreSQL 
server. Database=bacula User=bacula
Possible causes: SQL server not running; password incorrect; max_connections 
exceeded.
19-Jun 09:39 bacula-dir ERROR TERMINATION

Thank you,
_______________________________________________________________________
Ankush More


-----Original Message-----
From: John Drescher [mailto:drescherjm AT gmail DOT com] 
Sent: Thursday, June 19, 2014 6:55 PM
To: More, Ankush
Cc: bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] bacula-dir dead but subsys locked

> I have installed Bacula-7.0.4 on CentOS 6.5 with RPM successfully.
> Bacula-dir,sd,fd start successfully, but when I try access bconsole.
> Bacula-dir daemon show " bacula-dir dead but subsys locked"
>
> Below is daemon staus:
> root@bacula7 bacula]# service bacula-dir start
> Starting bacula-dir:                                       [  OK  ]
>
> [root@bacula7 bacula]# service bacula-dir status bacula-dir (pid 1831) 
> is running...
>
> # bconsole
> Connecting to Director 206.245.49.66:9101
>
> [root@bacula7 bacula]# service bacula-dir status bacula-dir dead but 
> subsys locked
>
> Thank you,
> Ankush

I would run bacula-dir directly with increased verbosity of debug messages and 
see what you get. Something like:

bacula-dir -c /etc/bacula/bacula-dir.conf -d100

John
This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient, you are not authorized 
to read, print, retain, copy, disseminate, distribute, or use this message or 
any part thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users