Situation:- when i run bconsole command (Bacula’s management Console) to connect, through me below error.
Connecting to Director server.example.com:9101
27-Jan 12:51 bconsole: Error: bnet.c:779 gethostbyname() for host "server.example.com" failed: ERR=Non-authoritative for host not found, or ServerFail.
Resolution:-
Go under /etc/bacula dir
their is a file with name bconsole.conf
edit it accordingly
[root@my1backup bacula]# cat bconsole.conf
#
# Bacula User Agent (or Console) Configuration File
#
Director {
Name = bacula-dir
DIRport = 9101
address = myhostname.com
Password = "**********"
}
Imp:- use can use IP as well but if u want to use FQDN then make sure, entry under /etc/hosts file as well
like this once
cat /etc/hosts
10.10.10.100 myhostname.com
After all this simply run bconsole and hit entre
# bconsole
Connecting to Director myhostname.com:9101
1000 OK: bacula-dir Version: 2.0.3 (06 March 2007)
Enter a period to cancel a command.
*
Working fine.
Thursday, January 27, 2011
bconsole: Error: bnet.c:779 gethostbyname() for host "server.example.com"
Posted on 9:32 AM by Unknown
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment