On 29 Jul 2005 at 20:42, Bastian Boday wrote:

> Dan Langille wrote:
> 
> >On 29 Jul 2005 at 19:20, Bastian Boday wrote:
> >
> >  
> >
> >>Dan Langille wrote:
> >>
> >>    
> >>
> >>>On 29 Jul 2005 at 17:35, Bastian Boday wrote:
> >>>
> >>> 
> >>>
> >>>      
> >>>
> >>>>Hi, I'm new to this list.
> >>>>I want my bacula daemons to listen on a specific IP address, I changed 
> >>>>the address expressions in bacula-dir
> >>>>but the daemons are still listen on 0.0.0.0.
> >>>>
> >>>>tcp        0      0 0.0.0.0:9101            0.0.0.0:*               
> >>>>LISTEN      1793/bacula-dir
> >>>>tcp        0      0 0.0.0.0:9102            0.0.0.0:*               
> >>>>LISTEN      1630/bacula-fd
> >>>>tcp        0      0 0.0.0.0:9103            0.0.0.0:*               
> >>>>LISTEN      1627/bacula-sd
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>Please show us your address expressions from bacula-dir.conf.
> >>> 
> >>>
> >>>      
> >>>
> >>-------------------------------------------------------- snip 
> >>-------------------------------------------------------------------
> >># Client (File Services) to backup
> >>Client {
> >>  Name = cerebrum-fd
> >>  Address = 192.168.1.10
> >>    
> >>
> >
> >This is the IP address upon which the Director can find this FD.
> >
> >This does not tell the FD anything. If you want the FD to listen on a 
> >particular IP address and port number, you need to configure the FD, 
> >not the Director.  Look at the bacula-fd.conf file on the client 
> >machine.
> >
> >  
> >
> >>  FDPort = 9102
> >>  Catalog = MyCatalog
> >>  Password = 
> >>"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"          # 
> >>password for FileDaemon
> >>  File Retention = 30 days            # 30 days
> >>  Job Retention = 6 months            # six months
> >>  AutoPrune = yes                     # Prune expired Jobs/Files
> >>}
> >>
> >># Definiton of file storage device
> >>Storage {
> >>  Name = File
> >>  Address = 192.168.1.10              # N.B. Use a fully qualified name here
> >>  SDPort = 9103
> >>  Password = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
> >>  Device = FileStorage
> >>  Media Type = File
> >>}
> >>    
> >>
> >
> >Same thing for the storage daemon.  Look at bacula-sd.conf.
> >  
> >
> right ! i found it here:
> 
> http://www.bacula.org/rel-manual/Client_Fi_daemon_Configura.html#_ChapterStart25
> 
> 
> I tried in bacula-fd.conf:
> 
> FileDaemon {
>   FDAddresses  = { ip = {
>     addr = 193.58.255.74; port = 9102; }
>   }
>   Name = cerebrum-fd
>   WorkingDirectory = /var/lib/bacula
>   Pid Directory = /var/run
> }
> 
> My error:
> 
> # bacula-fd -c -t bacula-fd.conf
> bacula-fd: ERROR TERMINATION at parse_conf.c:768
> Config error: Keyword "FDAddresses" not permitted in this resource.
> Perhaps you left the trailing brace off of the previous resource.
>             : line 23, col 15 of file bacula-fd.conf
>   FDAddresses  = { ip = {

Try this instead:

FileDaemon {
  FDAddress  = 193.58.255.74;
  FDport = 9102;
  Name = cerebrum-fd
  WorkingDirectory = /var/lib/bacula
  Pid Directory = /var/run
}

-- 
Dan Langille : http://www.langille.org/
BSDCan - The Technical BSD Conference - http://www.bsdcan.org/




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to