I've run bconsole with a larger debug number and got more messages from it. 
Perhaps
someone can interpret what it means and hopefully explain what went wrong:

[erik@Erik-PC ~]$ bconsole -d1000
bconsole: parse_conf.c:1003-0 Enter parse_config()
bconsole: parse_conf.c:1005-0 parse_config pass 1
bconsole: lex.c:252-0 Open config file: /etc/bacula/bconsole.conf
bconsole: lex.c:307-0 fget line=1 #
bconsole: parse_conf.c:1031-0 parse state=0 pass=1 got token=T_EOL
bconsole: lex.c:307-0 fget line=2 # Bacula User Agent (or Console) 
Configuration File
bconsole: parse_conf.c:1031-0 parse state=0 pass=1 got token=T_EOL
bconsole: lex.c:307-0 fget line=3 #
bconsole: parse_conf.c:1031-0 parse state=0 pass=1 got token=T_EOL
bconsole: lex.c:307-0 fget line=4 
bconsole: parse_conf.c:1031-0 parse state=0 pass=1 got token=T_EOL
bconsole: lex.c:307-0 fget line=5 Director {
bconsole: parse_conf.c:1031-0 parse state=0 pass=1 got token=T_IDENTIFIER
bconsole: parse_conf.c:234-0 Item=Name def=no defval=0
bconsole: parse_conf.c:234-0 Item=Description def=no defval=0
bconsole: parse_conf.c:234-0 Item=DirPort def=yes defval=9101
bconsole: parse_conf.c:234-0 Item=Address def=no defval=0
bconsole: parse_conf.c:234-0 Item=Password def=no defval=0
bconsole: parse_conf.c:234-0 Item=TlsAuthenticate def=no defval=0
bconsole: parse_conf.c:234-0 Item=TlsEnable def=no defval=0
bconsole: parse_conf.c:234-0 Item=TlsRequire def=no defval=0
bconsole: parse_conf.c:234-0 Item=TlsCaCertificateFile def=no defval=0
bconsole: parse_conf.c:234-0 Item=TlsCaCertificateDir def=no defval=0
bconsole: parse_conf.c:234-0 Item=TlsCertificate def=no defval=0
bconsole: parse_conf.c:234-0 Item=TlsKey def=no defval=0
bconsole: parse_conf.c:234-0 Item=HeartbeatInterval def=yes defval=300
bconsole: parse_conf.c:1031-0 parse state=1 pass=1 got token=T_BOB
bconsole: parse_conf.c:1031-0 parse state=1 pass=1 got token=T_EOL
bconsole: lex.c:307-0 fget line=6   Name = epo-dir
bconsole: parse_conf.c:1031-0 parse state=1 pass=1 got token=T_IDENTIFIER
bconsole: parse_conf.c:1087-0 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:1093-0 calling handler for Name
bconsole: lex.c:307-0 fget line=7   DIRport = 9101
bconsole: parse_conf.c:1031-0 parse state=1 pass=1 got token=T_IDENTIFIER
bconsole: parse_conf.c:1087-0 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:1093-0 calling handler for DirPort
bconsole: lex.c:307-0 fget line=8 #  address = Erik-PC.epolan.dk
bconsole: parse_conf.c:1031-0 parse state=1 pass=1 got token=T_EOL
bconsole: lex.c:307-0 fget line=9   address = 192.168.1.45
bconsole: parse_conf.c:1031-0 parse state=1 pass=1 got token=T_IDENTIFIER
bconsole: parse_conf.c:1087-0 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:1093-0 calling handler for Address
bconsole: lex.c:307-0 fget line=10   Password =
"xGQd+b22P5rzX9espVGUetBjOrX8czfvzRqQ1cEwz0FT" bconsole: parse_conf.c:1031-0 
parse
state=1 pass=1 got token=T_IDENTIFIER bconsole: parse_conf.c:1087-0 in T_IDENT 
got
token=T_EQUALS bconsole: parse_conf.c:1093-0 calling handler for Password
bconsole: lex.c:307-0 fget line=11 }
bconsole: parse_conf.c:1031-0 parse state=1 pass=1 got token=T_EOB
bconsole: parse_conf.c:1112-0 T_EOB => define new resource
bconsole: parse_conf.c:215-0 Inserted res: epo-dir index=1
bconsole: parse_conf.c:1031-0 parse state=0 pass=1 got token=T_EOL
bconsole: parse_conf.c:1005-0 parse_config pass 2
bconsole: lex.c:252-0 Open config file: /etc/bacula/bconsole.conf
bconsole: lex.c:307-0 fget line=1 #
bconsole: parse_conf.c:1031-0 parse state=0 pass=2 got token=T_EOL
bconsole: lex.c:307-0 fget line=2 # Bacula User Agent (or Console) 
Configuration File
bconsole: parse_conf.c:1031-0 parse state=0 pass=2 got token=T_EOL
bconsole: lex.c:307-0 fget line=3 #
bconsole: parse_conf.c:1031-0 parse state=0 pass=2 got token=T_EOL
bconsole: lex.c:307-0 fget line=4 
bconsole: parse_conf.c:1031-0 parse state=0 pass=2 got token=T_EOL
bconsole: lex.c:307-0 fget line=5 Director {
bconsole: parse_conf.c:1031-0 parse state=0 pass=2 got token=T_IDENTIFIER
bconsole: parse_conf.c:234-0 Item=Name def=no defval=0
bconsole: parse_conf.c:234-0 Item=Description def=no defval=0
bconsole: parse_conf.c:234-0 Item=DirPort def=yes defval=9101
bconsole: parse_conf.c:234-0 Item=Address def=no defval=0
bconsole: parse_conf.c:234-0 Item=Password def=no defval=0
bconsole: parse_conf.c:234-0 Item=TlsAuthenticate def=no defval=0
bconsole: parse_conf.c:234-0 Item=TlsEnable def=no defval=0
bconsole: parse_conf.c:234-0 Item=TlsRequire def=no defval=0
bconsole: parse_conf.c:234-0 Item=TlsCaCertificateFile def=no defval=0
bconsole: parse_conf.c:234-0 Item=TlsCaCertificateDir def=no defval=0
bconsole: parse_conf.c:234-0 Item=TlsCertificate def=no defval=0
bconsole: parse_conf.c:234-0 Item=TlsKey def=no defval=0
bconsole: parse_conf.c:234-0 Item=HeartbeatInterval def=yes defval=300
bconsole: parse_conf.c:1031-0 parse state=1 pass=2 got token=T_BOB
bconsole: parse_conf.c:1031-0 parse state=1 pass=2 got token=T_EOL
bconsole: lex.c:307-0 fget line=6   Name = epo-dir
bconsole: parse_conf.c:1031-0 parse state=1 pass=2 got token=T_IDENTIFIER
bconsole: parse_conf.c:1087-0 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:1093-0 calling handler for Name
bconsole: lex.c:307-0 fget line=7   DIRport = 9101
bconsole: parse_conf.c:1031-0 parse state=1 pass=2 got token=T_IDENTIFIER
bconsole: parse_conf.c:1087-0 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:1093-0 calling handler for DirPort
bconsole: lex.c:307-0 fget line=8 #  address = Erik-PC.epolan.dk
bconsole: parse_conf.c:1031-0 parse state=1 pass=2 got token=T_EOL
bconsole: lex.c:307-0 fget line=9   address = 192.168.1.45
bconsole: parse_conf.c:1031-0 parse state=1 pass=2 got token=T_IDENTIFIER
bconsole: parse_conf.c:1087-0 in T_IDENT got token=T_EQUALS
bconsole: parse_conf.c:1093-0 calling handler for Address
bconsole: lex.c:307-0 fget line=10   Password =
"xGQd+b22P5rzX9espVGUetBjOrX8czfvzRqQ1cEwz0FT" bconsole: parse_conf.c:1031-0 
parse
state=1 pass=2 got token=T_IDENTIFIER bconsole: parse_conf.c:1087-0 in T_IDENT 
got
token=T_EQUALS bconsole: parse_conf.c:1093-0 calling handler for Password
bconsole: lex.c:307-0 fget line=11 }
bconsole: parse_conf.c:1031-0 parse state=1 pass=2 got token=T_EOB
bconsole: parse_conf.c:1112-0 T_EOB => define new resource
bconsole: parse_conf.c:1031-0 parse state=0 pass=2 got token=T_EOL
Director: name=epo-dir address=192.168.1.45 DIRport=9101
bconsole: parse_conf.c:1149-0 Leave parse_config()
bconsole: watchdog.c:82-0 Initialising NicB-hacked watchdog thread
Connecting to Director 192.168.1.45:9101
bconsole: watchdog.c:196-0 Registered watchdog 560dbc605aa8, interval 15 one 
shot
bconsole: watchdog.c:254-0 NicB-reworked watchdog thread entered
bconsole: btimers.c:145-0 Start thread timer 560dbc608348 tid 7fb42d857540 for 
15 secs.
bconsole: bsockcore.c:297-0 Current 192.168.1.45:9101 All 192.168.1.45:9101 
bconsole: bsockcore.c:383-0 Could not connect to server Director daemon
192.168.1.45:9101. ERR=Opkobling nægtet bconsole: bsockcore.c:196-0 Unable to 
connect to
Director daemon on 192.168.1.45:9101. ERR=Opkobling nægtet

All thoughts highly appreciated.

-- 
Erik P. Olsen - Copenhagen, Denmark
Fedora 30/64 bit Linux xfce Claws-Mail POP3 Gramps 5.1.1 Bacula 9.4.4

On 2019-12-05 at 12:45:03 Erik P. Olsen wrote:

> Running bconsole I get the following error messages:
> 
> bconsole: bsockcore.c:383-0 Could not connect to server Director daemon
> 192.168.1.45:9101. ERR=Opkobling nægtet bconsole: bsockcore.c:196-0 Unable to 
> connect
> to Director daemon on 192.168.1.45:9101. ERR=Opkobling nægtet
> 
> Error message in English says Connection denied.
 


-- 
Erik P. Olsen - Copenhagen, Denmark
Fedora 30/64 bit Linux xfce Claws-Mail POP3 Gramps 5.1.1 Bacula 9.4.4


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

Reply via email to