I have installed the correct rpm and have mysql DB in place and still it looks for postgresql.
Arunav. -----Original Message----- From: John Drescher [mailto:dresche...@gmail.com] Sent: Wednesday, January 12, 2011 12:00 PM To: Arunav Mandal Cc: j...@internetx.de; a...@mssl.ucl.ac.uk; bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Bacula configration for FC LTO-5 tape drive On Wed, Jan 12, 2011 at 4:59 AM, Arunav Mandal <di...@hotmail.com> wrote: > Hi, > > I have installed your rpm's but the director won't start as it is looking > for postgresql even if I am using mysql as bacula DB. > > [r...@new bacula]# bacula-dir: postgresql.c:220-0 pg_real_connect done > bacula-dir: postgresql.c:222-0 db_user=bacula db_name=bacula db_password= > bacula-dir: dird.c:950 Could not open Catalog "bacula-catalog", database > "bacula". > bacula-dir: dird.c:955 postgresql.c:227 Unable to connect to PostgreSQL > server. Database=bacula User=bacula > Possible causes: SQL server not running; password incorrect; max_connections > exceeded. > 12-Jan 11:55 bacula-dir ERROR TERMINATION > Please correct configuration file: /etc/bacula/bacula-dir.conf > > Catalog { > Name = bacula-catalog > dbname = bacula; dbuser = "bacula"; dbpassword = "" > } > > Is there any configuration I should change so it uses Mysql? > rpms are Postgresql, sqlite or mysql only. You need to pick the correct one. Also you may need to run the database creation scripts. John ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users