2010/1/31 Eric Downing <ripe...@gmail.com>
[...]

> Here's how I see the birds eye view of the process:
>
> Install MySQL, confirm operation
> Install bacula (I'm using apt-get)
>
> Install from source - it's not that hard.

> backup originals and modify the -dir -fd -sd for password and localhost
>
> Make life easier and define all passwords the same.

> definitions (change localhost and 127.0.0.1 to my listening interface's IP)
>
> Don't know what this means.

> define a backup type, in my case: a directory located on USB storage
>
> Before you start the backups, try bconsole connection to the iorector, yes,
it has a bconsole.conf file as well that you will have to modify.

> 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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
------------------------------------------------------------------------------
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

Reply via email to