-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dan Langille wrote:
> John Drescher wrote:
>> On Jan 24, 2008 4:23 PM, Dan Langille <[EMAIL PROTECTED]> 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.
>
> I think someone else mentioned: this is a good case study for why
> packages / ports should be used.
>
> Sorry that's not much help in the current situation.
He tried that and could not figure out how to get things going once the
package was installed.
To be fair here, it is not always obvious. If you are not using
something like Debian that has a configure step that will pop up and ask
you questions, once you install, it is not clear what to do next. This
is especially true if the installation of the package does not build the
database. One expects to have to work with config files when first
installing a package, but the database creation script is often in a
non-obvious place and, I believe, has the password hard-coded in the
script.
Does RedHat provide for a way to query the user to setup the database?
- --
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II
|$&| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHmQWYmb+gadEcsb4RAt9lAKCvRxS5REIjf87Ap1XHKzdvLCK++QCgr+hm
y5avXrP3OkpRLqa8SyfDB2U=
=ZSKq
-----END PGP SIGNATURE-----
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users