Re: [Bacula-users] Serious issues, should I start over?
2010-01-31 15:25:38
Thanks for that Bruno. I've wiped and
reinstalled my Ubuntu partition. Luckily I had .tar'ed my clean
install. So I'm back to a clean slate. I'm going to get MySQL up and
running and then attempt another Bacula install.
As before, are there any recommended step-by-steps? I have read the
quickstart guide, and skimmed the rest of the bacula documentation, I
think I'm doing it right, however obviously not! Here's how I see the
birds eye view of the process:
Install MySQL, confirm operation
Install bacula (I'm using apt-get)
backup originals and modify the -dir -fd -sd
for password and localhost definitions (change localhost and 127.0.0.1
to my listening interface's IP)
define a backup type, in my case: a directory
located on USB storage
define a job type
define a job
define a schedule
I think thats it?
Thanks again,
Eric
Bruno Friedmann wrote:
On 01/31/2010 07:20 AM, Eric Downing wrote:
Hi,
New to bacula, semi-new to Linux. So I'm having some serious problems getting
bacula up and running. I have read the Bacula quick start and skimmed the rest,
I'm fairly certain I understand the fundamentals. I followed a guide here:
https://help.ubuntu.com/community/Bacula
The first issue is I cannot connect to the console using bconsole. The error
cited is:
Fatal error: bsock.c:129 Unable to connect to Director daemon on
localhost:9101. ERR=Connection refused
Whilst looking that one up, I was tailing /var/log/bacula/log and noticed:
31-Jan 01:13 bacula-dir JobId 0: Fatal error: Could not open Catalog
"MyCatalog", database "bacula".
31-Jan 01:13 bacula-dir JobId 0: Fatal error: mysql.c:194 Unable to connect
to MySQL server.
Database=bacula User=bacula
MySQL connect failed either server not running or your authorization is
incorrect.
31-Jan 01:13 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf
In MySQL there actually is no bacula database, so I created it and still got the
same error. I also checked that the bacula password for MySQL and the password
defined in /bacula-dir.conf were synced.
Seeing as how these seem to be serious errors, should I wipe and restart? Or do
you think these could be fixable?
Thanks,
Eric
Hi Eric, I've also check the other message in the threads.
Understanding what you are doing is the fundamental about having success.
So yes bacula documentation is huge, but everything is in !
One of the first few points you should check (and this is ubuntu/debian related)
What type of database would you use : sqlite,mysql,postgresql ?
Once you choose : the mysql / postgresql needs to be installed and running.
Next choose the according bacula-dir package as each database is specifically linked to.
so there's one bacula-dir for sqlite, one for mysql one for postgresql, and they can't be mixed.
At your place, I would remove by purge all bacula related package, make my decision and re-start install.
(If it doesn't work out of the box, complain about the packager)
And yes in ubuntu/debian world they tend to understand "network backup service" to localhost. So you have
to change all 127.0.0.1 or localhost in all config files -dir -fd -sd if you want to backup something on your network.
Hope this help you to get a good start
|
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
Re: [Bacula-users] Serious issues, should I start over?, Bruno Friedmann
- Re: [Bacula-users] Serious issues, should I start over?,
Eric Downing <=
- Re: [Bacula-users] Serious issues, should I start over?, mehma sarja
- Re: [Bacula-users] Serious issues, should I start over?, Eric Downing
- Re: [Bacula-users] Serious issues, should I start over?, Eric Downing
- Re: [Bacula-users] Serious issues, should I start over?, Dan Langille
- Re: [Bacula-users] Serious issues, should I start over?, Eric Downing
- Re: [Bacula-users] Serious issues, should I start over?, Dan Langille
Re: [Bacula-users] Serious issues, should I start over?, Phil Stracchino
Re: [Bacula-users] Serious issues, should I start over?, mehma sarja
Re: [Bacula-users] Serious issues, should I start over?, Mike Ruskai
|
|
|