Bacula-users

Re: [Bacula-users] Failure Backing Up Windows Client Machine

2014-02-24 15:53:17
Subject: Re: [Bacula-users] Failure Backing Up Windows Client Machine
From: Larry Kemp <Larry.Kemp AT usmetrotel DOT com>
To: Kern Sibbald <kern AT sibbald DOT com>, "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 24 Feb 2014 20:50:39 +0000
Kern and support distro - Thanks for the continued support.


I just do not think the FD is running is all. As to why I am not sure. I am 
Domain Admin in our Active Directory domain and I should be able to manually 
start it with no issues.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Listening Daemon - I performed a "netstat -n" from the command line on the 
Windows. I see nothing listening on 9102.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Telnet to 9102 - I can ping the Windows server from all other hosts including 
the CentOS Bacula Director/Storage server, but cannot telnet to 9102 on the 
Windows Server from anywhere on the LAN.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Manually executing the file daemon:
C:\>cd "Program Files"
C:\Program Files>cd Bacula
C:\Program Files\Bacula>bacula-fd.exe
C:\Program Files\Bacula>
24-Feb 15:15 bacula-fd: ERROR TERMINATION at 
/home/kern/bacula/k/bacula/src/lib/parse_conf.c:898
Config error: Cannot open config file "C:\Documents and Settings\All 
Users\Application Data\Bacula/bacula-fd.conf": No such file or directory

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Windows Firewall - Off completely. Yes you access it via Control Panel>Windows 
Firewall. It is off and we do not enable it on this box anyway. 

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

C:\Program Files\Bacula\bacula-fd.conf from notepad++
------------------------------------------------------------------------
#
# Default  Bacula File Daemon Configuration file # #  For Bacula release 5.0.3 
(08/05/10) -- Windows MinGW32 # # There is not much to change here except 
perhaps the # File daemon Name #

#
# "Global" File daemon configuration specifications #
FileDaemon {                            # this is me
  Name = bnspflu1-ts01-fd
  FDport = 9102                # where we listen for the director
  WorkingDirectory = "C:\\Program Files\\Bacula\\working"
  Pid Directory = "C:\\Program Files\\Bacula\\working"
# Plugin Directory = "C:\\Program Files\\Bacula\\plugins"
  Maximum Concurrent Jobs = 10
}

#
# List Directors who are permitted to contact this File daemon # Director {
  Name = bacula1.usmetrotel.com-dir
  Password = "PASSWORD-FOR-THE-DIRECTOR-AND-CLIENTS-ARE-THE-SAME"
}

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

# Send all messages except skipped files back to Director Messages {
  Name = Standard
  director = bacula1.MYCOMPANYDOMAIN.com-dir = all, !skipped, !restored }
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Larry Kemp

-----Original Message-----
From: Kern Sibbald [mailto:kern AT sibbald DOT com]
Sent: Saturday, February 22, 2014 2:26 PM
To: Greg Woods; Larry Kemp
Cc: bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] Failure Backing Up Windows Client Machine

If I am not mistaken, how to turn off the firewall is documented in the Windows 
chapter of the manual.

The latest Windows machines will actually put up a Window telling you that the 
FD wants to open a port and let you deactivate the firewall for that port with 
one click.

Best regards,
Kern

On 02/22/2014 06:42 PM, Greg Woods wrote:
> On Sat, 2014-02-22 at 15:09 +0000, Larry Kemp wrote:
>>
>> 22-Feb 08:53 bacula1-dir JobId 3652: Fatal error: bsock.c:134 Unable 
>> to connect to Client: bnspflu1-ts01-fd on 10.100.101.203:9102.
>> ERR=Connection refused
>>
>>
>>
> Very likely this means that either your Windows firewall is not 
> allowing the connection, or else the bacula-fd process is not actually 
> running.
>
> Use the Windows taskmgr to verify that bacula-fd is running 
> (Accessories
> -> Run Program, type "taskmgr"). If it is, then try disabling the
> firewall temporarily; I don't remember exactly where this is, but it 
> would be under the Control Panel somewhere (security settings).  Just 
> don't forget to turn it back on when your test is completed.
>
> --Greg
>
>
>
> ----------------------------------------------------------------------
> -------- Managing the Performance of Cloud-Based Applications Take 
> advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.
> clktrk _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users