Hello, On 08.10.2005 22:25, RYAN vAN GINNEKEN wrote:
I am having problems with bacula I read the FAQ section about auth and triple check my names and passwords but still cannot get past this error at the end of this mail please help here are my conf files
Please, use interpunction, line breaks and all the other things that make text better readable.
Second, if you really want an answer on a saturday (evening), don't resend your question every hour.
Third, when you post configuration files, try to trim them to the relevant parts. In this case, the definition of the daemns would have been more than enough. I even think (hope?) that you would have found your error then.
Fourth, re-read the manual chapter concerning authentication. Take special car to understand which part of bacula authenticates to which other parts, and where the relevant passwords are defined.
Fifth, when you find a configuration problem, it's usually best to simplify your configuration as much as possible. In this case, you could set all defined passwords to the same value; instead, you modified some of them. That doesn't make it easier to understand what goes on.
Finally, a hint: Where does bacula use the password 22vu22? Arno
bacula-fd.conf # # List Directors who are permitted to contact this File daemon # Director { Name = tokyo-dir # Password = "GJ5/XaOg03IaRS8NqeC0qUXC4nKE9/zElTkf/8+KkT+/" Password = "22vu22" } # # Restricted Director, used by tray-monitor to get the # status of the file daemon # Director { Name = tokyo-mon Password = "H9mO/Y36ibNMQ4d4Be3yWPrfdYmcgM7GnH7TtasaZKiT" Monitor = yes } # # "Global" File daemon configuration specifications # FileDaemon { # this is me Name = tokyo-fd FDport = 9102 # where we listen for the director WorkingDirectory = /var/db/bacula Pid Directory = /var/run Maximum Concurrent Jobs = 20 } # Send all messages except skipped files back to Director Messages { Name = Standard director = tokyo-dir = all, !skipped } bacula-dir.conf Director { # define myself Name = tokyo-dir DIRport = 9101 # where we listen for UA connections QueryFile = "/usr/local/share/bacula/query.sql" WorkingDirectory = "/var/db/bacula" PidDirectory = "/var/run" Maximum Concurrent Jobs = 20 # Password = "GJ5/XaOg03IaRS8NqeC0qUXC4nKE9/zElTkf/8+KkT+/" # Console password Password = "22vu22" Messages = Daemon } JobDefs { Name = "DefaultJob" Type = Backup Level = Incremental Client = tokyo-fd FileSet = "Full Set" Schedule = "WeeklyCycle" Storage = File Messages = Standard Pool = Default Priority = 10 } # # Define the main nightly save backup job # By default, this job will back up to disk in /tmp Job { Name = "Client1" JobDefs = "DefaultJob" Write Bootstrap = "/var/db/bacula/Client1.bsr" } # Backup the catalog database (after the nightly save) Job { Name = "BackupCatalog" JobDefs = "DefaultJob" Level = Full FileS Schedule = "WeeklyCycleAfterBackup" # This creates an ASCII copy of the catalog RunBeforeJob = "/usr/local/share/bacula/make_catalog_backup bacula bacula" # This deletes the copy of the catalog RunAfterJob = "/usr/local/share/bacula/delete_catalog_backup" Write Bootstrap = "/var/db/bacula/BackupCatalog.bsr" Priority = 11 # run after main backup } # Standard Restore template, to be changed by Console program Job { Name = "RestoreFiles" Type = Restore Client=tokyo-fd FileSet="Full Set" Storage = File Pool = Default Messages = Standard Where = /tmp/bacula-restores } # List of files to be backed up FileSet { Name = "Full Set" Include { Options { signature = MD5 } File = /usr/ports/sysutils/bacula-server/work/bacula-1.36.3 } # # If you backup the root directory, the following two excluded # files can be useful # Exclude { File = /proc File = /tmp File = /.journal File = /.fsck } } # # When to do the backups, full backup on first sunday of the month, # differential (i.e. incremental since full) every other sunday, # and incremental backups other days Schedule { Name = "WeeklyCycle" Run = Full 1st sun at 1:05 Run = Differential 2nd-5th sun at 1:05 Run = Incremental mon-sat at 1:05 } # This schedule does the catalog. It starts after the WeeklyCycle Schedule { Name = "WeeklyCycleAfterBackup" Run = Full sun-sat at 1:10 } # This is the backup of the catalog FileSet { Name = "Catalog" Include { Options { signature = MD5 } File = /var/db/bacula/bacula.sql } # Client (File Services) to backup Client { Name = tokyo-fd Address = tokyo FDPort = 9102 Catalog = MyCatalog Password = "e73s1hmDx7PDzZtiJ+lX692lbM7SQzt8mTpwP7xAc9DN" # password for FileDaemon File Retention = 30 days # 30 days Job Retention = 6 months # six months AutoPrune = yes # Prune expired Jobs/Files } # Definiton of file storage device Storage { Name = File # Do not use "localhost" here Address = tokyo.computerking.ca # N.B. Use a fully qualified name here SDPort = 9103 Password = "fbGObw8iBkTbXdjVEgP/iKuSUt8eVS5MnuGl+W/ffZGg" Device = FileStorage Media Type = File } # Generic catalog service Catalog { Name = MyCatalog dbname = bacula; user = bacula; password = "" } # Reasonable message delivery -- send most everything to email address # and to the console Messages { Name = Standard # # NOTE! If you send to two email or more email addresses, you will need # to replace the %r in the from field (-f part) with a single valid # email address in both the mailcommand and the operatorcommand. # mailcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r" operatorcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r" mail = [EMAIL PROTECTED] = all, !skipped operator = [EMAIL PROTECTED] = mount console = all, !skipped, !saved # # WARNING! the following will create a file that you must cycle from # time to time as it will grow indefinitely. However, it will # also keep all your messages if they scroll off the console. # append = "/var/db/bacula/log" = all, !skipped } # # Message delivery for daemon messages (no job). Messages { Name = Daemon mailcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r" mail = [EMAIL PROTECTED] = all, !skipped console = all, !skipped, !saved append = "/var/db/bacula/log" = all, !skipped } # Default pool definition Pool { Name = Default Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year Accept Any Volume = yes # write on any volume in the pool } # # Restricted console used by tray-monitor to get the status of the director # Console { Name = tokyo-mon Password = "9iAGN98F1WZsl1G0Da2ESy5OfZwk9RRPDYF4dgfvrI/Q" CommandACL = status, .status bacula-sd.conf Storage { # definition of myself Name = tokyo-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 = tokyo-dir # Password = "GJ5/XaOg03IaRS8NqeC0qUXC4nKE9/zElTkf/8+KkT+/" Password = "22vu22" } # # Restricted Director, used by tray-monitor to get the # status of the storage daemon # #Director { # Name = tokyo-mon # Password = "mSn14BFpz6sj8Br675+ZfwcmtQuzx+ACKJDbP2BxruDm" # 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 = /tmp LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } Messages { Name = Standard director = tokyo-dir = all } ==== Connecting to Storage daemon File at tokyo.computerking.ca:9103 Failed to connect to Storage daemon File. ==== Connecting to Client tokyo-fd at tokyo:9102 Failed to connect to Client tokyo-fd. ==== 08-Oct 13:11 tokyo-dir: *Console*.2005-10-08_13.10.47 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. 08-Oct 13:11 tokyo-dir: *Console*.2005-10-08_13.10.47 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.
-- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users