Bacula-users

Re: [Bacula-users] start error for director on debian etch

2008-05-08 03:16:21
Subject: Re: [Bacula-users] start error for director on debian etch
From: Steven Jones <thing AT thing.dyndns DOT org>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 08 May 2008 19:12:12 +1200
Hi,

How can I (re-)set the password(s) for the bacula services?

regards

Steven

Steven Jones wrote:
> Hi,
> 
> I am trying to install Bacula but the director will not start....I have 
> gone into mysql and set the password, but I still have this error....
> 
> Mysql looks setup....
> 
> mysql> show databases;
> +--------------------+
> | Database           |
> +--------------------+
> | information_schema |
> | bacula             |
> | mysql              |
> +--------------------+
> 3 rows in set (0.00 sec)
> 
> 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
> mysql>
> 
> mysql> show tables;
> +------------------+
> | Tables_in_bacula |
> +------------------+
> | BaseFiles        |
> | CDImages         |
> | Client           |
> | Counters         |
> | Device           |
> | File             |
> | FileSet          |
> | Filename         |
> | Job              |
> | JobMedia         |
> | Media            |
> | MediaType        |
> | Path             |
> | Pool             |
> | Status           |
> | Storage          |
> | UnsavedFiles     |
> | Version          |
> +------------------+
> 18 rows in set (0.00 sec)
> 
> I tried (re-)setting the password,
> 
> GRANT ALL PRIVILEGES ON *.* TO 'bacula'@'localhost' IDENTIFIED BY 'xxxxx';
> 
> 
> Any ideas please?
> 
> debian:/etc/bacula# debian:/etc/init.d# ./bacula-director restart
> Restarting Bacula Director: 08-May 18:47 bacula-dir:  Fatal error: Could 
> not open Catalog "MyCatalog", database "bacula".
> -su: debian:/etc/init.d#: No such file or directory
> debian:/etc/bacula# Restarting Bacula Director: 08-May 18:47 bacula-dir: 
>   Fatal error: Could not open Catalog "MyCatalog", database "bacula".
> It is probably not running or your password is incorrect.
> -su: Restarting: command not found
> debian:/etc/bacula# 08-May 18:47 bacula-dir:  Fatal error: mysql.c:164 
> Unable to connect to MySQL server.
> debian:/etc/init.d# cd /etc/bacula
> debian:/etc/bacula# ls -l
> -su: 08-May: command not found
> debian:/etc/bacula# Database=bacula User=bacula
> debian:/etc/bacula# It is probably not running or your password is 
> incorrect.
> total 24
> -su: It: command not found
> debian:/etc/bacula# 08-May 18:47 bacula-dir ERROR TERMINATION
> -su: 08-May: command not found
> -rw-r----- 1 root   root   1016 2008-04-28 18:29 bacula-fd.conf
> debian:/etc/bacula# Please correct configuration file: 
> /etc/bacula/bacula-dir.conf
> 
> regards
> 
> Steven
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users