Heitor,

He is using Centos, and version 5.2.13 ended up being whats shipped by RedHat. 
Very understandable

Do you know why RedHat does ship something newer?  Like even version 7?

Regards,
William

________________________________________
From: Heitor Faria <hei...@bacula.com.br>
Sent: April 30, 2019 12:35:25 PM
To: preash raj
Cc: bacula-users
Subject: Re: [Bacula-users] Failed to connect to Client <client_hostname>-fd

Hello Preash,

I strongly recommend using the newer 9.4.x versions from the Bacula.org 
project: 
http://bacula.us/script-installation-bacula-community-9-x-official-packages/
The 5.x versions do not really have any kind of support anymore.

Regards,

________________________________
From: "preash raj" <preash....@gmail.com>
To: "bacula-users" <bacula-users@lists.sourceforge.net>
Sent: Tuesday, April 30, 2019 2:46:25 AM
Subject: [Bacula-users] Failed to connect to Client <client_hostname>-fd

Hi,

I've installed and configured the free Bacula version 5.2.13, but I'm not able 
to establish the connection with remote client the local backup works fine. IP 
and port has been allowed in the firewall and telnet in both machines works 
fine. All the configurations are done as per the document: 
https://www.digitalocean.com/community/tutorials/how-to-install-bacula-server-on-centos-7

  *   OS: CentOS Linux release 7.6.1810 (Core)
  *   Bacula Version: 5.2.13

=====================================

[root@baculaserver ~]# bconsole
Connecting to Director localhost:9101
1000 OK: bacula-dir Version: 5.2.13 (19 February 2013)
Enter a period to cancel a command.
*status client
The defined Client resources are:
     1: bacula-fd
     2: client1.hostname-fd
     3: client2.hostname-fd
Select Client (File daemon) resource (1-3): 2
Connecting to Client client1.hostname-fd at client1.hostname:9102
Failed to connect to Client client1.hostname-fd.
====
You have messages.
=====================================

# tail -f /var/log/bacula/bacula.log

28-Apr 23:10 bacula-dir JobId 71: Begin pruning Files.
28-Apr 23:10 bacula-dir JobId 71: No Files found to prune.
28-Apr 23:10 bacula-dir JobId 71: End auto prune.

28-Apr 23:10 bacula-dir JobId 71: shell command: run AfterJob 
"/usr/libexec/bacula/delete_catalog_backup"
29-Apr 07:49 bacula-dir JobId 0: Fatal error: Unable to authenticate with File 
daemon at "client1.hostname:9102". Possible causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the FD or
FD networking messed up (restart daemon).
Please see 
http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00260000000000000000
 for help.

=====================================

# vi /etc/bacula/conf.d/clients.conf

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

Job {
  Name = "Backupclient1.hostname"
  JobDefs = "DefaultJob"
  Client = client1.hostname-fd
  Pool = RemoteFile
  FileSet="Home and Etc"
}
=====================================
# cat /etc/bacula/bacula-fd.conf


Director {
  Name = servername-dir
  Password = "mypassword"
}

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

FileDaemon {                          # this is me
  Name = client1.hostname-fd
  FDAddress = <client_ip_address>
  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 = servername-dir = all, !skipped, !restored
}
=====================================

kindly update me any solution for this, let me know if you require any further 
details.


Regards,

Preash.


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

--

MSc Heitor Faria
CEO Bacula LATAM
mobile1: + 1 909 655-8971
mobile2: + 55 61 98268-4220
[linkedin icon]<https://www.linkedin.com/in/msc-heitor-faria-5ba51b3>


[logo]<Http://www.bacula.com.br>

América Latina
bacula.lat<http://bacula.lat> | bacula.com.br<http://www.bacula.com.br>





_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to