On 28/08/14 09:34 PM, John Stoffel wrote:
>>>>>> "Gary" == Gary Dale <garydale AT torfree DOT net> writes:
> Gary> For some reason my Bacula server isn't connecting to a Windows 7 client.
> Gary> I've been having some problems with the client computer but they seem to
> Gary> be settled now except for this one. I've disabled the Windows firewall
> Gary> to try to resolve the problem, but that didn't work.
>
> Gary> I'm seeing this in the bconsole messages:
> Gary> Non-fatal FD errors: 2
> Gary> SD Errors: 0
> Gary> FD termination status: Error
> Gary> SD termination status: Waiting on FD
> Gary> Termination:
>
> Gary> I also got this message at one point:
>
> Gary> 27-Aug 11:15 server-fd JobId 2793: Error:
> Gary> /home/kern/bacula/k/bacula/src/lib/bsock.c:203 gethostbyname() for host
> Gary> "<server name>.<domain name>l" failed: ERR=Authoritative answer for host
> Gary> not found.
>
> It looks like you have a DNS problem on the server. What is your
> domain name and can you do:
>
> nslookup server.some.domain
>
> and have it return correct results. Check that in your configuration
> file(s) that you aren't using 'client' on the server end, but
> 'server.some.domain' on the client end, or visa-versa. It might be
> just a simple oversight. Also, compare it with a working client to
> see what's different. Maybe you can see the difference when you
> compare the configs side by side, line by line.
>
> Gary> I can ping the server and the client by name from both
> Gary> ends. I've verified that the password is still correct. When I
> Gary> activate the tray monitor on the client, it shows the last
> Gary> several jobs. When I run bconsole on the client, it connects OK
> Gary> and I can run the backup job, but it again fails with the FD
> Gary> error (above).
>
> It would help if you could show the actual commands and log file
> entries. Also look at /etc/* config files (since you're probably on a
> unix/linux system for the server) and make sure DNS in
> /etc/resolv.conf is setup properly.
>
> Showing how you run a job on working windows 7 client compared to this
> broken one would also be good.
>
> John
Thanks John. I finally got the time to sit down and figure it out. The
server.domain lookup was OK but the client machine couldn't ping
<server>.<domain>, just <server> so the connection was only working in
one direction.
For some reason this machine needed a
c:\windows\system32\drivers\etc\hosts file to make the connection to the
server. Without it, it could ping the server by name but not by the full
name.
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|