Re: [Bacula-users] Bacula Director doesn't listen on 9101
2008-10-08 14:05:27
On Wed, Oct 8, 2008 at 1:29 PM, subbustrato <subbustrato AT gmail DOT com>
wrote:
> thank yuo very mouch for your advise,
> this is the outpot of the debug command:
> $ sudo /sbin/bacula-dir -d100 -c /etc/bacula/bacula-dir.conf
> bacula-dir: dird.c:157-0 Debug level = 100
> bacula-dir: bsys.c:566-0 Could not open state file. sfd=-1 size=188:
> ERR=No such
> file or directory
I believe that means your working directory in bacula-dir.conf does not exist.
> bacula-dir: mysql.c:101-0 db_open first time
> bacula-dir: mysql.c:129-0 initdb ref=1 connected=0 db=0
> subbustrato@piccolino:~$ bacula-dir: mysql.c:165-0 mysql_init done
> bacula-dir: mysql.c:186-0 mysql_real_connect done
> bacula-dir: mysql.c:188-0 db_user=bacula db_name=bacula db_password=
> bacula-dir: dird.c:878 Could not open Catalog "MyCatalog",
> database "bacula".
> bacula-dir: dird.c:883 mysql.c:194 Unable to connect to MySQL server.
> Database=bacula User=bacula
> MySQL connect failed either server not running or your
> authorization is incorrect.
Have you setup your mysql database for bacula?
See the docs:
http://www.bacula.org/en/rel-manual/Installing_Configurin_MySQL.html#SECTION005120000000000000000
John
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|