Re: [Bacula-users] Serious issues, should I start over?

2010-01-31 Thread Jesper Krogh
Eric Downing wrote:
 Ok in my bacula-dir.conf file there was an entry for 'diraddress=127.0.0.1' 
 however   commented that out earlier by myself upon a suggestion I read 
 somewhere. I uncommented it and changed it to the local IP. I restarted 
 bacula-director and tried to bconsole in with the same results.
 
 Additionally, netstat -a|grep 3306 checking for MySQL didn't show, then the 
 same 
 command but used the bacula ports, and no dice. in /etc/services the bacula 
 services are listed. Furthermore ps -Af shows nothing Bacula or MySQL 
 related. I 
 am unfamiliar with MySQL however I have used MSSQL a fair amount in the past 
 (GUI stuff though). My box running Ubuntu is CLI only.
 
 Not sure where to go from here. Thoughts?

MySQL has a similar configuration option in /etc/mysql/my.cnf
(bind-address).. go change that one. You may also have to look into
skip-networking dependent on the version of mysql you use.

Restart mysql afterwards.

-- 
Jesper

--
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


Re: [Bacula-users] Serious issues, should I start over?

2010-01-31 Thread Bruno Friedmann
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


-- 

 Bruno Friedmann
Reply only to list


--
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


Re: [Bacula-users] Serious issues, should I start over?

2010-01-31 Thread Mike Ruskai

On 1/31/2010 1:20 AM, Eric Downing wrote:/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?


In saying you created it, do you mean you just created an empty 
database, or that you ran the database scripts to generate and 
initialize the correct tables?


Bacula comes with scripts to create the database and tables.  Where 
those scripts are depends on how you installed Bacula (i.e. what 
distribution, what package management system, etc.).  Looking in 
/etc/bacula is a good start.  What you're looking for is 
'make_mysql_tables' in particular.  Be sure you grant privileges to a 
user configured in bacula-dir.conf under the Catalog section.


--
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


Re: [Bacula-users] Serious issues, should I start over?

2010-01-31 Thread Eric Downing




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


Re: [Bacula-users] Serious issues, should I start over?

2010-01-31 Thread mehma sarja
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


Re: [Bacula-users] Serious issues, should I start over?

2010-01-31 Thread Eric Downing




OK, I synced all the passwords I could find in
-dir, -fd, -sd, and bconsole. Still experiencing the same issues.

Eric Downing wrote:

  
  Thanks for all your replies. Here's where I
am:
  
I'm able to use bconsole to get the status of the various demons
however what I don't understand is the passwords. I've tried copying
the passwords from bacula-dir.conf into the corresponding bacula-fd and
bacula-sd files however I keep getting the connection refused error
when console tries to connect to the storage and file daemons. What are
these passwords supposed to be and how do they correlate? I feel like
the bacula-dir contains the "master" passwords for the fd and sd - is
that correct? Should I modify the randomly generated passwords in there
and then copy those to their corresponding SD and FD.conf files? Thanks
for any light you can shed on this. I just know this is a simple fix.
  
@bconsole:
  
*status
Status available for:
 1: Director
 2: Storage
 3: Client
 4: All
Select daemon type for status (1-4): 4
tpad-dir Version: 2.4.4 (28 December 2008) i486-pc-linux-gnu debian 5.0
Daemon started 31-Jan-10 20:40, 0 Jobs run since started.
Heap: heap=270,336 smbytes=22,054 max_bytes=22,230 bufs=143
max_bufs=148
  
Scheduled Jobs:
Level Type Pri Scheduled Name
Volume
===
Full Backup 10 01-Feb-10 00:01 ThinkpadFull
*unknown*

  
Running Jobs:
No Jobs running.

No Terminated Jobs.

Connecting to Storage daemon iomega1tb at tpad:9103
  
Failed to connect to Storage daemon iomega1tb.

Connecting to Client tpad-fd at tpad:9102
Failed to connect to Client tpad-fd.

You have messages.
*
31-Jan 20:41 tpad-dir JobId 0: Fatal error: bsock.c:129 Unable to
connect to Storage daemon on tpad:9103. ERR=Connection refused
31-Jan 20:41 tpad-dir JobId 0: Fatal error: bsock.c:129 Unable to
connect to Client: tpad-fd on tpad:9102. ERR=Connection refused
  
  
mehma sarja wrote:
  

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 

Re: [Bacula-users] Serious issues, should I start over?

2010-01-31 Thread Eric Downing




Thanks for all your replies. Here's where I am:

I'm able to use bconsole to get the status of the various demons
however what I don't understand is the passwords. I've tried copying
the passwords from bacula-dir.conf into the corresponding bacula-fd and
bacula-sd files however I keep getting the connection refused error
when console tries to connect to the storage and file daemons. What are
these passwords supposed to be and how do they correlate? I feel like
the bacula-dir contains the "master" passwords for the fd and sd - is
that correct? Should I modify the randomly generated passwords in there
and then copy those to their corresponding SD and FD.conf files? Thanks
for any light you can shed on this. I just know this is a simple fix.

@bconsole:

*status
Status available for:
 1: Director
 2: Storage
 3: Client
 4: All
Select daemon type for status (1-4): 4
tpad-dir Version: 2.4.4 (28 December 2008) i486-pc-linux-gnu debian 5.0
Daemon started 31-Jan-10 20:40, 0 Jobs run since started.
Heap: heap=270,336 smbytes=22,054 max_bytes=22,230 bufs=143
max_bufs=148

Scheduled Jobs:
Level Type Pri Scheduled Name
Volume
===
Full Backup 10 01-Feb-10 00:01 ThinkpadFull
*unknown*


Running Jobs:
No Jobs running.

No Terminated Jobs.

Connecting to Storage daemon iomega1tb at tpad:9103

Failed to connect to Storage daemon iomega1tb.

Connecting to Client tpad-fd at tpad:9102
Failed to connect to Client tpad-fd.

You have messages.
*
31-Jan 20:41 tpad-dir JobId 0: Fatal error: bsock.c:129 Unable to
connect to Storage daemon on tpad:9103. ERR=Connection refused
31-Jan 20:41 tpad-dir JobId 0: Fatal error: bsock.c:129 Unable to
connect to Client: tpad-fd on tpad:9102. ERR=Connection refused


mehma sarja wrote:

  
  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 

Re: [Bacula-users] Serious issues, should I start over?

2010-01-31 Thread Dan Langille
Eric Downing wrote:
 OK, I synced all the passwords I could find in -dir, -fd, -sd, and 
 bconsole. Still experiencing the same issues.

I think you should start a brand new thread for each email (e.g. hit 
Compose instead of reply).

Did you restart all those services?

--
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


Re: [Bacula-users] Serious issues, should I start over?

2010-01-31 Thread Eric Downing




Yes, I did restart the services, however I was
unable to use the traditional method.

/etc/init.d/bacula-sd restart
/etc/init.d/bacula-fd restart

both produced file not found and 'service bacula-sd restart' produced
the same results.

I eventually power cycled the machine. Came back to the same results in
bconsole.

I can however restart bacula-director with no problems.





Dan Langille wrote:
Eric
Downing wrote:
  
  OK, I synced all the passwords I could find
in -dir, -fd, -sd, and bconsole. Still experiencing the same issues.

  
  
I think you should start a brand new thread for each email (e.g. hit
Compose instead of reply).
  
  
Did you restart all those services?
  




--
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


Re: [Bacula-users] Serious issues, should I start over?

2010-01-31 Thread Phil Stracchino
On 01/31/10 20:46, Eric Downing wrote:
 Thanks for all your replies. Here's where I am:
 
 I'm able to use bconsole to get the status of the various demons however
 what I don't understand is the passwords. I've tried copying the
 passwords from bacula-dir.conf into the corresponding bacula-fd and
 bacula-sd files however I keep getting the connection refused error when
 console tries to connect to the storage and file daemons. What are these
 passwords supposed to be and how do they correlate? I feel like the
 bacula-dir contains the master passwords for the fd and sd - is that
 correct? Should I modify the randomly generated passwords in there and
 then copy those to their corresponding SD and FD.conf files? Thanks for
 any light you can shed on this. I just know this is a simple fix.

The passwords don't have to be randomly generated, and don't have to
look like hashes (that's just what's easiest to randomly generate).  You
could change them all to Fred and it would work.  The only requirement
is that the SD password be the same wherever it is used, and so on.  So
when you're setting up a bacula-fd.conf on client wazoo and putting in
that Foobar-dir is allowed to connect to it using password Indigo, then
the bacula-dir.conf on foobar needs to say that the Director's name is
Foobar-dir, and the Client record for wazoo needs to say that the
password to be used with that Client is Indigo.

Does that make sense?

And, I was serious - to start with, just to remove all possible password
issues from contention until you get it sorted out, you should consider
literally changing ALL the passwords to (for example) Fred for testing
purposes.  (Or password, or your favorite ten digits from pi, or ...
whatever.)  You can reset them later, one set at a time, and if
resetting them to individual unique passwords breaks something, you'll
know you misunderstood what the sets are that have to match, and can
re-examine that.

-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

--
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


Re: [Bacula-users] Serious issues, should I start over?

2010-01-31 Thread Dan Langille
Eric Downing wrote:
 Yes, I did restart the services, however I was unable to use the 
 traditional method.
 
 /etc/init.d/bacula-sd restart
 /etc/init.d/bacula-fd restart
 
 both  produced file not found and 'service bacula-sd restart' produced 
 the same results.
 
 I eventually power cycled the machine. Came back to the same results in 
 bconsole.
 
 I can however restart bacula-director with no problems.

Please start a new thread, posting complete details of that problem. 
Sounds like you have things you need to sort out first.  Please use a 
descriptive subject so it attracts the appropriate people with that 
particular knowledge.


--
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


Re: [Bacula-users] Serious issues, should I start over?

2010-01-31 Thread mehma sarja
From all that is passing or trespassing through this thread, a passing
thought comes to me:

I don't think you are changing the right conf files - or you may have
multiple executables and they are not looking at where the conf files are.
The hint that the hunch is based on is the restart does not restart all
services.

So, here is a quick way of finding out which file your fd executable is
pointing to - look at(edit) the bacula-ctl-fd file. The top few lines of
mine looks like:
===
BACFDBIN=/usr/local/sbin
BACFDCFG=/usr/local/etc
PIDDIR=/var/run
SUBSYSDIR=/var/db/bacula/working
FD_PORT=9102
===
So, the bacula-fd executable should be in /usr/local/sbin. The
bacula-fd.conf should be in /usr/local/etc and so on. BTW, You can take the
same fd executable, the same fd ctl and fd conf and copy them on any
client(same OS) and fiddle with the ctl and conf files and have it run.

Mehma
--
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


Re: [Bacula-users] Serious issues, should I start over?

2010-01-30 Thread Eric Downing




OK, giving up. I think I've muddied things up
too much so I'm going to restore from a clean backup.

Are there any good step by steps out there? I imagine the ones I'm
using aren't working. I'm looking to first backup the local box (to a
USB drive) then make the leap to backing up my various boxes around the
house here. OS is Ubuntu 9.04 (Deb5)

Thanks!
Eric





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
  
  
  
  
  
  




--
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


Re: [Bacula-users] Serious issues, should I start over?

2010-01-30 Thread Jesper Krogh
Eric Downing wrote:
 OK, giving up. I think I've muddied things up too much so I'm going to 
 restore 
 from a clean backup.
 
 Are there any good step by steps out there? I imagine the ones I'm using 
 aren't 
 working. I'm looking to first backup the local box (to a USB drive) then make 
 the leap to backing up my various boxes around the house here. OS is Ubuntu 
 9.04 
 (Deb5)

Ok. .. 29 minutes.. that was not much responsetime you gave the list
there.. even on a sunday morning.

It looks like you have either:
* A firewall blocking of you installation
* Not configured mysql/bacula to listen to other than 127.0.0.1

Go doublecheck both things and you'll get forward.

-- 
jesper

--
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


Re: [Bacula-users] Serious issues, should I start over?

2010-01-30 Thread Eric Downing




Oh no I wasn't implying that the list is slow!
As a matter of fact I joined the list and watched the issues and
responses for about a week before deciding on bacula as my solution.
The list here is great!

I do not have a firewall, and I'll try checking the configs as you
suggested. =)

Thank you,
Eric

Jesper Krogh wrote:

  Eric Downing wrote:
  
  
OK, giving up. I think I've muddied things up too much so I'm going to restore 
from a clean backup.

Are there any good step by steps out there? I imagine the ones I'm using aren't 
working. I'm looking to first backup the local box (to a USB drive) then make 
the leap to backing up my various boxes around the house here. OS is Ubuntu 9.04 
(Deb5)

  
  
Ok. .. 29 minutes.. that was not much responsetime you gave the list
there.. even on a sunday morning.

It looks like you have either:
* A firewall blocking of you installation
* Not configured mysql/bacula to listen to other than 127.0.0.1

Go doublecheck both things and you'll get forward.

  




--
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


Re: [Bacula-users] Serious issues, should I start over?

2010-01-30 Thread Eric Downing




Ok in my bacula-dir.conf file there was an
entry for 'diraddress=127.0.0.1' however  commented that out earlier
by myself upon a suggestion I read somewhere. I uncommented it and
changed it to the local IP. I restarted bacula-director and tried to
bconsole in with the same results.

Additionally, netstat -a|grep 3306 checking for MySQL didn't show, then
the same command but used the bacula ports, and no dice. in
/etc/services the bacula services are listed. Furthermore ps -Af shows
nothing Bacula or MySQL related. I am unfamiliar with MySQL however I
have used MSSQL a fair amount in the past (GUI stuff though). My box
running Ubuntu is CLI only.

Not sure where to go from here. Thoughts?

Thanks,
Eric


Eric Downing wrote:

  
  
  Oh no I wasn't implying that the list is
slow!
As a matter of fact I joined the list and watched the issues and
responses for about a week before deciding on bacula as my solution.
The list here is great!
  
I do not have a firewall, and I'll try checking the configs as you
suggested. =)
  
Thank you,
Eric
  
Jesper Krogh wrote:
  
Eric Downing wrote:
  

  OK, giving up. I think I've muddied things up too much so I'm going to restore 
from a clean backup.

Are there any good step by steps out there? I imagine the ones I'm using aren't 
working. I'm looking to first backup the local box (to a USB drive) then make 
the leap to backing up my various boxes around the house here. OS is Ubuntu 9.04 
(Deb5)



Ok. .. 29 minutes.. that was not much responsetime you gave the list
there.. even on a sunday morning.

It looks like you have either:
* A firewall blocking of you installation
* Not configured mysql/bacula to listen to other than 127.0.0.1

Go doublecheck both things and you'll get forward.

  
  




--
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