Kern/All,


I was able to get the Bacula file daemon to start manually on my Windows Server 
2003 32bit system by using the following exact command:

Command to start File Daemon:

C:\Program Files\Bacula>bacula-fd.exe -c ./bacula-fd.conf



To see if the Bacula-FD is running I entered the following at the command line:

netstat -na | more

Then I looked for socket 9101 listening.



Then I wanted to kill the daemon I entered:

bacula-fd.exe -kill



Then I wanted the daemon to start as a service at boot so if the server was 
ever rebooted it would startup just like my Linux systems at bott/reboot 
without me having to manually go to each Windows Server 2003/2008/2012.

I read about Creating A Service at this Microsoft link: 
http://technet.microsoft.com/en-us/library/cc990289.aspx

Entering this command:

sc create Bacula-FD binpath= "C:\Program Files\Bacula>bacula-fd.exe -c 
./bacula-fd.conf" type= share start= auto



....produced a named service but it will not start at boot and will not let me 
edit it from the services.msc module.

[cid:image001.png@01CF331E.D78A3C30]




Manully trying to click "Start Service" gives this graphical error:



Services: Could not start the Bacula-FD service on Local Computer. Error 2: The 
system cannot find the file specified. OK?



[cid:image002.png@01CF331E.D78A3C30]






Anyone know how to make it behave and start up at boot without human 
intervention? I'm almost there! Whoo hoo!



LK



-----Original Message-----
From: Kern Sibbald [mailto:k...@sibbald.com]
Sent: Sunday, February 23, 2014 5:47 AM
To: Greg Woods; Larry Kemp
Cc: bacula-users@lists.sourceforge.net; Larry Kemp
Subject: Re: [Bacula-users] Failure Backing Up Windows Client Machine



You simply ensure that Bacula is not installed, login at the main console (not 
a remote console) as Administrator and execute the bacula-fd .exe file, and if 
it finishes without error, it should be installed as a system program and 
running.  There is no need to start it manually, unless the bacula-fd.conf file 
needs changed, and in that case, you always start it through the System 
Services panel.



Best regards,

Kern



On 02/22/2014 08:30 PM, Greg Woods wrote:

> On Sat, 2014-02-22 at 14:16 -0500, Larry Kemp wrote:

>> I will check to see if fd is running at all...I assumed it

>> was...maybe it is not at all.

> At least with the version of the Windows bacula-fd that I have on my

> VM, installing the daemon doesn't automatically create a startup entry

> for it. I usually start it from a command prompt window (running as

> Administrator, otherwise bacula-fd doesn't have permission to read all

> the files). I'm sure there's a way to put it into the system startup,

> but I haven't figured out how to do that on Windows 7 yet.

>

> --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@lists.sourceforge.net<mailto:Bacula-users@lists.sourceforge.net>

> https://lists.sourceforge.net/lists/listinfo/bacula-users

>


<<inline: image001.png>>

<<inline: image002.png>>

------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to