My director daemon in being hosted on an ubuntu machine and the client is a windows 7 machine. Both machines are on the same subnet. I'm having trouble authenticating between the server and the client. The error I get on the server side is as following:
10-May 12:00 mydir-dir JobId 6395: Start Backup JobId 6395, Job=server-bkp.2013-05-10_12.00.00_13
10-May 12:00 mydir-dir JobId 6395: Using Device "RAID_Device"
10-May 12:00 mydir-dir JobId 0: Fatal error: Unable to authenticate with File daemon at "myserver.ip.address: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#SECTION003760000000000000000 for help.
*q
root@cosmo:~# telnet my-client-hostname.domain 9102
Trying myclient.ip.address...
Connected to my-client-hostname.domain.
Escape character is '^]'.
^[^[
Connection closed by foreign host.
My bconsole.conf file on the windows 7 client machine:
Director {
Name = mydir-dir
DIRport = 9101
address = mydir.domain
Password = "my_secret_password"
}
My bacula-fd.conf file on the client is as follows:
# Main Director
Director {
Name = mydir-dir
Password = "my_secret_password"
}
# File Daemon
FileDaemon {
Name = my-client-hostname-fd
FDport = 9102
WorkingDirectory = "C:\\Program Files\\Bacula\\working"
Pid Directory = "C:\\Program Files\\Bacula\\working"
Maximum Concurrent Jobs = 10
}
# Where to send messages.
Messages {
Name = Standard
director = mydir-dir = all, !skipped, !restored
}
This is what my /etc/bacula/bacula-dir.conf on the server is shown below. Note that some unnecessary information is removed.
# Main Director for backup control.
Director {
Name = mydir-dir
DIRport = 9101
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/home/bacula/bacula/working"
PidDirectory = "/var/run/bacula"
Password = "my_secret_password"
Messages = Standard
}
# Restricted Director for monitoring.
Console {
Name = mydir-mon
Password = "my_other_password"
CommandACL = status, .status
}
# Catalog within the MySQL database
Catalog {
Name = MYDIR_Catalog
DB Name = bacula
DB Address = localhost
user = "MY_USER_NAME"
password = "MY_DB_PASSWORD"
}
# Storage to use for backup
Storage {
Name = RAID_Storage
Password = "MY_SD_PASSWORD"
Address = mydirhost.domain
SDPort = 9103
Device = RAID_Device
Media Type = File
}
# Include client, job, schedule and fileset information
@/etc/bacula/clients/MY-CLIENT-HOSTNAME.conf
Finally, my /etc/bacula/clients/MY-CLIENT-HOSTNAME.CONF is shown below. Again, some unnecessary information is omitted.
# Client information for my-client-hostname
Client {
Name = my-client-hostname
Password = "my_secret_password"
Address = my-client-hostname.domain
FDPort = 9102
Catalog = MYDIR_Catalog
}
*Note that I've used the same "my_secret_password" in all the files.
I have checked the firewall and the authentication via telnet and that seems to be working fine. I'll be fantastically glad if someone could tell me what I'm doing wrong!!!