Bacula-users

Re: [Bacula-users] problems with bacula client and windows 2008 hosted on vmware.

2008-10-30 10:09:06
Subject: Re: [Bacula-users] problems with bacula client and windows 2008 hosted on vmware.
From: "Stefan Eriksson" <stefan AT glesys DOT se>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 30 Oct 2008 15:05:41 +0100
UPDATE: sorry this is the error I'm getting.

> The server now generates this error:
> 
> rejected Hello command 29-Oct 16:38
> 
> I have port 9102 open on the client.
> 
> Anyone know.

If it was password related I think it would have said something like:

Unable to authenticate with File daemon at "192.168.0.2:9102". Possible causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the FD or FD networking messed up (restart 
daemon).

Anyone know what it can be?

-----Ursprungligt meddelande-----
Från: Stefan Eriksson [mailto:stefan AT glesys DOT se] 
Skickat: den 30 oktober 2008 08:18
Till: bacula-users AT lists.sourceforge DOT net
Ämne: Re: [Bacula-users] problems with bacula client and windows 2008 hosted on 
vmware.

> If the server refuse to talk, I suspect that you don't have yet set a correct 
> key/pair authentification
>so the director knows the client and vice-versa ...

If that is correct shouldnt I be getting this if the password was bad:

Unable to authenticate with File daemon at "192.168.0.2:9102". Possible causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the FD or FD networking messed up (restart 
daemon).

Now I'm getting:
>> Windows could not start the bacula File Service service on Local Computer.
>> Error 1067: The process terminated unexpectedly

I'm running windows 2008 64bit server edition. I'm running win32 beta of bacula 
client, I dont know if this is relevant to my case,

http://www.mail-archive.com/bacula-devel AT lists.sourceforge DOT 
net/msg03294.html

what do you guys think?


-----Ursprungligt meddelande-----
Från: Bruno Friedmann [mailto:bruno AT ioda-net DOT ch] 
Skickat: den 29 oktober 2008 19:01
Kopia: bacula-users AT lists.sourceforge DOT net
Ämne: Re: [Bacula-users] problems with bacula client and windows 2008 hosted on 
vmware.

Stefan Eriksson wrote:
> Thanks the -t parameter solved my issue, now to the next one :)
Fine

> 
> The server now generates this error:
> 
> rejected Hello command 29-Oct 16:38
> 
> I have port 9102 open on the client.
> 
> Anyone know.

If the server refuse to talk, I suspect that you don't have yet set a correct 
key/pair authentification
so the director knows the client and vice-versa ...

in your bacula-fd.conf you should have

#
# List Directors who are permitted to contact this File daemon
#
Director {
  Name = mybacula-dir
  Password = "SuperSecretKey"
}

and in the director conf you should have

Client {
  Name = myclient-fd
  Address = myclient.mydomain.mytld
  FDPort = 9102
  Catalog = MyCatalog
  Password = "SuperSecretKey"
  File Retention = 45 days 20 hours
  Job Retention = 45 days 20 hours
  AutoPrune = yes
  Maximum Concurrent Jobs = 5
}

The two password should be the same ...


Ok next step :-)
> 
> 
> 
> -----Ursprungligt meddelande-----
> Från: Bruno Friedmann [mailto:bruno AT ioda-net DOT ch] 
> Skickat: den 29 oktober 2008 16:00
> Kopia: bacula-users AT lists.sourceforge DOT net
> Ämne: Re: [Bacula-users] problems with bacula client and windows 2008 hosted
> on vmware.
> 
> Stefan Eriksson wrote:
>> Hi I'm trying to startup my bacula service under windows 2008 hosted on
>> vmware. But I keep getting this error when I try to start the service:
>>
>> Windows could not start the bacula File Service service on Local Computer.
>> Error 1067: The process terminated unexpectedly
>>
>> This is with default configuration, I've tried both beta and stable
> release
>> of the client. I've tried running as administrator and compatiblity mode.
>> All with same result.
>>
>>
>>
>> Here is the configfile:
>>
>> FileDaemon {                            # this is me
>>   Name = win-2008-fd
>>   FDport = 9102                # where we listen for the director
>>   WorkingDirectory = "C:\\ProgramData\\Bacula\\Work"
>>   Pid Directory = "C:\\ProgramData\\Bacula\\Work"
>>   Maximum Concurrent Jobs = 2
>> }
>>
>> #
>> # List Directors who are permitted to contact this File daemon
>> #
>> Director {
>>   Name = @director_name@
>>   Password = "@client_password@"
>> }
>>
>> #
>> # Restricted Director, used by tray-monitor to get the
>> #   status of the file daemon
>> #
>> Director {
>>   Name = win-dosy30f3gir-mon
>>   Password = "D5AFsUp0SWZ57+nfgLidQOxhFOoR3ow81uA8XLnKHHx+"
>>   Monitor = yes
>> }
>>
>> # Send all messages except skipped files back to Director
>> Messages {
>>   Name = Standard
>>   director = @director_name@ = all, !skipped, !restored
>> }
>>
>> Does anyone know what this might be? I'm feeling it might be some kind of
>> driver issue with vmware but I'm guessing here.
>>
> 
> Perharps you should try to start the process inside a cmd command console
> ( use the same command line as indicate in the registry to start the process
> )
> 
> with -t it will check the config file and report if there's a trouble in it.
> 
> with -d ( check bacula manual for debug ) you could also increase the debug
> level.
> 
> With chance it will give you some clue for the crash problem.
> 
> After as I never seen ( for the moment i've not a Win8K server under control
> and hope to never cross the way of one :-) )
> It could be whatever.
> 
> Perharps with the help of runas you can also try to start it under the
> service account.
> 
> 
> 


-- 

     Bruno Friedmann

Ioda-Net Sàrl
  2830 Vellerat - Switzerland

  Tél : ++41 32 435 7171
  Fax : ++41 32 435 7172
  gsm : ++41 78 802 6760
  www.ioda-net.ch

 Centre de Formation et de Coaching En Ligne
 www.cfcel.com


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users