On Sat, Feb 11, 2012 at 06:56:54PM -0800, p50...@150ml.com wrote:
>       bacula-dir -d -v -t -c bacula-dir.conf
>       bacula-dir: dird.c:954 Could not open Catalog "MyCatalog",
>       database "bacula".
>       bacula-dir: dird.c:959 mysql.c:203 Unable to connect to MySQL
>       server.
>       Database=bacula User=bacula
>       MySQL connect failed either server not running or your
>       authorization is incorrect.
>       11-Feb 18:39 bacula-dir ERROR TERMINATION
>       Please correct configuration file: bacula-dir.conf

Perhaps there are different assumtions on where your mysql.sock resides?
It doesn't exactly claim 'Permission denied', 'Authorization failed' or
similar, it might as well be unable to access the socket due to
permissions or location.
You could try and connect via tcp/ip to verify, just add the
DB Address = "localhost";
statement to your catalog definition.

Catalog {
  Name = MyCatalog
  dbname = "bacula"; dbuser = "bacula"; DB Address = "localhost"; dbpassword = 
"DBPass"
}

Regards,
        Adrian
-- 
LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax:  +49 (7 11) 78 28 50 91
Mail: li...@lihas.de - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to