SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
check_bacula clarifications!
Author Message
Post check_bacula clarifications! 
I got bacula-2.0.3 and configured and installed
check_bacula. Now I am getting this error - BACULA
CRITICAL - Cannot authenticate to FileDaemon: 1999
Authorization failed. I am not using a md5-hash in my
configuration. I convert my password to a md5-hash,
but it does not work. What am I doing wrong?

TIA,

ZK

____________________________________________________________________________________
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL

Post check_bacula clarifications! 
On 8 Mar 2007 at 8:03, Zakai Kinan wrote:

I got bacula-2.0.3 and configured and installed check_bacula. Now I am
getting this error - BACULA CRITICAL - Cannot authenticate to
FileDaemon: 1999 Authorization failed. I am not using a md5-hash in my
configuration. I convert my password to a md5-hash, but it does not
work. What am I doing wrong?

Your passwords do not match.

You need this entry in bacula-dir.conf:

Client {
Name = undef-fd
Address = undef.example.org
Catalog = MyCatalog
Password = "PasswordForUndef"
}

to match this entry in bacula-fd.conf:

Director {
Name = bacula-dir
Password = "PasswordForUndef"
}

Where bacula-dir appears at the top of your bacula-dir.conf file,
like this:

Director { # define myself
Name = bacula-dir

Does that help?

Don't worry about MD5-hash, but you can do that if you wish.

--
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php
PGCon - The PostgreSQL Conference - http://www.pgcon.org/

Post check_bacula clarifications! 
It is still not working and I am getting the same
error. Any more ideas?

TIA,

ZK

--- Dan Langille <dan < at > la...> wrote:

On 8 Mar 2007 at 8:03, Zakai Kinan wrote:

I got bacula-2.0.3 and configured and installed
check_bacula. Now I am
getting this error - BACULA CRITICAL - Cannot
authenticate to
FileDaemon: 1999 Authorization failed. I am not
using a md5-hash in my
configuration. I convert my password to a
md5-hash, but it does not
work. What am I doing wrong?

Your passwords do not match.

You need this entry in bacula-dir.conf:

Client {
Name = undef-fd
Address = undef.example.org
Catalog = MyCatalog
Password = "PasswordForUndef"
}

to match this entry in bacula-fd.conf:


Director {
Name = bacula-dir
Password = "PasswordForUndef"
}

Where bacula-dir appears at the top of your
bacula-dir.conf file,
like this:

Director { # define
myself
Name = bacula-dir

Does that help?

Don't worry about MD5-hash, but you can do that if
you wish.


--
Dan Langille : Software Developer looking for work
my resume:
http://www.freebsddiary.org/dan_langille.php
PGCon - The PostgreSQL Conference -
http://www.pgcon.org/




____________________________________________________________________________________
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/

Post check_bacula clarifications! 
On 9 Mar 2007 at 8:38, Zakai Kinan wrote:

--- Dan Langille <dan < at > la...> wrote:

On 8 Mar 2007 at 8:03, Zakai Kinan wrote:

I got bacula-2.0.3 and configured and installed
check_bacula. Now I am
getting this error - BACULA CRITICAL - Cannot
authenticate to
FileDaemon: 1999 Authorization failed. I am not
using a md5-hash in my
configuration. I convert my password to a
md5-hash, but it does not
work. What am I doing wrong?

Your passwords do not match.

You need this entry in bacula-dir.conf:

Client {
Name = undef-fd
Address = undef.example.org
Catalog = MyCatalog
Password = "PasswordForUndef"
}

to match this entry in bacula-fd.conf:


Director {
Name = bacula-dir
Password = "PasswordForUndef"
}

Where bacula-dir appears at the top of your
bacula-dir.conf file,
like this:

Director { # define
myself
Name = bacula-dir

Does that help?

Don't worry about MD5-hash, but you can do that if
you wish.

It is still not working and I am getting the same
error. Any more ideas?

Then the name/password combination is still not correct.

Oh, and remember to restart FD after changing bacula-fd.conf, and
bacula-dir after changing bacula-dir.conf.

I suggest using a simple password, such as 'my-password' and trying
again.

If you make no progress after that, then post bacula-dir.conf and
bacula-fd.conf, remembering that you are showing us your passwords.

--
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php
PGCon - The PostgreSQL Conference - http://www.pgcon.org/

Post check_bacula clarifications! 
I am posting the relevant portions of each file:

Dir.conf:

Director { # define myself
Name = backup-dir
Description = Central Backup Server
DIRport = 9101 # where we listen for
UA connections
QueryFile = "/etc/bacula/query.sql"
WorkingDirectory = "/var/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 5
Password = "yes_naya" # not real
Messages = Daemon
}

Client {
Name = backup-fd
Address = x.x.x.x
FDPort = 9102
Catalog = MyCatalog
Password = "yes_naya" # password for
FileDaemon
File Retention = 30 days # 30 days
Job Retention = 30 days # six months
Maximum Concurrent Jobs = 5
AutoPrune = yes # Prune expired
Jobs/Files
}

FD.conf:

#
# List Directors who are permitted to contact this
File daemon
#
Director {
Name = backup-dir
Password = "yes_naya"
}

#
# Restricted Director, used by tray-monitor to get the
# status of the file daemon
#
Director {
Name = backup-mon
Password = "yes_naya"
Monitor = yes
}

#
# "Global" File daemon configuration specifications
#
FileDaemon { # this is me
Name = backup-fd
FDport = 9102 # where we listen for
the director
WorkingDirectory = /var/bacula
Pid Directory = /var/run/bacula
Maximum Concurrent Jobs = 20
}

Thanks,

ZK

--- Dan Langille <dan < at > la...> wrote:

On 9 Mar 2007 at 8:38, Zakai Kinan wrote:

--- Dan Langille <dan < at > la...> wrote:

On 8 Mar 2007 at 8:03, Zakai Kinan wrote:

I got bacula-2.0.3 and configured and
installed
check_bacula. Now I am
getting this error - BACULA CRITICAL - Cannot
authenticate to
FileDaemon: 1999 Authorization failed. I am
not
using a md5-hash in my
configuration. I convert my password to a
md5-hash, but it does not
work. What am I doing wrong?

Your passwords do not match.

You need this entry in bacula-dir.conf:

Client {
Name = undef-fd
Address = undef.example.org
Catalog = MyCatalog
Password = "PasswordForUndef"
}

to match this entry in bacula-fd.conf:


Director {
Name = bacula-dir
Password = "PasswordForUndef"
}

Where bacula-dir appears at the top of your
bacula-dir.conf file,
like this:

Director { # define
myself
Name = bacula-dir

Does that help?

Don't worry about MD5-hash, but you can do that
if
you wish.

It is still not working and I am getting the same
error. Any more ideas?

Then the name/password combination is still not
correct.

Oh, and remember to restart FD after changing
bacula-fd.conf, and
bacula-dir after changing bacula-dir.conf.

I suggest using a simple password, such as
'my-password' and trying
again.

If you make no progress after that, then post
bacula-dir.conf and
bacula-fd.conf, remembering that you are showing us
your passwords.

--
Dan Langille : Software Developer looking for work
my resume:
http://www.freebsddiary.org/dan_langille.php
PGCon - The PostgreSQL Conference -
http://www.pgcon.org/




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get
the chance to share your
opinions on IT & business topics through brief
surveys-and earn cash

http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users < at > li...

https://lists.sourceforge.net/lists/listinfo/bacula-users

____________________________________________________________________________________
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/

Post check_bacula clarifications! 
Zakai Kinan wrote:
I am posting the relevant portions of each file:
FD.conf:

#
# List Directors who are permitted to contact this
File daemon
#
Director {
Name = backup-dir
Password = "yes_naya"
}

#
# Restricted Director, used by tray-monitor to get the
# status of the file daemon
#
Director {
Name = backup-mon
Password = "yes_naya"
Monitor = yes
}

#
# "Global" File daemon configuration specifications
#
FileDaemon { # this is me
Name = backup-fd
FDport = 9102 # where we listen for
the director
WorkingDirectory = /var/bacula
Pid Directory = /var/run/bacula
Maximum Concurrent Jobs = 20
}


Thanks,


If you are getting the error from check_bacula then you need to make
sure the password from the check_bacula invocation matches the password
in the fd.

As I understand your question, you would use the following (all on one
line),

./check_bacula -H <your FD host or IP goes here> -D fd -P 9102 -M
backup-mon -K 'yes_naya'

This is what is working for me. Try running './check_bacula -?' from the
command line to see the switches and their uses.

DAve


ZK

--- Dan Langille <dan < at > la...> wrote:

On 9 Mar 2007 at 8:38, Zakai Kinan wrote:

--- Dan Langille <dan < at > la...> wrote:

On 8 Mar 2007 at 8:03, Zakai Kinan wrote:

I got bacula-2.0.3 and configured and
installed
check_bacula. Now I am
getting this error - BACULA CRITICAL - Cannot
authenticate to
FileDaemon: 1999 Authorization failed. I am
not
using a md5-hash in my
configuration. I convert my password to a
md5-hash, but it does not
work. What am I doing wrong?
Your passwords do not match.

You need this entry in bacula-dir.conf:

Client {
Name = undef-fd
Address = undef.example.org
Catalog = MyCatalog
Password = "PasswordForUndef"
}

to match this entry in bacula-fd.conf:


Director {
Name = bacula-dir
Password = "PasswordForUndef"
}

Where bacula-dir appears at the top of your
bacula-dir.conf file,
like this:

Director { # define
myself
Name = bacula-dir

Does that help?

Don't worry about MD5-hash, but you can do that
if
you wish.
It is still not working and I am getting the same
error. Any more ideas?
Then the name/password combination is still not
correct.

Oh, and remember to restart FD after changing
bacula-fd.conf, and
bacula-dir after changing bacula-dir.conf.

I suggest using a simple password, such as
'my-password' and trying
again.

If you make no progress after that, then post
bacula-dir.conf and
bacula-fd.conf, remembering that you are showing us
your passwords.

--
Dan Langille : Software Developer looking for work

--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.

Post check_bacula clarifications! 
I did not realize that I had to put all command
options except for set debug level. It does work.

Thanks,

ZK

--- DAve <dave.list < at > pi...> wrote:

Zakai Kinan wrote:
I am posting the relevant portions of each file:
FD.conf:

#
# List Directors who are permitted to contact this
File daemon
#
Director {
Name = backup-dir
Password = "yes_naya"
}

#
# Restricted Director, used by tray-monitor to get
the
# status of the file daemon
#
Director {
Name = backup-mon
Password = "yes_naya"
Monitor = yes
}

#
# "Global" File daemon configuration
specifications
#
FileDaemon { # this is me
Name = backup-fd
FDport = 9102 # where we listen
for
the director
WorkingDirectory = /var/bacula
Pid Directory = /var/run/bacula
Maximum Concurrent Jobs = 20
}


Thanks,


If you are getting the error from check_bacula then
you need to make
sure the password from the check_bacula invocation
matches the password
in the fd.

As I understand your question, you would use the
following (all on one
line),

./check_bacula -H <your FD host or IP goes here> -D
fd -P 9102 -M
backup-mon -K 'yes_naya'

This is what is working for me. Try running
'./check_bacula -?' from the
command line to see the switches and their uses.

DAve


ZK

--- Dan Langille <dan < at > la...> wrote:

On 9 Mar 2007 at 8:38, Zakai Kinan wrote:

--- Dan Langille <dan < at > la...> wrote:

On 8 Mar 2007 at 8:03, Zakai Kinan wrote:

I got bacula-2.0.3 and configured and
installed
check_bacula. Now I am
getting this error - BACULA CRITICAL - Cannot
authenticate to
FileDaemon: 1999 Authorization failed. I am
not
using a md5-hash in my
configuration. I convert my password to a
md5-hash, but it does not
work. What am I doing wrong?
Your passwords do not match.

You need this entry in bacula-dir.conf:

Client {
Name = undef-fd
Address = undef.example.org
Catalog = MyCatalog
Password = "PasswordForUndef"
}

to match this entry in bacula-fd.conf:


Director {
Name = bacula-dir
Password = "PasswordForUndef"
}

Where bacula-dir appears at the top of your
bacula-dir.conf file,
like this:

Director { # define
myself
Name = bacula-dir

Does that help?

Don't worry about MD5-hash, but you can do that
if
you wish.
It is still not working and I am getting the
same
error. Any more ideas?
Then the name/password combination is still not
correct.

Oh, and remember to restart FD after changing
bacula-fd.conf, and
bacula-dir after changing bacula-dir.conf.

I suggest using a simple password, such as
'my-password' and trying
again.

If you make no progress after that, then post
bacula-dir.conf and
bacula-fd.conf, remembering that you are showing
us
your passwords.

--
Dan Langille : Software Developer looking for
work


--
Three years now I've asked Google why they don't
have a
logo change for Memorial Day. Why do they choose to
do logos
for other non-international holidays, but nothing
for
Veterans?

Maybe they forgot who made that choice possible.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get
the chance to share your
opinions on IT & business topics through brief
surveys-and earn cash

http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users < at > li...

https://lists.sourceforge.net/lists/listinfo/bacula-users

____________________________________________________________________________________
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB