From: John D. <dre...@gm...> - 2008-01-24 21:27:51
|
On Jan 24, 2008 4:23 PM, Dan Langille <da...@la...> wrote: > Reynier Perez Mira wrote: > > The date changes from 22/01 to 24/o1 (today) but when I start the daemon the same error come up. See the error below > > > > # /etc/init.d/bacula-director start > > Starting Bacula Director: 24-ene 16:25 bacula-dir: Fatal error: Could not open Catalog "MyCatalog", database "bacula". > > 24-ene 16:25 bacula-dir: Fatal error: mysql.c:188 Unable to connect to MySQL server. > > Database=bacula User=bacula > > It is probably not running or your password is incorrect. > > 24-ene 16:25 bacula-dir ERROR TERMINATION > > Please correct configuration file: /etc/bacula/bacula-dir.conf > > failed. > > Have you corrected the above file? Are you reading the Bacula > documentation on how to setup Bacula? > > In short, make sure the supplied configuration items match the database > name and password. Verify it by trying to connect to the database from > the command line. The online documentation is pretty good at showing > you what to do step by step: > He originally had bacula configured to use mysql and now he wants to use postgresql and he compiled bacula-dir with the option for postgres but it still is asking for mysql. I believe the reason is he the compile from source is putting bacula in a different folder than the previous install and that one is still being used. John |