Bacula-users

Re: [Bacula-users] Unable to connect to Director daemon on localhost:9101 Client Bacula

2016-02-09 05:13:33
Subject: Re: [Bacula-users] Unable to connect to Director daemon on localhost:9101 Client Bacula
From: Ana Emília M. Arruda <emiliaarruda AT gmail DOT com>
To: Hector Javier Agudelo Corredor <hejaco AT gmail DOT com>
Date: Tue, 9 Feb 2016 11:07:45 +0100
Hello Hector,

You can run bacula-dir in debug mode (option -d) and see the configuration errors reported. For example, to start all daemons with a debug level value of 100:

/pathtoyourbinariesifnecessary/bacula -d100 start

Best regards,
Ana

On Fri, Feb 5, 2016 at 4:11 AM, Hector Javier Agudelo Corredor <hejaco AT gmail DOT com> wrote:
hi 


 i configure the file that connect to client as follows 


file path on the server bacula: /etc/bacula/conf.d/bacula5.conf  

Client {
  Name = bacula5.prueba.net-fd
  Address = bacula5.prueba.net
  FDPort = 9102 
  Catalog = MyCatalog
  Password = "YWUxYzJmY2MxOWI0N2IxNjczYTYzZjQ4Y"         # password for Remote FileDaemon
  File Retention = 30 days            # 30 days
  Job Retention = 6 months            # six months
  AutoPrune = yes                     # Prune expired Jobs/Files
}

Job {
  Name = "Backupbacula5remoto"
  JobDefs = "DefaultJob"
  Client = bacula5.prueba.net-fd
  Pool = RemoteFile
  FileSet="Home and Etc"
}




FileSet {
  Name = "Backupbacula5remoto"
  Include {
    Options {
      signature = MD5
      compression = GZIP
    }
    File = /home
    File = /etc
  }
  Exclude {
    File = /home/bacula/
  }
}

Pool {
  Name = RemoteFile
  Pool Type = Backup
  Label Format = Remote-
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 365 days         # one year
    Maximum Volume Bytes = 50G          # Limit Volume size to something reasonable
  Maximum Volumes = 100               # Limit number of Volumes in Pool
}
---------
at the end of file bacula-dir server bacula place the following line to load the bacula5.conf

@|"find /etc/bacula/conf.d -name '*.conf' -type f -exec echo @{} \;"

if I comment this line and restart the bacula the bconsole connected, so there is an error in the file bacula5.conf

----------

this is configuration bacula client fd

Director {
  Name = bacula7.prueba.net-dir
  Password = "YWUxYzJmY2MxOWI0N2IxNjczYTYzZjQ4Y"
}


Director {
  Name = bacula-mon
  Password = "YWUxYzJmY2MxOWI0N2IxNjczYTY"
  Monitor = yes
}

FileDaemon {                          # this is me
  Name = bacula5.prueba.net-fd
  FDAddress = bacula5.prueba.net
  FDport = 9102                  # where we listen for the director
  WorkingDirectory = /var/spool/bacula
  Pid Directory = /var/run
  Maximum Concurrent Jobs = 20
}

# Send all messages except skipped files back to Director
Messages {
  Name = Standard
  director = bacula7.prueba.net-dir = all, !skipped, !restored
}
How I can solve it?









--
HECTOR

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>