SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
authentication problems
Author Message
Post authentication problems 
Attachments: Message as HTML

Ok folks i am at my wits end here have been struggliing with this for a couple of days now it used to work but i made a few minor changes to the conf files and now bacula is broken.

Please help It must be a minor typo or something but i cannot for the life of me see it. HELP

Here is the relevant bits of my bacula-sd.conf

Storage { # definition of myself
Name = hendrick-sd
SDPort = 9103 # Director's port
WorkingDirectory = "/var/db/bacula"
Pid Directory = "/var/run"
Maximum Concurrent Jobs = 20
}

#
# List Directors who are permitted to contact Storage daemon
#
Director {
Name = hendrick-dir
Password = "c0mputerking-st0rage"
# Password = "c0mputerking-m0nit0r"
}

#
# Restricted Director, used by tray-monitor to get the
# status of the storage daemon
#
Director {
Name = hendrick-mon
Password = "c0mputerking-m0nit0r"
Monitor = yes
}

#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
# same Name and MediaType.
#

Device {
Name = FileStorage
Media Type = File
Archive Device = /space/bacula
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}

here are the good bits of my bacula-dir.conf -----------------------------------
as you can see i have tried several address none seem to work

Storage {
Name = hendrick-sd
# Address = 127.0.0.1 # N.B. Use a fully qualified name here
# Address = 192.168.0.24 # be very careful here
# Address = 209.115.169.135
Address = webmail.hendrick.ca
SDPort = 9103
Password = "c0mputerking-st0rage"
Device = FileStorage
Media Type = File
}

I always get this when trying to connect

Connecting to Storage daemon hendrick-sd at webmail.hendrick.ca:9103

Failed to connect to Storage daemon hendrick-sd.
====
You have messages.
*au on
09-Apr 20:58 hendrick-dir: *Console*.2007-04-09_20.58.17 Fatal error: authenticate.c:92 Unable to authenticate with Storage daemon. Possible causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the SD or
SD networking messed up (restart daemon).
Please see http://www.bacula.org/html-manual/faq.html#AuthorizationErrors for help.

I can ping the host, and everything is local so iptables should not be a problem

webmail:/etc/bacula# ping webmail.hendrick.ca
PING webmail.hendrick.ca (209.115.169.132): 56 data bytes
64 bytes from 209.115.169.132: icmp_seq=0 ttl=64 time=0.0 ms

ps here are the version #'s it is old but it is what i get when i do an apt-get install bacula. This box is Debian something i did not set it up or know alot about debian but this all a uname -a gives me

webmail:/etc/bacula# uname -a
Linux webmail 2.6.20 #3 SMP Fri Mar 30 16:15:10 MST 2007 i686 GNU/Linux

Bacula
*version
hendrick-dir Version: 1.36.2 (28 February 2005)

ps i get the comparable errors when it try to stat fd too..

*au on
09-Apr 21:05 hendrick-dir: *Console*.2007-04-09_21.04.29 Fatal error: Unable to authenticate with File daemon. Possible causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the FD or
FD networking messed up (restart daemon).
Please see http://www.bacula.org/html-manual/faq.html#AuthorizationErrors for help.

--
Computer King & CaN Mail - Sales Service Hosting Backup

http://www.computerking.ca http://www.canmail.org

NEW!!! Custom Service Packages
Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting Packages

Post authentication problems 
Provide us with the output of the following (URL not attachment -
pastebin or something)

$ bacula-sd -vsf -d9999999999999

Paste only the parts just before, and as you type "status storage" on
the dir..

~BAS

On Mon, 2007-04-09 at 19:46 -0700, RYAN M. vAN GINNEKEN wrote:
Ok folks i am at my wits end here have been struggliing with this for
a couple of days now it used to work but i made a few minor changes to
the conf files and now bacula is broken.

Please help It must be a minor typo or something but i cannot for the
life of me see it. HELP

Here is the relevant bits of my bacula-sd.conf

Storage { # definition of myself
Name = hendrick-sd
SDPort = 9103 # Director's port
WorkingDirectory = "/var/db/bacula"
Pid Directory = "/var/run"
Maximum Concurrent Jobs = 20
}

#
# List Directors who are permitted to contact Storage daemon
#
Director {
Name = hendrick-dir
Password = "c0mputerking-st0rage"
# Password = "c0mputerking-m0nit0r"
}

#
# Restricted Director, used by tray-monitor to get the
# status of the storage daemon
#
Director {
Name = hendrick-mon
Password = "c0mputerking-m0nit0r"
Monitor = yes
}

#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
# same Name and MediaType.
#

Device {
Name = FileStorage
Media Type = File
Archive Device = /space/bacula
LabelMedia = yes; # lets Bacula label unlabeled
media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}

here are the good bits of my bacula-dir.conf
-----------------------------------
as you can see i have tried several address none seem to work

Storage {
Name = hendrick-sd
# Address = 127.0.0.1 # N.B. Use a fully qualified
name here
# Address = 192.168.0.24 # be very careful here
# Address = 209.115.169.135
Address = webmail.hendrick.ca
SDPort = 9103
Password = "c0mputerking-st0rage"
Device = FileStorage
Media Type = File
}

I always get this when trying to connect

Connecting to Storage daemon hendrick-sd at webmail.hendrick.ca:9103

Failed to connect to Storage daemon hendrick-sd.
====
You have messages.
*au on
09-Apr 20:58 hendrick-dir: *Console*.2007-04-09_20.58.17 Fatal error:
authenticate.c:92 Unable to authenticate with Storage daemon. Possible
causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the SD or
SD networking messed up (restart daemon).
Please see
http://www.bacula.org/html-manual/faq.html#AuthorizationErrors for
help.

I can ping the host, and everything is local so iptables should not be
a problem

webmail:/etc/bacula# ping webmail.hendrick.ca
PING webmail.hendrick.ca (209.115.169.132): 56 data bytes
64 bytes from 209.115.169.132: icmp_seq=0 ttl=64 time=0.0 ms

ps here are the version #'s it is old but it is what i get when i do
an apt-get install bacula. This box is Debian something i did not set
it up or know alot about debian but this all a uname -a gives me

webmail:/etc/bacula# uname -a
Linux webmail 2.6.20 #3 SMP Fri Mar 30 16:15:10 MST 2007 i686
GNU/Linux

Bacula
*version
hendrick-dir Version: 1.36.2 (28 February 2005)

ps i get the comparable errors when it try to stat fd too..

*au on
09-Apr 21:05 hendrick-dir: *Console*.2007-04-09_21.04.29 Fatal error:
Unable to authenticate with File daemon. Possible causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the FD or
FD networking messed up (restart daemon).
Please see
http://www.bacula.org/html-manual/faq.html#AuthorizationErrors for
help.


--
Computer King & CaN Mail - Sales Service Hosting Backup

http://www.computerking.ca http://www.canmail.org

NEW!!! Custom Service Packages
Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting Packages






-------------------------------------------------------------------------
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
--
Brian A. Seklecki <bseklecki < at > co...>
Collaborative Fusion, Inc.

IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.

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