Bacula-users

[Bacula-users] What no connection to the server?

2009-07-01 03:03:49
Subject: [Bacula-users] What no connection to the server?
From: ginzzer <ginzzer AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 01 Jul 2009 01:53:59 -0500
I have installed the latest verion of bacula. I install everything
including mysql as mentioned in the document. For the first time when I
start to test all conf, I got something like

( I first run  /etc/init.d/mysqld start )

bacula-dir -t -c bacula-dir.conf 
 Fatal error: Could not open Catalog "MyCatalog", database "bacula". 
 Fatal error: mysql.c:188 Unable to connect to MySQL server. 

so I stop mysqld and then run startmysql which is included in the bacula,
and everything seems fine.

I wonder how to add this to the system such that it runs automatically
everytime I reboot the system?

And after the mysql is started, I check all conf files according to the
document, they are all right! When I start the bacula by running, it
shows

Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon

however, when I run bconsole, failure happen

Connecting to Director localhost:9101
01-Jul 01:52 bconsole JobId 0: Fatal error: bsock.c:135

What's going on? I have the firewall turned off so I don't think using
9101 is a problem, right? But I try telnet 127.0.0.1 9101, it report:
unable to connect remote host ...

What's goning on? How to fix it?

Thanks.



------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users