Greetings all,

I've got an old Win98SE laptop running the bacula-fd (backing up to a
FreeBSD bacula server).  For months, it's been like backup bliss!  No
issues whatsoever!  Last week I moved the laptop from an ethernet NIC to
a wireless NIC (and hence, to a different subnet on my LAN), and now I'm
getting authentication errors that I can't seem to get around. 

After the switch to the wireless NIC, I did the following:

- Released the IP address on the ethernet port of the laptop, grabbed a
new IP for the wifi port (which my dhcp server auto-registers with bind)
and rebooted it.
- Updated the Client block in bacula-dir.conf (on the server) to the new
address of the laptop (and restarted dir/sd/fd on the server, for good
measure).

After that, the laptop showed up in forward and reverse name lookups
correctly.  No bacula passwords changed, so I figured I was set. 
However, every job since then has resulted in a failed authentication
error.  I bumped up debug to 100 and turned on trace, and this is what I
get:

<<<<<<<<<< laptop-fd trace >>>>>>>>>>
laptop-fd: ../../lib/bnet.c:1128 who=client host=10.0.0.2 port=36387
laptop-fd: ../../findlib/find.c:68 init_find_files ff=10e2c48
laptop-fd: ../../filed/job.c:189 <dird: Hello Director lister-dir calling
laptop-fd: ../../filed/job.c:205 Executing Hello command.
laptop-fd: ../../lib/cram-md5.c:52 send: auth cram-md5
<[EMAIL PROTECTED]> ssl=0
laptop-fd: ../../lib/cram-md5.c:68 Authenticate OK yx9/S/Uzt5/gR4V0L2c3iD
laptop-fd: ../../lib/cram-md5.c:97 cram-get: auth cram-md5
<[EMAIL PROTECTED]> ssl=0
laptop-fd: ../../lib/cram-md5.c:114 sending resp to challenge:
q2/hh4wXMyU9b4+tw9xleD
laptop-fd: ../../filed/job.c:189 <dird: JobId=14
Job=laptop.2006-06-05_19.47.09 SDid=14 SDtime=1149489971
Authorization=LNOE-CDNK-HDMD-FLAF-DFEO-MNHI-BNLJ-INAP
laptop-fd: ../../filed/job.c:205 Executing JobId= command.
laptop-fd: ../../filed/job.c:189 <dird: fileset
laptop-fd: ../../filed/job.c:205 Executing fileset command.
[snip]
laptop-fd: ../../filed/job.c:189 <dird: level = full  mtime_only=0
laptop-fd: ../../filed/job.c:205 Executing level =  command.
laptop-fd: ../../filed/job.c:189 <dird: storage
address=lister.ether.bogon.net port=9103 ssl=0
laptop-fd: ../../filed/job.c:205 Executing storage  command.
laptop-fd: ../../filed/job.c:1116 StorageCmd: storage
address=lister.ether.bogon.net port=9103 ssl=0
laptop-fd: ../../lib/bnet.c:781 Current host[ipv4:10.0.1.2:9103] All
host[ipv4:10.0.1.2:9103]
laptop-fd: ../../lib/bnet.c:1128 who=Storage daemon
host=lister.ether.bogon.net port=9103
laptop-fd: ../../filed/authenticate.c:196 cram_get_auth failed for
Storage daemon
laptop-fd: ../../filed/job.c:208 Quit command loop. Canceled=1
laptop-fd: ../../filed/job.c:289 Calling term_find_files
laptop-fd: ../../filed/job.c:292 Done with term_find_files
laptop-fd: ../../filed/job.c:294 Done with free_jcr


<<<<<<<<<< lister-sd trace >>>>>>>>>>
lister-sd: bnet.c:1128 who=client host=10.0.1.2 port=36643
lister-sd: cram-md5.c:52 send: auth cram-md5
<[EMAIL PROTECTED]> ssl=0
lister-sd: cram-md5.c:68 Authenticate OK q7/F+y+FyH5AfV+cQG178A
lister-sd: cram-md5.c:97 cram-get: auth cram-md5
<[EMAIL PROTECTED]> ssl=0
lister-sd: cram-md5.c:114 sending resp to challenge: E/88yh+cW9dE59+eMA/M5D
lister-sd: dircmd.c:187 Message channel init completed.
lister-sd: job.c:72 <dird: JobId=14 job=laptop.2006-06-05_19.47.09
job_name=laptop client_name=laptop-fd type=66 level=70 FileSet=LaptopSet
NoAttr=0 SpoolAttr=0 FileSetMD5=T6gzO3cjJD+4b5+tl8sbAC SpoolData=0
WritePartAfterJob=0 PreferMountedVols=1
lister-sd: job.c:125 >dird: 3000 OK Job SDid=14 SDtime=1149489971
Authorization=LNOE-CDNK-HDMD-FLAF-DFEO-MNHI-BNLJ-INAP
lister-sd: reserve.c:353 <dird: use storage=File media_type=File
pool_name=Default pool_type=Backup append=1 copy=0 stripe=0
lister-sd: reserve.c:376 <dird device: use device=FileStorage
lister-sd: askdir.c:245 >dird: CatReq Job=laptop.2006-06-05_19.47.09
FindMedia=1 pool_name=Default media_type=File
lister-sd: reserve.c:146 New Vol=Bogon-0007 dev="FileStorage"
(/storage/bacula)
lister-sd: reserve.c:700 JobId=14 looking for Volume=Bogon-0007
lister-sd: reserve.c:245 free_unused_olume Bogon-0007
lister-sd: reserve.c:960 OK Dev avail reserved "FileStorage"
(/storage/bacula) JobId=14
lister-sd: reserve.c:834 Inc reserve=1 dev="FileStorage"
(/storage/bacula) 0x80bb028
lister-sd: reserve.c:712 Reserved=1 dev_name=FileStorage mediatype=File
pool=Default ok=1
lister-sd: reserve.c:633 >dird dev: 3000 OK use device device=FileStorage
lister-sd: reserve.c:557 Suitable device found=FileStorage
lister-sd: job.c:157 laptop.2006-06-05_19.47.09 waiting on FD to contact SD

<<<<<<<<<< lister-fd trace >>>>>>>>>>
(Done in another run to avoid clutter in the trace file)
lister-dir: bnet.c:781 Current host[ipv4:10.0.0.11:9102] All
host[ipv4:10.0.0.11:9102]
lister-dir: bnet.c:1128 who=File daemon host=laptop.wifi.bogon.net port=9102
lister-dir: fd_cmds.c:80 Opened connection with File daemon
lister-dir: cram-md5.c:97 cram-get: auth cram-md5
<[EMAIL PROTECTED]> ssl=0
lister-dir: cram-md5.c:114 sending resp to challenge: v9/qJmol85Url7UygE/F0B
lister-dir: cram-md5.c:52 send: auth cram-md5
<[EMAIL PROTECTED]> ssl=0
lister-dir: cram-md5.c:68 Authenticate OK V++MXCRbr2xPQ2+8dS+AnB
lister-dir: fd_cmds.c:101 >filed: JobId=15
Job=laptop.2006-06-05_19.55.26 SDid=15 SDtime=1149489971
Authorization=BEAK-KNGH-LAFA-DGAI-FMDF-BBDP-IEJE-OILK
lister-dir: msgchan.c:306 === End msg_thread. use=2
lister-dir: backup.c:363 Enter backup_cleanup 69 E
lister-dir: backup.c:525 Leave backup_cleanup()
lister-dir: job.c:363 ======== End Job stat=f ==========

And the output from the job is always the same:

05-Jun 19:55 lister-dir: Start Backup JobId 15,
Job=laptop.2006-06-05_19.55.26
05-Jun 19:52 laptop-fd: laptop.2006-06-05_19.55.26 Fatal error:
Authorization key rejected by Storage daemon.
Please see http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors
for help.
05-Jun 19:52 laptop-fd: laptop.2006-06-05_19.55.26 Fatal error: Failed
to authenticate Storage daemon.
05-Jun 19:58 lister-dir: laptop.2006-06-05_19.55.26 Fatal error: Socket
error on Storage command: ERR=Broken pipe
05-Jun 19:58 lister-dir: laptop.2006-06-05_19.55.26 Error: Bacula 1.38.9
(02May06): 05-Jun-2006 19:58:56


I've read the FAQ.  Since no passwords had changed (and it was working
fine), I did the other suggestions of rebooting, restarting, etc. 
Nothing has worked.

Obviously the laptop can see the director (and, hence the storage daemon
since they are running on the same machine).  I can also manually telnet
to the storage daemon from the laptop, so it's not a networking issue.

Any idea what might be going on here?  I'm running 1.38.9 on all machines.

Thanks for any insights!

Cheers,
-Wes



_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to