You didn't read the documents I told you earlier, did you?
[root@localhost ~]# cd /usr/share/doc/bacula-common-7.0.4/
[root@localhost bacula-common-7.0.4]# ls -al
total 60
drwxr-xr-x. 2 root root 4096 Jun 19 16:33 .
drwxr-xr-x. 771 root root 36864 Jun 19 16:35 ..
-rw-r--r--. 1 root root 1727 Jun 4 15:37 quickstart_mysql.txt
-rw-r--r--. 1 root root 1787 Jun 4 15:37 quickstart_postgresql.txt
-rw-r--r--. 1 root root 1663 Jun 4 15:37 quickstart_sqlite3.txt
-rw-r--r--. 1 root root 1888 Jun 4 15:37 README.Redhat
On 19 June 2014 16:02, More, Ankush <ankush.m...@capgemini.com> wrote:
> 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:dresche...@gmail.com]
> Sent: Thursday, June 19, 2014 6:55 PM
> To: More, Ankush
> Cc: bacula-users@lists.sourceforge.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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
--
You cannot discover new oceans unless you have the courage to lose sight of
the shore (R. W. Emerson).
http://xkcd.com/229/
http://negativo17.org/
------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users