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.
|
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?
|
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:kern AT sibbald DOT com]
Sent: Sunday, February 23, 2014 5:47 AM
To: Greg Woods; Larry Kemp
Cc: bacula-users AT lists.sourceforge DOT 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 AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>