[prev in list] [next in list] [prev in thread] [next in thread]
List: bacula-users
Subject: Re: [Bacula-users] Serious issues, should I start over?
From: Eric Downing <ripeart () gmail ! com>
Date: 2010-01-31 20:22:35
Message-ID: 4B65E68B.2080309 () gmail ! com
[Download RAW message or body]
[Attachment #2 (text/html)]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="sans-serif">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.<br>
<br>
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:<br>
<br>
</font>
<blockquote><font face="sans-serif">Install MySQL, confirm operation</font><br>
<font face="sans-serif">Install bacula (I'm using apt-get)</font><br>
<font face="sans-serif">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)</font><br>
<font face="sans-serif">define a backup type, in my case: a directory
located on USB storage</font><br>
<font face="sans-serif">define a job type</font><br>
<font face="sans-serif">define a job</font><br>
<font face="sans-serif">define a schedule</font><br>
</blockquote>
<font face="sans-serif"><br>
I think thats it?<br>
<br>
Thanks again,<br>
Eric<br>
<br>
<br>
</font><br>
Bruno Friedmann wrote:
<blockquote cite="mid:4B658636.2080901@ioda-net.ch" type="cite">
<pre wrap="">On 01/31/2010 07:20 AM, Eric Downing wrote:
</pre>
<blockquote type="cite">
<pre wrap=""><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small><small>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:
<a class="moz-txt-link-freetext" \
href="https://help.ubuntu.com/community/Bacula">https://help.ubuntu.com/community/Bacula</a>
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</small></small></small></small></small></small></small></small>
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
</small></small></small></small></small></small></small></small></small></small></small>
</pre>
</blockquote>
<pre wrap=""><!---->
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
</pre>
</blockquote>
</body>
</html>
------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic